Superbuild generate Visual Studio solution, build successfully, but run error
This is a Superbuild example
https://github.com/dev-cafe/cmake-cookbook/tree/master/chapter-08/recipe-03/c-example
I generated the Visual Studio sln file through cmake on windows, and then opened it with vs2019, and then it compiled successfully, An EXE file was generated. But there is a problem when run /debug in vs2019, Error Mesg: Unable to start the program, the system cannot find the specified file, The following error occurs, as follow:
And There is no source directory in Solution Explorer Just like above image。
Is it possible to single-stepped debug the project of ExternalProject_Add(like lib fftw3 in this recipe ) on vs2019? How can I better debug third-party libraries with CMake and Visual Studio. Thanks! Looking forward to your reply