summaryrefslogtreecommitdiffhomepage
path: root/example/asio_example/CMakeLists.txt
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-04 08:55:10 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-04 08:55:10 +0100
commit4b2b47d6edc8c8dd75f260fed3286f5dc4fe9374 (patch)
treea4b19757f1db8646a7e80eee9471c008d5d81b07 /example/asio_example/CMakeLists.txt
parentafda75faa95d7c52d73acb9fbf615831cb6dee1a (diff)
feat: core: add ASIO example and new IOC helper 'run_loop'.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'example/asio_example/CMakeLists.txt')
-rw-r--r--example/asio_example/CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/example/asio_example/CMakeLists.txt b/example/asio_example/CMakeLists.txt
new file mode 100644
index 0000000..2efd470
--- /dev/null
+++ b/example/asio_example/CMakeLists.txt
@@ -0,0 +1,15 @@
+
+cmake_minimum_required(VERSION 3.15...3.31)
+
+project(
+ AsioExample
+ VERSION 1.0
+ LANGUAGES CXX)
+
+find_package(Boost REQUIRED)
+
+add_executable(AsioExample example.cpp)
+
+set_property(TARGET AsioExample PROPERTY CXX_STANDARD 20)
+target_include_directories(AsioExample PUBLIC ../../include/)
+# target_link_libraries(AsioExample PRIVATE Boost Core Asio)