-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
66 lines (56 loc) · 2.06 KB
/
CMakeLists.txt
File metadata and controls
66 lines (56 loc) · 2.06 KB
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
#
# (c) 2022 Copyright, Real-Time Innovations, Inc. All rights reserved.
#
# RTI grants Licensee a license to use, modify, compile, and create derivative
# works of the Software. Licensee has the right to distribute object form
# only for use with RTI products. The Software is provided "as is", with no
# warranty of any type, including any warranty for fitness for any purpose.
# RTI is under no obligation to maintain or support the Software. RTI shall
# not be liable for any incidental or consequential damages arising out of the
# use or inability to use the software.
#
cmake_minimum_required(VERSION 3.11)
project(rticonnextdds-examples)
option(CONNEXTDDS_BUILD_PERSISTENCE_SERVICE_EXAMPLES
"Build Persistence Service examples"
OFF
)
option(CONNEXTDDS_BUILD_RECORDING_SERVICE_EXAMPLES
"Build Recording Service examples"
OFF
)
option(CONNEXTDDS_BUILD_ROUTING_SERVICE_EXAMPLES
"Build Routing Service examples"
OFF
)
option(CONNEXTDDS_BUILD_CLOUD_DISCOVERY_SERVICE_EXAMPLES
"Build Cloud Discovery Service examples"
OFF
)
option(CONNEXTDDS_BUILD_WEB_INTEGRATION_SERVICE_EXAMPLES
"Build Web Integration Service examples"
OFF
)
option(CONNEXTDDS_BUILD_CONNEXT_SECURE_EXAMPLES
"Build Connext Secure examples"
OFF
)
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/connext_dds")
if(CONNEXTDDS_BUILD_PERSISTENCE_SERVICE_EXAMPLES)
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/persistence_service")
endif()
if(CONNEXTDDS_BUILD_RECORDING_SERVICE_EXAMPLES)
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/recording_service")
endif()
if(CONNEXTDDS_BUILD_ROUTING_SERVICE_EXAMPLES)
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/routing_service")
endif()
if(CONNEXTDDS_BUILD_WEB_INTEGRATION_SERVICE_EXAMPLES)
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/web_integration_service")
endif()
if(CONNEXTDDS_BUILD_CLOUD_DISCOVERY_SERVICE_EXAMPLES)
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/cloud_discovery_service")
endif()
if(CONNEXTDDS_BUILD_CONNEXT_SECURE_EXAMPLES)
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/connext_secure")
endif()