|
20 | 20 | -- Dependencies |
21 | 21 | add_requires("eigen 3.4.0") |
22 | 22 | add_requires("gtest", {optional = true}) |
| 23 | +add_requires("boost", {optional = true}) |
23 | 24 |
|
24 | 25 | -- Global include directories |
25 | 26 | add_includedirs("include") |
@@ -120,6 +121,32 @@ target("parallelism_usage_demo") |
120 | 121 | set_rundir("$(projectdir)") |
121 | 122 | set_group("examples") |
122 | 123 |
|
| 124 | +-- Asio integration demo |
| 125 | +target("asio_integration_demo") |
| 126 | + set_kind("binary") |
| 127 | + add_files("examples/asio_integration_demo.cpp") |
| 128 | + add_deps("diffeq") |
| 129 | + add_packages("boost") |
| 130 | + set_rundir("$(projectdir)") |
| 131 | + set_group("examples") |
| 132 | + |
| 133 | +-- Advanced asio integration demo |
| 134 | +target("advanced_asio_integration") |
| 135 | + set_kind("binary") |
| 136 | + add_files("examples/advanced_asio_integration.cpp") |
| 137 | + add_deps("diffeq") |
| 138 | + add_packages("boost") |
| 139 | + set_rundir("$(projectdir)") |
| 140 | + set_group("examples") |
| 141 | + |
| 142 | +-- Standard library async integration demo |
| 143 | +target("std_async_integration_demo") |
| 144 | + set_kind("binary") |
| 145 | + add_files("examples/std_async_integration_demo.cpp") |
| 146 | + add_deps("diffeq") |
| 147 | + set_rundir("$(projectdir)") |
| 148 | + set_group("examples") |
| 149 | + |
123 | 150 | -- SDE usage demo (temporarily disabled due to API issues) |
124 | 151 | -- target("sde_usage_demo") |
125 | 152 | -- set_kind("binary") |
@@ -261,7 +288,10 @@ task("examples-all") |
261 | 288 | "state_concept_usage", |
262 | 289 | "rk4_integrator_usage", |
263 | 290 | "advanced_integrators_usage", |
264 | | - "parallelism_usage_demo" |
| 291 | + "parallelism_usage_demo", |
| 292 | + "asio_integration_demo", |
| 293 | + "advanced_asio_integration", |
| 294 | + "std_async_integration_demo" |
265 | 295 | } |
266 | 296 |
|
267 | 297 | local long_examples = { |
|
0 commit comments