2013-05-24 15:51:02 -07:00
|
|
|
add_subdirectory(common)
|
|
|
|
add_subdirectory(cpp_api)
|
|
|
|
add_subdirectory(lua_api)
|
|
|
|
|
2013-08-10 19:09:45 -07:00
|
|
|
# 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}
|
2013-05-24 15:51:02 -07:00
|
|
|
PARENT_SCOPE)
|