CMakeLists.txt 685 Bytes
Newer Older
1
2
# Sources of non-templated classes.

3

4
5
6
FILE(GLOB OTBFeatureExtraction_SRCS "*.cxx" )

ADD_LIBRARY(OTBFeatureExtraction ${OTBFeatureExtraction_SRCS})
7
TARGET_LINK_LIBRARIES (OTBFeatureExtraction OTBCommon)
8

9
10
11
12
13
14
15
16
17
18
19
INSTALL(TARGETS OTBFeatureExtraction
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
LIBRARY DESTINATION ${OTB_INSTALL_LIB_DIR} COMPONENT RuntimeLibraries
ARCHIVE DESTINATION ${OTB_INSTALL_LIB_DIR} COMPONENT Development)

FILE(GLOB __files1 "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
FILE(GLOB __files2 "${CMAKE_CURRENT_SOURCE_DIR}/*.txx")

INSTALL(FILES ${__files1} ${__files2}
    DESTINATION ${OTB_INSTALL_INCLUDE_DIR}/FeatureExtraction
    COMPONENT Development)