2013-05-25 00:51:02 +02:00
|
|
|
add_subdirectory(common)
|
|
|
|
add_subdirectory(cpp_api)
|
|
|
|
add_subdirectory(lua_api)
|
|
|
|
|
2013-08-11 04:09:45 +02:00
|
|
|
# Used by server and client
|
2017-01-21 15:02:08 +01:00
|
|
|
set(common_SCRIPT_SRCS
|
2017-04-25 19:38:08 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/scripting_server.cpp
|
2013-08-11 04:09:45 +02:00
|
|
|
${common_SCRIPT_COMMON_SRCS}
|
|
|
|
${common_SCRIPT_CPP_API_SRCS}
|
|
|
|
${common_SCRIPT_LUA_API_SRCS}
|
|
|
|
PARENT_SCOPE)
|
|
|
|
|
|
|
|
# Used by client only
|
2017-01-21 15:02:08 +01:00
|
|
|
set(client_SCRIPT_SRCS
|
2013-08-11 04:09:45 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/scripting_mainmenu.cpp
|
2017-04-25 19:38:08 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/scripting_client.cpp
|
2015-02-28 00:05:29 +01:00
|
|
|
${client_SCRIPT_COMMON_SRCS}
|
|
|
|
${client_SCRIPT_CPP_API_SRCS}
|
|
|
|
${client_SCRIPT_LUA_API_SRCS}
|
2013-05-25 00:51:02 +02:00
|
|
|
PARENT_SCOPE)
|
2015-02-28 00:05:29 +01:00
|
|
|
|