1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-30 08:07:46 +00:00
sapphire/src/tools/exd_struct_test/CMakeLists.txt

16 lines
503 B
Text
Raw Normal View History

cmake_minimum_required(VERSION 2.6)
cmake_policy(SET CMP0015 NEW)
project(Tool_ExdStructTest)
file(GLOB SERVER_PUBLIC_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*")
file(GLOB SERVER_SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}*.c*")
add_executable(exd_struct_test ${SERVER_PUBLIC_INCLUDE_FILES} ${SERVER_SOURCE_FILES})
if (UNIX)
2018-10-25 12:17:40 +02:00
target_link_libraries (exd_struct_test common xivdat pthread mysqlclient dl z stdc++fs )
else()
2018-10-27 23:30:29 +11:00
target_link_libraries (exd_struct_test common xivdat mysql zlib)
endif()