mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-22 08:58:43 +00:00
14 lines
727 B
CMake
14 lines
727 B
CMake
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
ADD_EXECUTABLE(sno_collision ${SRC})
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NELMISC_INCLUDE_DIRS} ${PNG_INCLUDE_DIR} ${FREETYPE_INCLUDE_DIRS} ${JPEG_INCLUDE_DIR})
|
|
TARGET_LINK_LIBRARIES(sno_collision ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${PNG_LIBRARIES} ${FREETYPE_LIBRARY} ${JPEG_LIBRARY} ${NELMISC_LIBRARY} ${NELNET_LIBRARY} ${NELPACS_LIBRARY} ${NEL3D_LIBRARY} ${FREETYPE_LIBRARY})
|
|
IF(WIN32)
|
|
SET_TARGET_PROPERTIES(sno_collision PROPERTIES
|
|
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
|
PROJECT_LABEL "Services: Snowballs Collision")
|
|
ENDIF(WIN32)
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
INSTALL(TARGETS sno_collision RUNTIME DESTINATION sbin COMPONENT services)
|