diff options
| author | ruki <[email protected]> | 2015-05-13 22:05:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-05-13 22:05:42 +0800 |
| commit | 74ece0defa314bab78262d95bee517bdc09df689 (patch) | |
| tree | 950684880d0193e60956a9b695cab50861208ff4 /tests/console/xmake.lua | |
| parent | 1f45e3bf9b41a413804305fc23810639b977a9f1 (diff) | |
add preprocessor and update tbox
Diffstat (limited to 'tests/console/xmake.lua')
| -rw-r--r-- | tests/console/xmake.lua | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/tests/console/xmake.lua b/tests/console/xmake.lua deleted file mode 100644 index 41784520e..000000000 --- a/tests/console/xmake.lua +++ /dev/null @@ -1,64 +0,0 @@ - -project "console" ---[[ - - target "hello1" - kind "static" - files "src/hello1/*.c" - - target "hello2" - kind "shared" - files "$(projectdir)/src/hello2/*.c" - - target "hello3" - kind "static" - files "src/hello3/*.c" - headers "src/hello3/*.h" - headerdir "$(buildir)/inc" - targetdir "$(buildir)/lib" - objectdir "$(buildir)/obj" - - target "demo_c" - kind "console" - deps "hello1" - files "src/demo/*.c" - links "hello1" - linkdirs "src/hello1" - includedirs "src/hello1" - cflags "-DHELLO1" - - target "demo_cpp" - kind "console" - deps "hello2" - files "src/demo/*.cpp" - links "hello2" - linkdirs "src/hello2" - includedirs "src/hello2" - cxxflags "-DHELLO1" - - target "demo_objc" - kind "console" - deps "hello3" - files "src/demo/*.m" - links "hello3" - linkdirs "$(buildir)/lib" - includedirs "$(buildir)/inc" - mflags "-DHELLO3" - - target "demo_objcpp" - kind "console" - deps "hello3" - files "src/demo/*.mm" - mxflags "-DHELLO3" - ldflags { "-lhello3", "-L$(buildir)/lib" } - - plarforms "linux" - defines "PLAT=linux" - - plarforms "windows" - defines "PLAT=windows" - - plarforms { "macosx", "ios" } - ldflags { "-framework Cocoa", "-framework IOKit" } - -]] |
