27 lines
1,017 B
Text
27 lines
1,017 B
Text
IF (WITH_THERMO)
|
|
find_package(OpenCV REQUIRED)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/3rdparty/cvblob)
|
|
include_directories(${CMAKE_SOURCE_DIR}/include/shapes/)
|
|
include_directories(${CMAKE_SOURCE_DIR}/include/thermo/)
|
|
include_directories(/usr/include/)
|
|
include_directories(/usr/include/opencv)
|
|
|
|
add_executable(caliboard caliboard.cc)
|
|
add_executable(thermo thermo.cc)
|
|
# add_executable(thermo thermo.cc src/cvaux.cpp src/cvblob.cpp src/cvcolor.cpp src/cvcontour.cpp src/cvlabel.cpp src/cvtrack.cpp)
|
|
|
|
IF(UNIX)
|
|
target_link_libraries(caliboard scan shape newmat dl ANN)
|
|
target_link_libraries(thermo scan shape newmat dl ANN)
|
|
target_link_libraries(thermo cv cvaux cxcore GL GLU highgui cvblob scan ANN)
|
|
ENDIF(UNIX)
|
|
|
|
IF (WIN32)
|
|
target_link_libraries(caliboard scan shape newmat XGetopt ANN)
|
|
target_link_libraries(thermo scan shape newmat XGetopt ANN)
|
|
target_link_libraries(thermo cv cvaux cxcore GL GLU highgui cvblob scan ANN)
|
|
ENDIF(WIN32)
|
|
|
|
|
|
ENDIF(WITH_THERMO)
|