summaryrefslogtreecommitdiff
path: root/src/script/cpp_api/CMakeLists.txt
blob: b753eda17ecb16467815d8a8e226c5374459df73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Used by server and client
set(common_SCRIPT_CPP_API_SRCS
	${CMAKE_CURRENT_SOURCE_DIR}/s_base.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/s_entity.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/s_env.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/s_inventory.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/s_item.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/s_node.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/s_nodemeta.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/s_player.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/s_server.cpp
	PARENT_SCOPE)

# Used by client only
set(minetest_SCRIPT_CPP_API_SRCS
	${CMAKE_CURRENT_SOURCE_DIR}/s_mainmenu.cpp
	PARENT_SCOPE)