基本上,我的问题与如何配置CMake,以便生成的Visual Studio项目可以找到可执行文件?相同。那里的任何答案都对我没有用。
我有一个CMake项目,我只想从中创建一个Visual Studio 2019项目:
我有一个CMake项目,我只想从中创建一个Visual Studio 2019项目:
- So I just run
cmake .
from the root directory. Then I have a *.sln file in my root directory.
After opening it with Visual Studio 2019, I press the "Local Widows Debugger" button, it compiles successfully but then the IDE complains with:
Unable to start program 'C:\Users...\x64\Debug\ALL_BUILD'. The system is unable to find the specified file.