-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
47 lines (44 loc) · 986 Bytes
/
CMakeLists.txt
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
cmake_minimum_required(VERSION 3.22)
project(rlos-cpp-lua VERSION 1.0.0 DESCRIPTION "rlos exercise 2 submission" LANGUAGES C CXX)
add_library(
LuaLibrary STATIC
lua/lapi.c
lua/lauxlib.c
lua/lbaselib.c
lua/lcode.c
lua/lcorolib.c
lua/lctype.c
lua/ldblib.c
lua/ldebug.c
lua/ldo.c
lua/ldump.c
lua/lfunc.c
lua/lgc.c
lua/linit.c
lua/liolib.c
lua/llex.c
lua/lmathlib.c
lua/lmem.c
lua/loadlib.c
lua/lobject.c
lua/lopcodes.c
lua/loslib.c
lua/lparser.c
lua/lstate.c
lua/lstring.c
lua/lstrlib.c
lua/ltable.c
lua/ltablib.c
lua/ltm.c
lua/lua.c
lua/lundump.c
lua/lutf8lib.c
lua/lvm.c
lua/lzio.c
)
set_target_properties(LuaLibrary PROPERTIES FOLDER Libraries/lua)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set(CMAKE_SKIP_BUILD_RPATH FALSE)
set(CMAKE_DEBUG_POSTFIX "")
add_subdirectory(exercise)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})