source: trunk/saliency_detection/CMakeLists.txt @ 36

Last change on this file since 36 was 36, checked in by wcaarls, 12 years ago

Updated saliency_detection to revision 1213

File size: 1.7 KB
Line 
1cmake_minimum_required(VERSION 2.4.6)
2include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
3
4# Set the build type.  Options are:
5#  Coverage       : w/ debug symbols, w/o optimization, w/ code-coverage
6#  Debug          : w/ debug symbols, w/o optimization
7#  Release        : w/o debug symbols, w/ optimization
8#  RelWithDebInfo : w/ debug symbols, w/ optimization
9#  MinSizeRel     : w/o debug symbols, w/ optimization, stripped binaries
10#set(ROS_BUILD_TYPE RelWithDebInfo)
11
12rosbuild_init()
13
14#set the default path for built executables to the "bin" directory
15set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
16#set the default path for built libraries to the "lib" directory
17set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
18
19#uncomment if you have defined messages
20#rosbuild_genmsg()
21#uncomment if you have defined services
22#rosbuild_gensrv()
23
24find_package(OpenCV REQUIRED)
25
26#common commands for building c++ executables and libraries
27#rosbuild_add_library(${PROJECT_NAME} src/example.cpp)
28#target_link_libraries(${PROJECT_NAME} another_library)
29#rosbuild_add_boost_directories()
30#rosbuild_link_boost(${PROJECT_NAME} thread)
31#rosbuild_add_executable(example examples/example.cpp)
32#target_link_libraries(example ${PROJECT_NAME})
33
34rosbuild_add_library(cvgabor src/cvgabor.cpp)
35
36rosbuild_add_executable(saliencyDetectionHou src/saliencyDetectionHou.cpp)
37target_link_libraries(saliencyDetectionHou ${OpenCV_LIBS})
38rosbuild_add_executable(saliencyDetectionRudinac src/saliencyDetectionRudinac.cpp)
39target_link_libraries(saliencyDetectionRudinac ${OpenCV_LIBS})
40rosbuild_add_executable(saliencyDetectionItti src/saliencyDetectionItti.cpp)
41target_link_libraries(saliencyDetectionItti cvgabor ${OpenCV_LIBS})
42
43rosbuild_make_distribution(0.1.0)
Note: See TracBrowser for help on using the repository browser.