You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a Windows C++ solution for Visual Studio and I'm also using Microsoft's package manager vcpkg for installing dependencies. This works brilliantly. Now I also want to compile and debug my code for Linux using e.g. CLion IDE since CLion supports debugging using WSL, so I need to convert the Visual Studio solution to a CMake project. Overall the conversion seems fine besides the fact that CMake requires that I manually specify all dependent libraries from vcpkg unlike in a Visual Studio solution, for example:
Visual Studio solutions provide automatic header resolution and linking of vcpkg packages without explicitly specifying where to look.
Unfortunately, the converter is not able to pick this up automatically to configure CMake with vcpkg dependencies. In order to successfully compile, I probably need to add all dependencies manually to the CMakeLists.txt. Is there any way I can automate this process better and if not, how would be a good way to support it?
The text was updated successfully, but these errors were encountered:
I'm working on a Windows C++ solution for Visual Studio and I'm also using Microsoft's package manager vcpkg for installing dependencies. This works brilliantly. Now I also want to compile and debug my code for Linux using e.g. CLion IDE since CLion supports debugging using WSL, so I need to convert the Visual Studio solution to a CMake project. Overall the conversion seems fine besides the fact that CMake requires that I manually specify all dependent libraries from vcpkg unlike in a Visual Studio solution, for example:
Visual Studio solutions provide automatic header resolution and linking of vcpkg packages without explicitly specifying where to look.
Unfortunately, the converter is not able to pick this up automatically to configure CMake with vcpkg dependencies. In order to successfully compile, I probably need to add all dependencies manually to the
CMakeLists.txt
. Is there any way I can automate this process better and if not, how would be a good way to support it?The text was updated successfully, but these errors were encountered: