summaryrefslogtreecommitdiff
path: root/core/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-22 00:48:39 +0800
committerruki <[email protected]>2020-04-21 22:51:59 +0800
commit93517f4cdc94a028399db7d642d7332338cc8363 (patch)
tree36415a1c67860f82e2a5df38ef42bd0f4df331cf /core/xmake.lua
parent4dbc3cce61a2d848e92d7d9327fb0f2b81d36d57 (diff)
improve core/xmake.lua
Diffstat (limited to 'core/xmake.lua')
-rw-r--r--core/xmake.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/xmake.lua b/core/xmake.lua
index 87e9bdc1f..e8625612e 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -53,6 +53,15 @@ option("curses")
add_defines("XM_CONFIG_API_HAVE_CURSES")
option_end()
+-- the pdcurses option
+option("pdcurses")
+ set_default(true)
+ set_showmenu(true)
+ set_description("Enable or disable pdcurses library")
+ add_defines("PDCURSES")
+ add_defines("XM_CONFIG_API_HAVE_CURSES")
+option_end()
+
-- only build xmake libraries for development?
option("onlylib")
set_default(false)