diff options
| author | OpportunityLiu <[email protected]> | 2019-06-08 13:34:02 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-06-08 13:34:02 +0800 |
| commit | 1af88102687e493cab40e62b0a2b8b7d42417ae6 (patch) | |
| tree | 272a80b424e68024a9ecda138159864d9659fe5a /core/src/demo/xmake.lua | |
| parent | e165a8e43abed4eb2eca64c3b5adefb57cd65600 (diff) | |
improve test lib
Diffstat (limited to 'core/src/demo/xmake.lua')
| -rw-r--r-- | core/src/demo/xmake.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/src/demo/xmake.lua b/core/src/demo/xmake.lua index 3184c0240..fd4abbe1f 100644 --- a/core/src/demo/xmake.lua +++ b/core/src/demo/xmake.lua @@ -20,22 +20,22 @@ target("demo") add_includedirs("$(projectdir)", "$(projectdir)/src") -- add the common source files - add_files("**.c") - + add_files("**.c") + -- add the resource files (it will be enabled after publishing new version) if is_plat("windows") then add_files("*.rc") end - + -- add links if is_plat("windows") then - add_links("ws2_32", "advapi32") - elseif is_plat("android") then - add_links("m", "c") + add_links("ws2_32", "advapi32") + elseif is_plat("android") then + add_links("m", "c") elseif is_plat("macosx") then add_ldflags("-all_load", "-pagezero_size 10000", "-image_base 100000000") else - add_links("pthread", "dl", "m", "c") + add_links("pthread", "dl", "m", "c") end -- copy target to the build directory |
