File tree Expand file tree Collapse file tree 3 files changed +760
-0
lines changed
examples/sdk-WorkersParams Expand file tree Collapse file tree 3 files changed +760
-0
lines changed Original file line number Diff line number Diff line change 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)
You can’t perform that action at this time.
0 commit comments