diff options
Diffstat (limited to 'tests/c++_static_library/xmake.lua')
| -rwxr-xr-x | tests/c++_static_library/xmake.lua | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/tests/c++_static_library/xmake.lua b/tests/c++_static_library/xmake.lua deleted file mode 100755 index c57927a5d..000000000 --- a/tests/c++_static_library/xmake.lua +++ /dev/null @@ -1,50 +0,0 @@ --- the debug mode -if is_mode("debug") then - - -- enable the debug symbols - set_symbols("debug") - - -- disable optimization - set_optimize("none") -end - --- the release mode -if is_mode("release") then - - -- set the symbols visibility: hidden - set_symbols("hidden") - - -- enable fastest optimization - set_optimize("fastest") - - -- strip all symbols - set_strip("all") -end - --- add target -target("cpp_static_library") - - -- set kind - set_kind("static") - - -- add files - add_files("src/interface.cpp") - --- add target -target("test") - - -- set kind - set_kind("binary") - - -- add deps - add_deps("cpp_static_library") - - -- add files - add_files("src/test.cpp") - - -- add links - add_links("cpp_static_library") - - -- add link directory - add_linkdirs("$(buildir)") - |
