aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/async-simple/usage
diff options
context:
space:
mode:
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)