91 lines
2.7 KiB
Lua
91 lines
2.7 KiB
Lua
|
|
project "libopenmpt_test"
|
|
uuid "0A313F63-131E-46A0-931D-23C3A3D488F2"
|
|
language "C++"
|
|
location ( "../../build/" .. mpt_projectpathname )
|
|
vpaths { ["*"] = "../../" }
|
|
mpt_projectname = "libopenmpt_test"
|
|
dofile "../../build/premake/premake-defaults-EXE.lua"
|
|
dofile "../../build/premake/premake-defaults.lua"
|
|
local extincludedirs = {
|
|
"../../include/mpg123/ports/MSVC++",
|
|
"../../include/mpg123/src/libmpg123",
|
|
"../../include/ogg/include",
|
|
"../../include/vorbis/include",
|
|
"../../include/zlib",
|
|
}
|
|
filter { "action:vs*" }
|
|
includedirs ( extincludedirs )
|
|
filter { "not action:vs*" }
|
|
sysincludedirs ( extincludedirs )
|
|
filter {}
|
|
includedirs {
|
|
"../..",
|
|
"../../src",
|
|
"../../common",
|
|
"$(IntDir)/svn_version",
|
|
"../../build/svn_version",
|
|
}
|
|
files {
|
|
"../../src/mpt/**.cpp",
|
|
"../../src/mpt/**.hpp",
|
|
"../../src/openmpt/**.cpp",
|
|
"../../src/openmpt/**.hpp",
|
|
"../../common/*.cpp",
|
|
"../../common/*.h",
|
|
"../../soundlib/*.cpp",
|
|
"../../soundlib/*.h",
|
|
"../../soundlib/plugins/*.cpp",
|
|
"../../soundlib/plugins/*.h",
|
|
"../../soundlib/plugins/dmo/*.cpp",
|
|
"../../soundlib/plugins/dmo/*.h",
|
|
"../../sounddsp/*.cpp",
|
|
"../../sounddsp/*.h",
|
|
"../../test/*.cpp",
|
|
"../../test/*.h",
|
|
"../../libopenmpt/libopenmpt.h",
|
|
"../../libopenmpt/libopenmpt.hpp",
|
|
"../../libopenmpt/libopenmpt_config.h",
|
|
"../../libopenmpt/libopenmpt_ext.h",
|
|
"../../libopenmpt/libopenmpt_ext.hpp",
|
|
"../../libopenmpt/libopenmpt_ext_impl.hpp",
|
|
"../../libopenmpt/libopenmpt_impl.hpp",
|
|
"../../libopenmpt/libopenmpt_internal.h",
|
|
"../../libopenmpt/libopenmpt_stream_callbacks_buffer.h",
|
|
"../../libopenmpt/libopenmpt_stream_callbacks_fd.h",
|
|
"../../libopenmpt/libopenmpt_stream_callbacks_file.h",
|
|
"../../libopenmpt/libopenmpt_version.h",
|
|
"../../libopenmpt/libopenmpt_c.cpp",
|
|
"../../libopenmpt/libopenmpt_cxx.cpp",
|
|
"../../libopenmpt/libopenmpt_ext_impl.cpp",
|
|
"../../libopenmpt/libopenmpt_impl.cpp",
|
|
"../../libopenmpt/libopenmpt_test.cpp",
|
|
}
|
|
excludes {
|
|
"../../src/mpt/crypto/**.cpp",
|
|
"../../src/mpt/crypto/**.hpp",
|
|
"../../src/mpt/json/**.cpp",
|
|
"../../src/mpt/json/**.hpp",
|
|
"../../src/mpt/library/**.cpp",
|
|
"../../src/mpt/library/**.hpp",
|
|
"../../src/mpt/path/**.cpp",
|
|
"../../src/mpt/path/**.hpp",
|
|
"../../src/mpt/uuid_namespace/**.cpp",
|
|
"../../src/mpt/uuid_namespace/**.hpp",
|
|
"../../test/mpt_tests_crypto.cpp",
|
|
"../../test/mpt_tests_uuid_namespace.cpp",
|
|
"../../src/openmpt/sounddevice/**.cpp",
|
|
"../../src/openmpt/sounddevice/**.hpp",
|
|
}
|
|
characterset "Unicode"
|
|
warnings "Extra"
|
|
defines { "LIBOPENMPT_BUILD", "LIBOPENMPT_BUILD_TEST" }
|
|
links {
|
|
"mpg123",
|
|
"ogg",
|
|
"vorbis",
|
|
"zlib",
|
|
}
|
|
filter {}
|
|
prebuildcommands { "..\\..\\build\\svn_version\\update_svn_version_vs_premake.cmd $(IntDir)" }
|