-
|
On one platform (macOS) we need to build and ship uchmviewer (q.v.) to display MS format .chm help files. At present we build this as a step in setting up the build machine, but it would be nice if we could build it using vcpkg as part of our move toward CI/CD Is this something that can be done, and if so are there any special things that need to be done in the portfile (so that we can locate the executable for example). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Well I'm trying it ... - it initially failed with all sorts of odd errors which I managed to fix by doing: Here's what I have in my port file.cmake and it now builds! BUT how can I find the uchmviewer binary in my CMake file? I know that it got placed into the vcpkg_installed/tools/uchmviewer directory, but I don't know how to describe that location in my CMake file. Is it just: |
Beta Was this translation helpful? Give feedback.
Well that was "Close, but no cigar"
What was actually needed was to copy:
${CMAKE_BINARY_DIR}/vcpkg_installed/${VCPKG_TARGET_TRIPLET}/tools/uchmviewer/uchmviewerProblem solved.