summaryrefslogtreecommitdiff
path: root/core/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-21 23:45:36 +0800
committerruki <[email protected]>2020-04-21 16:33:40 +0800
commitb043d9eb23c8086aa4f70b060e4041c2971c8bcc (patch)
tree8b7f489ccde3dc45c4da98ef43d8c44718dfc755 /core/xmake.lua
parenta45fd8ca3b63a8fe9c21fdc9a87e71c01054422e (diff)
improve headerfiles in core/xmake.lua
Diffstat (limited to 'core/xmake.lua')
-rw-r--r--core/xmake.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/xmake.lua b/core/xmake.lua
index 590e1f482..7178d8b5e 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -49,6 +49,13 @@ option("curses")
add_defines("XM_CONFIG_API_HAVE_CURSES")
option_end()
+-- only build xmake libraries for development?
+option("onlylib")
+ set_default(false)
+ set_showmenu(true)
+ set_description("Only build xmake libraries for development")
+option_end()
+
-- suppress warnings
if is_plat("windows") then
add_defines("_CRT_SECURE_NO_WARNINGS")