diff options
Diffstat (limited to 'xmake/templates/c++/static/xmake.lua')
| -rw-r--r-- | xmake/templates/c++/static/xmake.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xmake/templates/c++/static/xmake.lua b/xmake/templates/c++/static/xmake.lua new file mode 100644 index 000000000..2c15d36e8 --- /dev/null +++ b/xmake/templates/c++/static/xmake.lua @@ -0,0 +1,12 @@ +add_rules("mode.debug", "mode.release") + +target("foo") + set_kind("static") + add_files("src/foo.cpp") + +target("${TARGET_NAME}") + set_kind("binary") + add_deps("foo") + add_files("src/main.cpp") + +${FAQ} |
