Allow projects using the CMake integration to automatically select an appropriate 'static' triplet #42909
Replies: 4 comments
This comment was marked as off-topic.
This comment was marked as off-topic.
-
@FrankXie05 this post is about cmake, not msbuild, and it is a vcpkg feature request, not a general usage question - i used vcpkg’s msbuild support as an example. your response is answering a different question to what I asked. |
Beta Was this translation helpful? Give feedback.
-
If you choose the vcpkg build triplet based on the project, it is indeed more convenient. However, I think this is almost impossible to achieve. Without calling vcpkg in the cmake project, Just like the |
Beta Was this translation helpful? Give feedback.
-
I wish I could find a way to do this. But it seems to me that this is not possible, so I'm turning this into a discussion. |
Beta Was this translation helpful? Give feedback.
-
With MSBuild I can do something like this:
it would be nice if I could do something similar when using the CMake project, instead of requiring the user to specify
-DVCPKG_TARGET_TRIPLET
This isn't current possible as:
project()
project()
Beta Was this translation helpful? Give feedback.
All reactions