summaryrefslogtreecommitdiff
path: root/tests/projects/mdk/hello/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/mdk/hello/xmake.lua')
-rw-r--r--tests/projects/mdk/hello/xmake.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/projects/mdk/hello/xmake.lua b/tests/projects/mdk/hello/xmake.lua
new file mode 100644
index 000000000..97d640297
--- /dev/null
+++ b/tests/projects/mdk/hello/xmake.lua
@@ -0,0 +1,12 @@
+add_rules("mode.debug", "mode.release")
+
+target("foo")
+ add_rules("mdk.static")
+ add_files("src/foo/*.c")
+
+target("hello")
+ add_deps("foo")
+ add_rules("mdk.console")
+ add_files("src/*.c", "src/*.s")
+ add_defines("__EVAL", "__MICROLIB")
+ add_includedirs("src/lib/cmsis")