forked from robotology/yarp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
76 lines (52 loc) · 2.51 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Copyright: (C) 2009 RobotCub Consortium
# Authors: Paul Fitzpatrick, Giorgio Metta, Lorenzo Natale, Giacomo Spigler
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT
cmake_minimum_required(VERSION 3.0)
project(Examples)
# Be sure to set YARP_DIR environment variable if YARP is not installed
# somewhere findable.
find_package(YARP REQUIRED)
add_executable(bottle_add bottle_add.cpp)
target_link_libraries(bottle_add ${YARP_LIBRARIES})
add_executable(simple_sender simple_sender.cpp)
target_link_libraries(simple_sender ${YARP_LIBRARIES})
add_executable(simple_receiver simple_receiver.cpp)
target_link_libraries(simple_receiver ${YARP_LIBRARIES})
add_executable(internal_monologue internal_monologue.cpp)
target_link_libraries(internal_monologue ${YARP_LIBRARIES})
add_executable(buffered_port buffered_port.cpp)
target_link_libraries(buffered_port ${YARP_LIBRARIES})
add_executable(portable_pair portable_pair.cpp)
target_link_libraries(portable_pair ${YARP_LIBRARIES})
add_executable(summer summer.cpp)
target_link_libraries(summer ${YARP_LIBRARIES})
add_executable(image_source image_source.cpp)
target_link_libraries(image_source ${YARP_LIBRARIES})
add_executable(database database.cpp)
target_link_libraries(database ${YARP_LIBRARIES})
add_executable(threads threads.cpp)
target_link_libraries(threads ${YARP_LIBRARIES})
add_executable(image_process image_process.cpp)
target_link_libraries(image_process ${YARP_LIBRARIES})
add_executable(image_process_module image_process_module.cpp)
target_link_libraries(image_process_module ${YARP_LIBRARIES})
add_executable(ratethread ratethread.cpp)
target_link_libraries(ratethread ${YARP_LIBRARIES})
add_executable(rateThreadTiming rateThreadTiming.cpp)
target_link_libraries(rateThreadTiming ${YARP_LIBRARIES})
add_executable(make_count make_count.cpp)
target_link_libraries(make_count ${YARP_LIBRARIES})
add_executable(view_count view_count.cpp)
target_link_libraries(view_count ${YARP_LIBRARIES})
add_executable(browse_bottle browse_bottle.cpp)
target_link_libraries(browse_bottle ${YARP_LIBRARIES})
add_executable(queue_manager queue_manager.cpp)
target_link_libraries(queue_manager ${YARP_LIBRARIES})
add_executable(playback playback.cpp)
target_link_libraries(playback ${YARP_LIBRARIES})
add_executable(listports listports.cpp)
target_link_libraries(listports ${YARP_LIBRARIES})
add_executable(rpc_server rpc_server.cpp)
target_link_libraries(rpc_server ${YARP_LIBRARIES})
add_executable(rpc_client rpc_client.cpp)
target_link_libraries(rpc_client ${YARP_LIBRARIES})