aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/async-simple/usage
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/async-simple/usage
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/async-simple/usage')
-rw-r--r--vcpkg/ports/async-simple/usage8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcpkg/ports/async-simple/usage b/vcpkg/ports/async-simple/usage
new file mode 100644
index 0000000..e6087ae
--- /dev/null
+++ b/vcpkg/ports/async-simple/usage
@@ -0,0 +1,8 @@
+async-simple provides CMake targets:
+
+find_package(async_simple CONFIG REQUIRED)
+target_link_libraries(main PRIVATE async_simple::async_simple_static)
+# Or you can use header-only version(async_simple::uthread is not allowed to use in this version)
+target_link_libraries(main PRIVATE async_simple::async_simple_header_only)
+# Or you can also use dynamic linkage:
+target_link_libraries(main PRIVATE async_simple::async_simple)