add lua.hpp for c++ easy to use (#1982)

pull/1985/head
guijiyang 2 years ago committed by GitHub
parent a8c58de42f
commit 70544de1f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/l/lua/xmake.lua

@ -61,6 +61,7 @@ package("lua")
set_kind(kind)
set_basename("lua")
add_headerfiles(sourcedir .. "*.h", {prefixdir = "lua"})
add_headerfiles(sourcedir .. "lua.hpp", {prefixdir = "lua"})
add_files(sourcedir .. "*.c|lua.c|luac.c|onelua.c")
add_defines("LUA_COMPAT_5_2", "LUA_COMPAT_5_1")
if is_plat("linux", "bsd", "cross") then

Loading…
Cancel
Save