-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
41 lines (34 loc) · 1.02 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
cmake_minimum_required(VERSION 3.24)
project(jan_2023_coroutines)
set(CMAKE_CXX_STANDARD 23)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup(TARGETS)
add_executable(jan_2023_coroutines sync.cpp
udp-socket.hpp
result.hpp
constants.hpp
compute-crc.hpp)
target_link_libraries(jan_2023_coroutines
PRIVATE
CONAN_PKG::crc_cpp
CONAN_PKG::fmt)
add_executable(coro coro.cpp
udp-socket.hpp
result.hpp
constants.hpp
compute-crc.hpp
task.hpp
iouring.hpp)
target_link_libraries(coro
PRIVATE
uring
CONAN_PKG::crc_cpp
CONAN_PKG::fmt)
add_executable(gen generator.cpp)
target_link_libraries(gen
PRIVATE
CONAN_PKG::fmt)
add_executable(immediate-ret-generator immediate-ret-generator.cpp)
target_link_libraries(immediate-ret-generator PRIVATE CONAN_PKG::fmt)
add_executable(thread-sync-example thread-sync-example.cpp)
target_link_libraries(thread-sync-example PRIVATE CONAN_PKG::fmt)