[53eab2]: src / hugin_cpfind / localfeatures / CMakeLists.txt  Maximize  Restore  History

Download this file

38 lines (31 with data), 1.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# the liblocalfeature library
set (LF_SRC RansacFiltering.cpp Homography.cpp Image.cpp
CircularKeyPointDescriptor.cpp
KeyPointDetector.cpp KeyPointIO.cpp MathStuff.cpp)
set (LF_HEADER BoundedSet.h BoxFilter.h CircularKeyPointDescriptor.h
Homography.h Image.h KeyPoint.h KeyPointDescriptor.h
KeyPointDetector.h KeyPointIO.h MathStuff.h
PointMatch.h RansacFiltering.h Sieve.h WaveFilter.h )
IF (${HUGIN_SHARED_LIBS})
add_library(localfeatures SHARED ${LF_SRC} ${LF_HEADER})
set_target_properties(localfeatures PROPERTIES VERSION ${HUGIN_LIB_VERSION})
IF(WIN32)
install(TARGETS localfeatures RUNTIME DESTINATION ${BINDIR})
ELSEIF(${HUGIN_LIBS_PRIVATE_DIR})
install(TARGETS localfeatures LIBRARY DESTINATION ${LIBDIR}/hugin NAMELINK_SKIP)
ELSE(WIN32)
install(TARGETS localfeatures LIBRARY DESTINATION ${LIBDIR} NAMELINK_SKIP)
ENDIF(WIN32)
ELSE (${HUGIN_SHARED_LIBS})
add_library(localfeatures STATIC ${LF_SRC} ${LF_HEADER})
ENDIF (${HUGIN_SHARED_LIBS})
OPTION (BUILD_KEYPOINTS "Build keypoints program" OFF)
IF(BUILD_KEYPOINTS)
add_executable(keypoints keypoints.cpp)
IF(WIN32)
target_link_libraries(keypoints localfeatures ZThread ${image_libs} ${common_libs})
ELSE(WIN32)
target_link_libraries(keypoints localfeatures ZThread pthread ${image_libs} ${common_libs})
ENDIF(WIN32)
install(TARGETS keypoints DESTINATION ${BINDIR})
ENDIF()

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks