  
 project "vorbis"
  -- NOTE: Unlike the official libvorbis, we built everything into a single library instead of the vorbis, vorbisenc, vorbisfile split.
  uuid "b544dcb7-16e5-41bc-b51b-7ead8cfdfa05"
  language "C"
  location ( "../../build/" .. mpt_projectpathname .. "-ext" )
  objdir "../../build/obj/vorbis"
  dofile "../../build/premake/premake-defaults-LIBorDLL.lua"
  dofile "../../build/premake/premake-defaults.lua"
  dofile "../../build/premake/premake-defaults-winver.lua"
  targetname "openmpt-vorbis"
  includedirs {
   "../../include/ogg/include",
   "../../include/vorbis/include",
   "../../include/vorbis/lib",
  }
  characterset "MBCS"
  files {
   "../../include/vorbis/include/vorbis/codec.h",
   "../../include/vorbis/include/vorbis/vorbisenc.h",
   "../../include/vorbis/include/vorbis/vorbisfile.h",
  }
  files {
   "../../include/vorbis/lib/analysis.c",
   "../../include/vorbis/lib/backends.h",
   "../../include/vorbis/lib/barkmel.c",
   "../../include/vorbis/lib/bitrate.c",
   "../../include/vorbis/lib/bitrate.h",
   "../../include/vorbis/lib/block.c",
   "../../include/vorbis/lib/codebook.c",
   "../../include/vorbis/lib/codebook.h",
   "../../include/vorbis/lib/codec_internal.h",
   "../../include/vorbis/lib/envelope.c",
   "../../include/vorbis/lib/envelope.h",
   "../../include/vorbis/lib/floor0.c",
   "../../include/vorbis/lib/floor1.c",
   "../../include/vorbis/lib/highlevel.h",
   "../../include/vorbis/lib/info.c",
   "../../include/vorbis/lib/lookup.c",
   "../../include/vorbis/lib/lookup.h",
   "../../include/vorbis/lib/lookup_data.h",
   "../../include/vorbis/lib/lpc.c",
   "../../include/vorbis/lib/lpc.h",
   "../../include/vorbis/lib/lsp.c",
   "../../include/vorbis/lib/lsp.h",
   "../../include/vorbis/lib/mapping0.c",
   "../../include/vorbis/lib/masking.h",
   "../../include/vorbis/lib/mdct.c",
   "../../include/vorbis/lib/mdct.h",
   "../../include/vorbis/lib/misc.h",
   "../../include/vorbis/lib/os.h",
   "../../include/vorbis/lib/psy.c",
   "../../include/vorbis/lib/psy.h",
   -- "../../include/vorbis/lib/psytune.c",
   "../../include/vorbis/lib/registry.c",
   "../../include/vorbis/lib/registry.h",
   "../../include/vorbis/lib/res0.c",
   "../../include/vorbis/lib/scales.h",
   "../../include/vorbis/lib/sharedbook.c",
   "../../include/vorbis/lib/smallft.c",
   "../../include/vorbis/lib/smallft.h",
   "../../include/vorbis/lib/synthesis.c",
   -- "../../include/vorbis/lib/tone.c",
   "../../include/vorbis/lib/vorbisenc.c",
   "../../include/vorbis/lib/vorbisfile.c",
   "../../include/vorbis/lib/window.c",
   "../../include/vorbis/lib/window.h",
   "../../include/vorbis/lib/books/coupled/res_books_51.h",
   "../../include/vorbis/lib/books/coupled/res_books_stereo.h",
   "../../include/vorbis/lib/books/floor/floor_books.h",
   "../../include/vorbis/lib/books/uncoupled/res_books_uncoupled.h",
   "../../include/vorbis/lib/modes/floor_all.h",
   "../../include/vorbis/lib/modes/psych_8.h",
   "../../include/vorbis/lib/modes/psych_11.h",
   "../../include/vorbis/lib/modes/psych_16.h",
   "../../include/vorbis/lib/modes/psych_44.h",
   "../../include/vorbis/lib/modes/residue_8.h",
   "../../include/vorbis/lib/modes/residue_16.h",
   "../../include/vorbis/lib/modes/residue_44.h",
   "../../include/vorbis/lib/modes/residue_44p51.h",
   "../../include/vorbis/lib/modes/residue_44u.h",
   "../../include/vorbis/lib/modes/setup_8.h",
   "../../include/vorbis/lib/modes/setup_11.h",
   "../../include/vorbis/lib/modes/setup_16.h",
   "../../include/vorbis/lib/modes/setup_22.h",
   "../../include/vorbis/lib/modes/setup_32.h",
   "../../include/vorbis/lib/modes/setup_44.h",
   "../../include/vorbis/lib/modes/setup_44p51.h",
   "../../include/vorbis/lib/modes/setup_44u.h",
   "../../include/vorbis/lib/modes/setup_X.h",
  }
  buildoptions { "/wd4101", "/wd4244", "/wd4267" }
  links { "ogg" }
  filter {}
  filter { "kind:SharedLib" }
   files { "../../build/premake/def/ext-vorbis.def" }
  filter {}

-- project "vorbisenc"
--  uuid "81e695e1-4a3d-42ab-b790-7f4876c79358"
--  language "C"
--  location ( "../../build/" .. mpt_projectpathname .. "-ext" )
--  objdir "../../build/obj/vorbisenc"
--  dofile "../../build/premake/premake-defaults-LIB.lua"
--  dofile "../../build/premake/premake-defaults.lua"
--  includedirs {
--   "../../include/ogg/include",
--   "../../include/vorbis/include",
--  }
--  characterset "MBCS"
--  files {
--   "../../include/vorbis/include/vorbis/codec.h",
--   "../../include/vorbis/include/vorbis/vorbisenc.h",
--  }
--  files {
--   "../../include/vorbis/lib/vorbisenc.c",
--  }
--  links { "vorbis" }
--  buildoptions { "/wd4101", "/wd4244", "/wd4267" }
  
-- project "vorbisfile"
--  uuid "a368afd6-cdda-4e65-8829-94f4a237a977"
--  language "C"
--  location ( "../../build/" .. mpt_projectpathname .. "-ext" )
--  objdir "../../build/obj/vorbisfile"
--  dofile "../../build/premake/premake-defaults-LIB.lua"
--  dofile "../../build/premake/premake-defaults.lua"
--  includedirs {
--   "../../include/ogg/include",
--   "../../include/vorbis/include",
--  }
--  characterset "MBCS"
--  files {
--   "../../include/vorbis/include/vorbis/codec.h",
--   "../../include/vorbis/include/vorbis/vorbisfile.h",
--  }
--  files {
--   "../../include/vorbis/lib/vorbisfile.c",
--  }
--  links { "ogg", "vorbis" }
--  buildoptions { "/wd4101", "/wd4244", "/wd4267" }
