Files
NazaraEngine/thirdparty/build/lua.lua
ImperatorS79 ee3b5347b8 Add a define on POSIX system for lua to silence a warning about tmpname vs mkstmp
Since the define LUA_USE_MACOSX and LUA_USE_LINUX seems to lead to the same subdefine it will do the job
2020-07-14 18:47:03 +02:00

19 lines
360 B
Lua

LIBRARY.Name = "lua"
LIBRARY.Language = "C++" -- Compile as C++ to make Lua use exceptions instead of SJLJ
LIBRARY.Files = {
"../thirdparty/include/Lua/*.h",
"../thirdparty/include/Lua/*.hpp",
"../thirdparty/src/Lua/*.h",
"../thirdparty/src/Lua/*.cpp"
}
LIBRARY.OsDefines.Windows = {
"LUA_USE_WINDOWS"
}
LIBRARY.OsDefines.Posix = {
"LUA_USE_LINUX"
}