blob: 6de86afee91696503a0580ad1e94a30eb78f4650 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
add_library( lua STATIC
src/lapi.c
src/lcode.c
src/lctype.c
src/ldebug.c
src/ldo.c
src/ldump.c
src/lfunc.c
src/lgc.c
src/llex.c
src/lmem.c
src/lobject.c
src/lopcodes.c
src/lparser.c
src/lstate.c
src/lstring.c
src/ltable.c
src/ltm.c
src/lundump.c
src/lvm.c
src/lzio.c
src/lauxlib.c
src/lbaselib.c
src/lbitlib.c
src/lcorolib.c
src/ldblib.c
src/liolib.c
src/lmathlib.c
src/loslib.c
src/lstrlib.c
src/ltablib.c
src/lutf8lib.c
src/loadlib.c
src/linit.c
)
if(APPLE)
add_definitions(-DLUA_USE_MACOSX)
endif(APPLE)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
add_definitions(-DLUA_USE_LINUX)
endif()
add_definitions (
-DLUA_COMPAT_5_2
-DNDEBUG
-mfpmath=sse
-ffast-math
)
include_directories (
include
)
|