summaryrefslogtreecommitdiff
path: root/core/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-21 23:47:22 +0800
committerruki <[email protected]>2020-04-21 16:44:16 +0800
commit51bd2a30924f4c9f2f8c3562bb84d3e27228518a (patch)
tree5443ec75ed344867723fde4befaa32758d1c198c /core/xmake.lua
parentb043d9eb23c8086aa4f70b060e4041c2971c8bcc (diff)
open curses/readline options
Diffstat (limited to 'core/xmake.lua')
-rw-r--r--core/xmake.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/xmake.lua b/core/xmake.lua
index 7178d8b5e..87e9bdc1f 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -36,6 +36,8 @@ end
-- the readline option
option("readline")
+ set_showmenu(true)
+ set_description("Enable or disable readline library")
add_links("readline")
add_cincludes("readline/readline.h")
add_cfuncs("readline")
@@ -44,6 +46,8 @@ option_end()
-- the curses option
option("curses")
+ set_showmenu(true)
+ set_description("Enable or disable curses library")
add_links("curses")
add_cincludes("curses.h")
add_defines("XM_CONFIG_API_HAVE_CURSES")