mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-03 01:07:47 +00:00
16 lines
493 B
Text
16 lines
493 B
Text
![]() |
cmake_minimum_required(VERSION 2.6)
|
||
|
cmake_policy(SET CMP0015 NEW)
|
||
|
project(Tool_ActionParse)
|
||
|
|
||
|
file(GLOB SERVER_PUBLIC_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*")
|
||
|
file(GLOB SERVER_SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}*.c*")
|
||
|
|
||
|
add_executable( action_parse ${SERVER_PUBLIC_INCLUDE_FILES} ${SERVER_SOURCE_FILES})
|
||
|
|
||
|
if (UNIX)
|
||
|
target_link_libraries( action_parse common xivdat pthread mysqlclient dl z stdc++fs )
|
||
|
else()
|
||
|
target_link_libraries( action_parse common xivdat mysql zlib)
|
||
|
endif()
|
||
|
|