Skip to content

Commit a21791b

Browse files
committed
Workers example with published parameters
1 parent 46c4346 commit a21791b

File tree

3 files changed

+760
-0
lines changed

3 files changed

+760
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
cmake_minimum_required(VERSION 3.9)
2+
project(workers_with_params VERSION 0.0.0 LANGUAGES CXX)
3+
4+
set(CMAKE_CXX_STANDARD 20 CACHE STRING "The C++ standard is cached for visibility in external tools." FORCE)
5+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
6+
7+
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FORCE)
8+
9+
set(LF_MAIN_TARGET workers_with_params)
10+
11+
find_package(reactor-cpp PATHS )
12+
find_package(reactor-sdk PATHS )
13+
14+
add_executable(${LF_MAIN_TARGET}
15+
main.cc
16+
)
17+
18+
include_directories(${CMAKE_CURRENT_LIST_DIR})
19+
20+
target_link_libraries(${LF_MAIN_TARGET} reactor-cpp)
21+
target_link_libraries(${LF_MAIN_TARGET} reactor-sdk)
22+
23+
target_compile_options(${LF_MAIN_TARGET} PRIVATE -Wall -Wextra -pedantic)

0 commit comments

Comments
 (0)