mirror of
https://github.com/minetest/minetest.git
synced 2024-11-24 00:23:46 +01:00
22 lines
542 B
CMake
22 lines
542 B
CMake
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_server.cpp
|
|
${common_SCRIPT_COMMON_SRCS}
|
|
${common_SCRIPT_CPP_API_SRCS}
|
|
${common_SCRIPT_LUA_API_SRCS}
|
|
PARENT_SCOPE)
|
|
|
|
# Used by client only
|
|
set(client_SCRIPT_SRCS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/scripting_mainmenu.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/scripting_client.cpp
|
|
${client_SCRIPT_COMMON_SRCS}
|
|
${client_SCRIPT_CPP_API_SRCS}
|
|
${client_SCRIPT_LUA_API_SRCS}
|
|
PARENT_SCOPE)
|
|
|