diff options
| author | ruki <[email protected]> | 2017-01-11 09:20:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-01-11 09:20:37 +0800 |
| commit | 1be86fced4accecba8f00b903610a42dbd32f33a (patch) | |
| tree | 8937a8407b1b4106aadff5bc441ac97a9e6a3e4e /xmake/languages/c++ | |
| parent | 6ee204e38815d742b5594c22f2646647d7658a48 (diff) | |
add language menu
Diffstat (limited to 'xmake/languages/c++')
| -rwxr-xr-x | xmake/languages/c++/xmake.lua | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/xmake/languages/c++/xmake.lua b/xmake/languages/c++/xmake.lua index 594dcb2c9..1a19aa3be 100755 --- a/xmake/languages/c++/xmake.lua +++ b/xmake/languages/c++/xmake.lua @@ -37,6 +37,34 @@ language("c++") -- on check_main on_check_main("check_main") + -- set menu + set_menu({ + config = + { + {} + , {nil, "cc", "kv", nil, "The C Compiler" } + , {nil, "cxx", "kv", nil, "The C++ Compiler" } + , {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, "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" } + , {nil, "includedirs","kv", nil, "The Include Search Directories" } + } + }) + + + |
