Replies: 1 comment 1 reply
-
Portfiles are invoked via vcpkg (and additional scripts). This is script mode, not the usual project mode (CMakeLists.txt) invoked by the IDE. HTH. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried tinkering around with utilizing my
CMakePresets.json
file in a port I was creating. That is, I normally build my library using theCMakePresets.json
file, as this make different configurations, builds and installations really easy for anyone to adopt.So, when building my port, I wanted to provide consistency for the
portfile.cmake
, viaCMakePresets.json
. I wanted to do something along the lines ofI know it's not 100% correct, as I'll need to create a way to swap workflows between debug and release, but the error I got was
This error seems not right... Is there a tutorial on how to gracefully use CMakePresets with vcpkg
portfile.cmake
? If not, is it even supported? If it isn't supported, why not?Beta Was this translation helpful? Give feedback.
All reactions