-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
62 lines (52 loc) · 1.33 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
cmake_minimum_required(VERSION 3.2)
project(ONE)
add_definitions(-DUSE_GCC)
add_definitions(-DMACX)
#add_definitions(-DWIN32)
#add_definitions(-DSSL_SUPPORT)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wno-reorder -Wno-unused-comparison -Wno-inconsistent-missing-override")
SET(Boost_INCLUDE_DIRS /usr/local/Cellar/boost/1.68.0)
SET(ONE_SOURCE_DIR "./")
SET(CMAKE_MACOSX_RPATH "true")
include_directories(./)
set(CMAKE_CXX_STANDARD 17)
find_package(Boost 1.68.0 COMPONENTS graph)
if (Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
endif ()
FOREACH (libfolder
BaseLib
GraphLib
RxConcurrent
RxSignal
RxData
RxGraph
RxTransport
RxDiscovery
RxActor
RxObserver
DataReactor
RxCommand
RxStreamer
RxFSM
RxMonitor
NetworkLib
RTPS
DDS
DCPS
test
IntactObjects
IntactInfra
MicroMiddleware
IntactMiddleware
ProcessFactory
SystemManager
ServiceManager
SettingsManager
NetworkInformationLib
NetworkInformationClient
NetworkInformationManager
)
add_subdirectory(${libfolder})
ENDFOREACH ()
include_directories(${ONE_SOURCE_DIR})