mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-14 19:49:51 +00:00
26 lines
936 B
Text
26 lines
936 B
Text
|
FILE(GLOB SRC *.cpp *.h)
|
||
|
|
||
|
ADD_EXECUTABLE(nl_sample_pacs ${SRC})
|
||
|
|
||
|
ADD_DEFINITIONS(-DNL_PACS_DATA="\\"${NL_SHARE_PREFIX}/nl_sample_pacs/\\"")
|
||
|
|
||
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||
|
TARGET_LINK_LIBRARIES(nl_sample_pacs ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc nelpacs nel3d)
|
||
|
IF(WIN32)
|
||
|
SET_TARGET_PROPERTIES(nl_sample_pacs PROPERTIES
|
||
|
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
||
|
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
||
|
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
|
||
|
PROJECT_LABEL "Samples: PACS")
|
||
|
ENDIF(WIN32)
|
||
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||
|
|
||
|
INSTALL(TARGETS nl_sample_pacs RUNTIME DESTINATION bin COMPONENT samplespacs)
|
||
|
INSTALL(FILES readme.txt DESTINATION share/nel/nl_sample_pacs COMPONENT samplespacs)
|
||
|
INSTALL(DIRECTORY shapes/
|
||
|
DESTINATION share/nel/nl_sample_pacs/shapes
|
||
|
COMPONENT samplespacs
|
||
|
PATTERN "CVS" EXCLUDE
|
||
|
PATTERN ".svn" EXCLUDE
|
||
|
PATTERN "Makefile*" EXCLUDE)
|