-
I recently tried adding pkg-config support to a repo. It was going fairly well until I hit a snag in my integration testing on Windows. Ultimately CMAKE_DEBUG_POSTFIX was being used to distinguish binaries for the Windows platform. IE: The binary name became Causing my integration tests to fail on Windows debug builds. pkg-config didn't seem to have a good solution for this, so I abandoned adding pkg-config support. Is this simply a limitation of PC files? How does vcpkg deal with this type of scenario? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
vcpkg has lib/pkgconfig and debug/lib/pkgconfig however you cannot use multi-config generators with that approach (yet, since nobody fixed FindPkgConfig for that yet). internally vcpkg does not use mutli config generators, i.e. only Ninja with CMAKE_BUILD_TYPE set appropriately. |
Beta Was this translation helpful? Give feedback.
vcpkg has lib/pkgconfig and debug/lib/pkgconfig however you cannot use multi-config generators with that approach (yet, since nobody fixed FindPkgConfig for that yet). internally vcpkg does not use mutli config generators, i.e. only Ninja with CMAKE_BUILD_TYPE set appropriately.