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/luajit.pkg/xmake.lua | |
| parent | 05019549ea769b64a31929b7044e7a53dba97549 (diff) | |
clear xmake config first for install.bat
Diffstat (limited to 'core/pkg/luajit.pkg/xmake.lua')
| -rw-r--r-- | core/pkg/luajit.pkg/xmake.lua | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/core/pkg/luajit.pkg/xmake.lua b/core/pkg/luajit.pkg/xmake.lua new file mode 100644 index 000000000..465bf6cdf --- /dev/null +++ b/core/pkg/luajit.pkg/xmake.lua @@ -0,0 +1,30 @@ +-- add luajit package +option("luajit") + + -- show menu + set_showmenu(true) + + -- set category + set_category("package") + + -- set description + set_description("The luajit 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_LUAJIT") + + -- add links for checking + add_links("luajit") + + -- add link directories + add_linkdirs("lib/$(plat)/$(arch)") + + -- add c includes for checking + add_cincludes("luajit/luajit.h") + + -- add include directories + add_includedirs("inc") + |
