Revision 462c8a3c
client/cpp/CMakeLists.txt | ||
---|---|---|
73 | 73 |
catkin_package( |
74 | 74 |
INCLUDE_DIRS include |
75 | 75 |
) |
76 |
|
|
76 |
|
|
77 | 77 |
message(STATUS "ROS Support is ON") |
78 | 78 |
add_definitions(-DROS_SUPPORT=1) |
79 | 79 |
ENDIF (catkin_FOUND) |
... | ... | |
82 | 82 |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -fstack-protector-all ") |
83 | 83 |
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" ) |
84 | 84 |
|
85 |
#search for Boost
|
|
85 |
#search for Boost |
|
86 | 86 |
find_package( Boost 1.46 REQUIRED COMPONENTS thread program_options system filesystem regex) |
87 | 87 |
LINK_DIRECTORIES( ${Boost_LIBRARY_DIRS} ) |
88 | 88 |
include_directories(${Boost_INCLUDE_DIRS} ) |
... | ... | |
115 | 115 |
SET(INSTALL_HEADER_LIST |
116 | 116 |
include/RobotController.h |
117 | 117 |
include/RobotGaze.h |
118 |
include/RobotTimestamp.h |
|
118 | 119 |
include/RobotMouth.h |
119 | 120 |
include/RobotEmotion.h |
120 | 121 |
include/RobotHeadAnimation.h |
... | ... | |
158 | 159 |
INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/${CMAKECONFIGVERSION_FILENAME}" DESTINATION "${DATADIR}") |
159 | 160 |
|
160 | 161 |
#ADD_EXECUTABLE(${PROJECT_NAME} main.cpp ${SRC_FILES}) |
161 |
#TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${RSB_LIBRARIES} ${RST_LIBRARIES} ${OpenCV_LIBS} ${Boost_LIBRARIES} ${Boost_LIBS} ${BART_LIBRARIES} )
|
|
162 |
#TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${RSB_LIBRARIES} ${RST_LIBRARIES} ${OpenCV_LIBS} ${Boost_LIBRARIES} ${Boost_LIBS} ${BART_LIBRARIES} ) |
|
162 | 163 |
|
163 | 164 |
#build & install examples |
164 | 165 |
ADD_EXECUTABLE(${PROJECT_NAME}_example_random_gaze examples/random_gaze/main.cpp) |
Also available in: Unified diff