summaryrefslogtreecommitdiff
path: root/xmake/languages/c++/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-01-31 22:41:02 +0800
committerruki <[email protected]>2018-01-31 10:06:15 +0800
commitb3e5b85cc8c74d934eaa437f00523284b773d4cc (patch)
tree80c5ca2c740bc50e2143343486e4cdf3e4f87886 /xmake/languages/c++/xmake.lua
parent0389a6137f4aa879433d83cf4e7aa7c309caa5e8 (diff)
add category to language menu
Diffstat (limited to 'xmake/languages/c++/xmake.lua')
-rw-r--r--xmake/languages/c++/xmake.lua15
1 files changed, 6 insertions, 9 deletions
diff --git a/xmake/languages/c++/xmake.lua b/xmake/languages/c++/xmake.lua
index 863374e05..35ed72825 100644
--- a/xmake/languages/c++/xmake.lua
+++ b/xmake/languages/c++/xmake.lua
@@ -147,25 +147,22 @@ language("c++")
set_menu {
config =
{
- { }
+ {category = "Compiler and Linker Configuration" }
, {nil, "cc", "kv", nil, "The C Compiler" }
, {nil, "cxx", "kv", nil, "The C++ Compiler" }
+ , {nil, "ld", "kv", nil, "The Linker" }
+ , {nil, "ar", "kv", nil, "The Static Library Linker" }
+ , {nil, "sh", "kv", nil, "The Shared Library Linker" }
+
+ , {category = "Compiler and Linker Flags Configuration" }
, {nil, "cflags", "kv", nil, "The C Compiler Flags" }
, {nil, "cxflags", "kv", nil, "The C/C++ compiler Flags" }
, {nil, "cxxflags", "kv", nil, "The C++ Compiler Flags" }
, { }
- , {nil, "ld", "kv", nil, "The Linker" }
, {nil, "ldflags", "kv", nil, "The Binary Linker Flags" }
-
- , { }
- , {nil, "ar", "kv", nil, "The Static Library Linker" }
, {nil, "arflags", "kv", nil, "The Static Library Linker Flags" }
-
- , { }
- , {nil, "sh", "kv", nil, "The Shared Library Linker" }
, {nil, "shflags", "kv", nil, "The Shared Library Linker Flags" }
-
, { }
, {nil, "links", "kv", nil, "The Link Libraries" }
, {nil, "linkdirs", "kv", nil, "The Link Search Directories" }