source: trunk/extremum_seeking/esc_nn/CMakeLists.txt @ 19

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

Imported extremum_seeking at revision 987

File size: 1.3 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
24#common commands for building c++ executables and libraries
25rosbuild_add_library(esc_nn src/nn_esc_1d.cpp src/nn_esc_2d.cpp)
26#target_link_libraries(${PROJECT_NAME} another_library)
27#rosbuild_add_boost_directories()
28#rosbuild_link_boost(${PROJECT_NAME} thread)
29rosbuild_add_executable(esc_1d src/node_1d.cpp)
30target_link_libraries(esc_1d ${PROJECT_NAME})
31rosbuild_add_executable(esc_2d src/node_2d.cpp)
32target_link_libraries(esc_2d ${PROJECT_NAME})
Note: See TracBrowser for help on using the repository browser.