-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
28 lines (20 loc) · 1.03 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
cmake_minimum_required (VERSION 2.8.3)
project(kuka_rsi3_server)
add_compile_options(-std=c++11)
find_package(catkin COMPONENTS roscpp roslib brics_actuator trajectory_msgs actionlib REQUIRED)
find_package(Boost COMPONENTS system thread filesystem REQUIRED)
find_package(yaml-cpp REQUIRED)
catkin_package()
link_directories(/usr/local/lib) # For pugixml
include_directories(
include/
${catkin_INCLUDE_DIRS}
)
add_executable(server src/boost_UDPSocket.cpp)
target_link_libraries(server ${Boost_LIBRARIES} ${YAML_CPP_LIBRARIES} pugixml bprinter ${catkin_LIBRARIES})
add_executable(client src/CommandClient.cpp)
target_link_libraries(client ${Boost_LIBRARIES} ${YAML_CPP_LIBRARIES} pugixml bprinter ${catkin_LIBRARIES})
add_executable(communication_test src/communication.cpp src/CommunicationClient.cpp)
target_link_libraries(communication_test ${Boost_LIBRARIES} ${YAML_CPP_LIBRARIES} pugixml bprinter ${catkin_LIBRARIES})
add_executable(trajtest src/TrajectoryTest.cpp)
target_link_libraries(trajtest ${Boost_LIBRARIES} bprinter ${catkin_LIBRARIES})