summaryrefslogtreecommitdiff
path: root/src/script/CMakeLists.txt
blob: 491c05a1eea3b4033f4aa7c177322260f33d7a45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
add_subdirectory(common)
add_subdirectory(cpp_api)
add_subdirectory(lua_api)

# Used by server and client
set(common_SCRIPT_SRCS 
	${CMAKE_CURRENT_SOURCE_DIR}/scripting_game.cpp
	${common_SCRIPT_COMMON_SRCS}
	${common_SCRIPT_CPP_API_SRCS}
	${common_SCRIPT_LUA_API_SRCS}
	PARENT_SCOPE)

# Used by client only
set(minetest_SCRIPT_SRCS 
	${CMAKE_CURRENT_SOURCE_DIR}/scripting_mainmenu.cpp
	${minetest_SCRIPT_COMMON_SRCS}
	${minetest_SCRIPT_CPP_API_SRCS}
	${minetest_SCRIPT_LUA_API_SRCS}
	PARENT_SCOPE)