summaryrefslogtreecommitdiff
path: root/xmake/templates/rust/static_library/template.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-02-28 10:18:42 +0800
committerruki <[email protected]>2017-02-28 10:18:42 +0800
commitd5145e76c8ef2480dbf43ece33925bcd97fe598c (patch)
tree36aacc4636e645209ed52dd2d8638e4c24ff9a09 /xmake/templates/rust/static_library/template.lua
parentfc68d8521d388daa8c6e3a21919feca864f7b741 (diff)
add golang and rust templates
Diffstat (limited to 'xmake/templates/rust/static_library/template.lua')
-rw-r--r--xmake/templates/rust/static_library/template.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/xmake/templates/rust/static_library/template.lua b/xmake/templates/rust/static_library/template.lua
new file mode 100644
index 000000000..fdc5ae91c
--- /dev/null
+++ b/xmake/templates/rust/static_library/template.lua
@@ -0,0 +1,11 @@
+-- set description
+set_description("The Static Library")
+
+-- set project directory
+set_projectdir("project")
+
+-- add macros
+add_macros("targetname", "$(targetname)")
+
+-- add macro files
+add_macrofiles("xmake.lua")