khanat-opennel-code/code/snowballs2/server/frontend/src/CMakeLists.txt

17 lines
497 B
CMake

FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(snowballs_frontend_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(snowballs_frontend_service
${LIBXML2_LIBRARIES}
nelmisc
nelnet)
NL_DEFAULT_PROPS(snowballs_frontend_service "Snowballs, Services: Frontend Service")
NL_ADD_RUNTIME_FLAGS(snowballs_frontend_service)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS snowballs_frontend_service RUNTIME DESTINATION sbin COMPONENT services)