forked from 0ad/0ad
remove test_1_run from solution, rename the other test projects.
see http://www.wildfiregames.com/forum/index.php?showtopic=11828 extern_libs.lua: add comment This was SVN commit r6147.
This commit is contained in:
parent
d790210c11
commit
1ec9b00a00
@ -79,6 +79,7 @@ extern_lib_defs = {
|
|||||||
directx = {
|
directx = {
|
||||||
dbg_suffix = "",
|
dbg_suffix = "",
|
||||||
},
|
},
|
||||||
|
-- rationale: see libraries_dir..enet/lib/rationale.txt
|
||||||
enet =
|
enet =
|
||||||
{
|
{
|
||||||
add_func = function()
|
add_func = function()
|
||||||
|
@ -843,7 +843,7 @@ function setup_tests()
|
|||||||
get_all_test_files(source_root, src_files, hdr_files)
|
get_all_test_files(source_root, src_files, hdr_files)
|
||||||
|
|
||||||
|
|
||||||
package_create("test_3_gen", "cxxtestgen")
|
package_create("test_gen", "cxxtestgen")
|
||||||
package.files = hdr_files
|
package.files = hdr_files
|
||||||
package.rootfile = source_root .. "test_root.cpp"
|
package.rootfile = source_root .. "test_root.cpp"
|
||||||
package.testoptions = "--have-std"
|
package.testoptions = "--have-std"
|
||||||
@ -861,9 +861,9 @@ function setup_tests()
|
|||||||
package.testoptions = package.testoptions .. include
|
package.testoptions = package.testoptions .. include
|
||||||
tinsert(package.buildflags, "no-manifest")
|
tinsert(package.buildflags, "no-manifest")
|
||||||
|
|
||||||
package_create("test_2_build", "winexe")
|
package_create("test", "winexe")
|
||||||
links = static_lib_names
|
links = static_lib_names
|
||||||
tinsert(links, "test_3_gen")
|
tinsert(links, "test_gen")
|
||||||
extra_params = {
|
extra_params = {
|
||||||
extra_files = { "test_root.cpp", "test_setup.cpp" },
|
extra_files = { "test_root.cpp", "test_setup.cpp" },
|
||||||
extra_links = links,
|
extra_links = links,
|
||||||
@ -905,10 +905,6 @@ function setup_tests()
|
|||||||
|
|
||||||
tinsert(package.buildflags, "use-library-dep-inputs")
|
tinsert(package.buildflags, "use-library-dep-inputs")
|
||||||
|
|
||||||
package_create("test_1_run", "run")
|
|
||||||
tinsert(package.buildflags, "no-manifest")
|
|
||||||
package.links = { "test_2_build" } -- This determines which project's executable to run
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user