-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
22 lines (18 loc) · 926 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake_minimum_required(VERSION 2.8.7)
# find YARP
find_package(YARP REQUIRED)
# add YARP include directories
include_directories(${YARP_INCLUDE_DIRS})
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
# set up our program
add_executable(currentFixationPointRead currentFixationPointRead.cpp)
add_executable(targetPointSend targetPointSend.cpp)
add_executable(readAndWriteTopicsTest ReadAndWriteTopicsTest.cpp)
add_executable(readAndWriteTopicsTestSwap ReadAndWriteTopicsTestSwap.cpp)
add_executable(readAndWriteTopicsTestUsingNode ReadAndWriteTopicsTestUsingNode.cpp)
# link with YARP libraries
target_link_libraries(currentFixationPointRead ${YARP_LIBRARIES})
target_link_libraries(targetPointSend ${YARP_LIBRARIES})
target_link_libraries(readAndWriteTopicsTest ${YARP_LIBRARIES})
target_link_libraries(readAndWriteTopicsTestSwap ${YARP_LIBRARIES})
target_link_libraries(readAndWriteTopicsTestUsingNode ${YARP_LIBRARIES})