DarkflameServer/dAuthServer/CMakeLists.txt
2024-12-19 22:34:32 +00:00

13 lines
365 B
CMake

if (WIN32 AND LOCAL_SERVER)
add_library(AuthServer SHARED "AuthServer.cpp")
else()
add_executable(AuthServer "AuthServer.cpp")
endif()
target_link_libraries(AuthServer ${COMMON_LIBRARIES} dServer)
target_include_directories(AuthServer PRIVATE ${PROJECT_SOURCE_DIR}/dServer)
add_compile_definitions(AuthServer PRIVATE PROJECT_VERSION="\"${PROJECT_VERSION}\"")