1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-06 02:37:47 +00:00
sapphire/src/world/CMakeLists.txt

46 lines
1.1 KiB
Text
Raw Normal View History

2018-12-13 12:40:42 +01:00
cmake_minimum_required( VERSION 3.0.2 )
cmake_policy( SET CMP0015 NEW )
2018-12-13 12:40:42 +01:00
project( world )
2017-08-08 13:53:47 +02:00
2018-12-13 12:40:42 +01:00
file( GLOB SERVER_SOURCE_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
*.c*
Actor/*.c*
Action/*.c*
DebugCommand/*.c*
Event/*.c*
Inventory/*.c*
Linkshell/*.c*
Manager/*.c*
Math/*.c*
Network/*.c*
Network/Handlers/*.c*
Network/PacketWrappers/*.c*
Script/*.c*
StatusEffect/*.c*
2018-12-01 18:18:29 +11:00
Territory/*.c*
2019-01-20 16:10:48 +01:00
Territory/Housing/*.c*
2019-04-05 13:15:14 +02:00
Util/*.c*
2019-01-20 16:10:48 +01:00
Navi/*.c*)
2017-08-08 13:53:47 +02:00
2018-12-13 12:40:42 +01:00
add_executable( world ${SERVER_SOURCE_FILES} )
2017-08-08 13:53:47 +02:00
2018-12-31 17:30:45 +01:00
set_target_properties( world
PROPERTIES
ENABLE_EXPORTS ON
2019-01-02 11:23:39 +01:00
WINDOWS_EXPORT_ALL_SYMBOLS ON )
2018-03-06 22:22:19 +01:00
2018-12-31 17:30:45 +01:00
target_link_libraries( world
PUBLIC
2019-01-20 16:10:48 +01:00
common
Detour)
2018-12-31 17:30:45 +01:00
target_include_directories( world
PUBLIC
2019-01-20 16:10:48 +01:00
"${CMAKE_CURRENT_SOURCE_DIR}"
Detour )
2018-09-20 23:31:38 +02:00
if( UNIX )
cotire( world )
2018-09-24 09:03:29 -04:00
endif()