mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-22 13:33:35 +00:00
13 lines
365 B
CMake
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}\"")
|