aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-06-18 15:33:43 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-06-18 15:33:43 +0200
commitc6262346b45b6c84fd1a009f21465d3af1b63593 (patch)
tree5e42bdd85b4cf0a4eb0d7994320569732d663d07 /CMakeLists.txt
parent4a365d974b17f71914909df8fe532edc929f3cad (diff)
downloadttwhy-c6262346b45b6c84fd1a009f21465d3af1b63593.tar.xz
ttwhy-c6262346b45b6c84fd1a009f21465d3af1b63593.zip
lib: prepare for state machine
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 316b655..b50768a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,7 +14,15 @@ FetchContent_Declare("asio"
GIT_TAG "asio-1-38-0"
)
-FetchContent_MakeAvailable("asio")
+FetchContent_Declare("sml"
+ GIT_REPOSITORY "https://github.com/boost-ext/sml"
+ GIT_TAG "v1.2.0"
+)
+
+FetchContent_MakeAvailable(
+ "asio"
+ "sml"
+)
### asio
@@ -40,6 +48,7 @@ target_sources("ttwhy-core" PUBLIC
FILE_SET CXX_MODULES
FILES
+ "ttwhy/event.cppm"
"ttwhy/io.cppm"
"ttwhy/lib.cppm"
"ttwhy/scoped_attributes.cppm"
@@ -55,6 +64,7 @@ target_compile_features("ttwhy-core" PUBLIC
target_link_libraries("ttwhy-core" PUBLIC
"ext::asio"
+ "sml::sml"
)
target_compile_options("ttwhy-core" PUBLIC