diff options
| author | chausner <15180557+chausner@users.noreply.github.com> | 2021-09-30 22:55:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-30 13:55:14 -0700 |
| commit | 3434e5cbab6106eb86b198711cdae4c8f99e7dd8 (patch) | |
| tree | 267fd5745756534a40760065157b6ede1b9c715b /ports/promise-cpp/usage | |
| parent | 35bfef708400cf882efb3e4df93045e0a06c9c23 (diff) | |
| download | vcpkg-3434e5cbab6106eb86b198711cdae4c8f99e7dd8.tar.gz vcpkg-3434e5cbab6106eb86b198711cdae4c8f99e7dd8.zip | |
[promise-cpp] Add new port (#20340)
* Update promise-cpp to 1.0.3
* Update CI baseline
* Fix portfile
* Update git-tree hash
* Update to version 2.1.0
* Update CI baseline and git-tree hash
* Add usage
* Update git-tree hash
* Update to promise-cpp 2.1.2
* Update git-tree hash
Co-authored-by: chausner <chausner@users.noreply.github.com>
Diffstat (limited to 'ports/promise-cpp/usage')
| -rw-r--r-- | ports/promise-cpp/usage | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/promise-cpp/usage b/ports/promise-cpp/usage new file mode 100644 index 000000000..0e9d48636 --- /dev/null +++ b/ports/promise-cpp/usage @@ -0,0 +1,9 @@ +The package promise-cpp is header only and can be used from CMake via:
+
+ find_path(PROMISE_CPP_INCLUDE_DIRS "promise-cpp/promise.hpp")
+ target_include_directories(main PRIVATE ${PROMISE_CPP_INCLUDE_DIRS})
+
+Make sure to define the pre-processor macro PROMISE_HEADONLY before including "promise-cpp/promise.hpp":
+
+ #define PROMISE_HEADONLY
+ #include "promise-cpp/promise.hpp"
\ No newline at end of file |
