forked from snakster/cpp.react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
39 lines (32 loc) · 1.46 KB
/
CMakeLists.txt
File metadata and controls
39 lines (32 loc) · 1.46 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
### Example_BasicAlgorithms
add_executable(Example_BasicAlgorithms src/BasicAlgorithms.cpp)
target_link_libraries(Example_BasicAlgorithms CppReact)
### Example_BasicComposition
add_executable(Example_BasicComposition src/BasicComposition.cpp)
target_link_libraries(Example_BasicComposition CppReact)
### Example_BasicEvents
add_executable(Example_BasicEvents src/BasicEvents.cpp)
target_link_libraries(Example_BasicEvents CppReact)
### Example_BasicObservers
add_executable(Example_BasicObservers src/BasicObservers.cpp)
target_link_libraries(Example_BasicObservers CppReact)
### Example_BasicReactors
find_package(Boost 1.55 COMPONENTS coroutine context system)
if(Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
add_executable(Example_BasicReactors src/BasicReactors.cpp)
target_link_libraries(Example_BasicReactors CppReact ${Boost_LIBRARIES})
else()
message("boost::coroutine not found. Skipping build of Example_BasicReactors.")
endif()
#add_exyecutable(Example_BasicReactors src/BasicReactors.cpp)
#target_link_libraries(Example_BasicReactors CppReact)
### Example_BasicSignals
add_executable(Example_BasicSignals src/BasicSignals.cpp)
target_link_libraries(Example_BasicSignals CppReact)
### Example_BasicSynchronization
add_executable(Example_BasicSynchronization src/BasicSynchronization.cpp)
target_link_libraries(Example_BasicSynchronization CppReact)
### Example_Sandbox
add_executable(Example_Sandbox src/Main.cpp)
target_link_libraries(Example_Sandbox CppReact)