summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/demo/xmake.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/demo/xmake.lua b/core/src/demo/xmake.lua
index e373e53f3..3184c0240 100644
--- a/core/src/demo/xmake.lua
+++ b/core/src/demo/xmake.lua
@@ -38,4 +38,8 @@ target("demo")
add_links("pthread", "dl", "m", "c")
end
+ -- copy target to the build directory
+ after_build(function (target)
+ os.cp(target:targetfile(), "$(buildir)")
+ end)