diff options
| author | ruki <[email protected]> | 2016-09-17 21:14:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-09-17 21:14:56 +0800 |
| commit | f6a99c6c8ee94e5b5af4186aad685d8ccfe715fc (patch) | |
| tree | 1d0f1d423742254869c6ca875b97db5f97addd0a /core/pkg/tbox.pkg/xmake.lua | |
| parent | 05019549ea769b64a31929b7044e7a53dba97549 (diff) | |
clear xmake config first for install.bat
Diffstat (limited to 'core/pkg/tbox.pkg/xmake.lua')
| -rw-r--r-- | core/pkg/tbox.pkg/xmake.lua | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/core/pkg/tbox.pkg/xmake.lua b/core/pkg/tbox.pkg/xmake.lua new file mode 100644 index 000000000..b71bbe659 --- /dev/null +++ b/core/pkg/tbox.pkg/xmake.lua @@ -0,0 +1,30 @@ +-- add tbox package +option("tbox") + + -- show menu + set_showmenu(true) + + -- set category + set_category("package") + + -- set description + set_description("The tbox package") + + -- set language: c99, c++11 + set_languages("c99", "cxx11") + + -- add defines to config.h if checking ok + add_defines_h_if_ok("$(prefix)_PACKAGE_HAVE_TBOX") + + -- add links for checking + add_links("tbox") + + -- add link directories + add_linkdirs("lib/$(plat)/$(arch)") + + -- add c includes for checking + add_cincludes("tbox/tbox.h") + + -- add include directories + add_includedirs("inc/$(plat)/$(arch)", "inc") + |
