2010-11-17 01:03:39 +00:00
|
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
2010-11-07 17:45:35 +00:00
|
|
|
add_definitions(-DLUA_USE_LINUX)
|
2010-11-17 01:03:39 +00:00
|
|
|
endif()
|
2010-11-01 15:47:02 +00:00
|
|
|
|
|
|
|
set(SRCS lapi.c
|
|
|
|
lauxlib.c
|
|
|
|
lbaselib.c
|
|
|
|
lcode.c
|
|
|
|
ldblib.c
|
|
|
|
ldebug.c
|
|
|
|
ldo.c
|
|
|
|
ldump.c
|
|
|
|
lfunc.c
|
|
|
|
lgc.c
|
|
|
|
linit.c
|
|
|
|
liolib.c
|
|
|
|
llex.c
|
|
|
|
lmathlib.c
|
|
|
|
lmem.c
|
|
|
|
loadlib.c
|
|
|
|
lobject.c
|
|
|
|
lopcodes.c
|
|
|
|
loslib.c
|
|
|
|
lparser.c
|
|
|
|
lstate.c
|
|
|
|
lstring.c
|
|
|
|
lstrlib.c
|
|
|
|
ltable.c
|
|
|
|
ltablib.c
|
|
|
|
ltm.c
|
|
|
|
lundump.c
|
|
|
|
lvm.c
|
|
|
|
lzio.c
|
|
|
|
print.c)
|
|
|
|
|
|
|
|
add_library(lua STATIC ${SRCS})
|