forked from Mirrorlandia_minetest/minetest
2efae3ffd7
* rename GameScripting to ServerScripting * Make getBuiltinLuaPath static serverside * Add on_shutdown callback * Add on_receiving_chat_message & on_sending_chat_message callbacks * ScriptApiBase: use IGameDef instead of Server This permits to share common attribute between client & server * Enable mod security in client side modding without conditions
20 lines
639 B
CMake
20 lines
639 B
CMake
set(common_SCRIPT_CPP_API_SRCS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/s_async.cpp
|
|
${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_security.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/s_server.cpp
|
|
PARENT_SCOPE)
|
|
|
|
set(client_SCRIPT_CPP_API_SRCS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/s_client.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/s_mainmenu.cpp
|
|
PARENT_SCOPE)
|
|
|