diff options
| author | ruki <[email protected]> | 2017-05-19 21:30:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-05-19 21:32:13 +0800 |
| commit | 03b7d8b955d11895cc15332360eca7b14d6cf58f (patch) | |
| tree | 4aa9b47aa3f1957a0a4343e7b1c4a8357e7018d5 /tests/static_library_c++/xmake.lua | |
| parent | 58e3bad5859530c8316de4b4b7939169cdd2c492 (diff) | |
add projects and modules in tests
Diffstat (limited to 'tests/static_library_c++/xmake.lua')
| -rwxr-xr-x | tests/static_library_c++/xmake.lua | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/tests/static_library_c++/xmake.lua b/tests/static_library_c++/xmake.lua deleted file mode 100755 index 2e3950d4a..000000000 --- a/tests/static_library_c++/xmake.lua +++ /dev/null @@ -1,45 +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("static_library_c++") - - -- 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("static_library_c++") - - -- add files - add_files("src/test.cpp") - - |
