From a434cc74ea515e6612bcb66d8f4ab69bbb8c62bf Mon Sep 17 00:00:00 2001 From: Niall Douglas Date: Tue, 30 Mar 2021 18:17:02 +0100 Subject: [outcome] Replace Outcome single header based port with full fat cmake install port (#15603) * Replace Outcome single header based port with full fat cmake install port. * [outcome] Improve portfile.cmake * update baseline * Refactor @JackBoosY's changes to make the dependency SHA feature chosen. * update baseline * Fix outcome features so they actually work. * update baseline * [outcome] install usage * update baseline * [outcome] Always use vcpkg copies of dependencies * DO NOT MERGE YET, ONLY FOR INSPECTION BY PR REVIEW. 1. Break out these dependencies into standalone ports: - ned14-internal-quickcpplib - status-code 2. Add port for LLFIO. 3. Add dependency smoke tests for Outcome and LLFIO as per instructions. * Fix all remaining issues, including link failure. This changeset is now ready to merge into vcpkg. * Update versions. * Have LLFIO not build static or shared libs according to VCPKG_LIBRARY_LINKAGE. * Fix last commit breaking everything :) * Update versions. * Disable uwp support for LLFIO. * versions * Fix status code on GCC 6 and 7 * Don't download ntkernel-error-category if not on Windows. * Fix status-code on UWP. * Update versions. * Fix MSVC on ARM. * Apply all the feedback from the PR review, more or less. * versions * Update to latest, disable UWP for Outcome. Co-authored-by: JackBoosY Co-authored-by: Robert Schumacher --- ports/llfio/usage-error-code-dynamic | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ports/llfio/usage-error-code-dynamic (limited to 'ports/llfio/usage-error-code-dynamic') diff --git a/ports/llfio/usage-error-code-dynamic b/ports/llfio/usage-error-code-dynamic new file mode 100644 index 000000000..ed8ab0310 --- /dev/null +++ b/ports/llfio/usage-error-code-dynamic @@ -0,0 +1,9 @@ +The package llfio provides two CMake targets: + + find_package(llfio CONFIG REQUIRED) + +- If you want the header-only form of LLFIO: + target_link_libraries(main PUBLIC llfio::hl) + +- If you want the shared library form of LLFIO with shared NT kernel error code category: + target_link_libraries(main PUBLIC llfio::dl llfio::ntkernel-error-category::dl) -- cgit v1.2.3