Project

General

Profile

Statistics
| Branch: | Revision:

root / vision / CMakeLists.txt @ 14c71a7d

History | View | Annotate | Download (1.49 KB)

1 80eadc1e Tom Mullins
cmake_minimum_required(VERSION 2.4.6)
2
include($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
12
rosbuild_init()
13
14
#set the default path for built executables to the "bin" directory
15
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
16
#set the default path for built libraries to the "lib" directory
17
set(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
24
rosbuild_add_executable(v2v3_converter src/v2v3_converter.cpp)
25 643083a8 Tom Mullins
rosbuild_add_executable(rviz_interactive_target src/rviz_interactive_target.cpp)
26 14c71a7d Nick Stanley
rosbuild_add_executable(newConverter src/converteroverwrite.cpp)
27
rosbuild_add_executable(opencvdetect src/opencvdetect.cpp)
28 80eadc1e Tom Mullins
29
#common commands for building c++ executables and libraries
30
#rosbuild_add_library(${PROJECT_NAME} src/example.cpp)
31
#target_link_libraries(${PROJECT_NAME} another_library)
32
#rosbuild_add_boost_directories()
33
#rosbuild_link_boost(${PROJECT_NAME} thread)
34
#rosbuild_add_executable(example examples/example.cpp)
35
#target_link_libraries(example ${PROJECT_NAME})
36 b1055c82 Tom Mullins
target_link_libraries(v2v3_converter ${OpenCV_LIBS})