CMake'跳过'配置&Visual Studio 2019中没有可执行文件

我正在与CMake和Visual Studio 2019一起安装VTK。VisualStudio的初始设置似乎很好,但是在配置我下载的示例文件时,我收到了CMake'跳过'的消息。 VS 2017似乎生成了一些文件,但是我缺少所需的.exe,.ilk和.pbd输出文件,并且不确定这是否是由于CMake“跳过”或Visual Studio的设置所致。我尝试了调试和发布其他文件夹的位置,都无济于事。我要构建的文件是“ SimplePointReader”。

CMake输出:

The C compiler identification is MSVC 19.16.27034.0
The CXX compiler identification is MSVC 19.16.27034.0
Check for working C compiler: C:/Program Files (x86)/microsoft Visual 
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
Check for working C compiler: C:/Program Files (x86)/microsoft Visual 
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- 
works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: C:/Program Files (x86)/microsoft Visual 
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
Check for working CXX compiler: C:/Program Files (x86)/microsoft Visual 
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- 
works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Skipping SimplePointsreader: 
Configuring done

Visual Studio输出:

>------ Build started: Project: ZERO_CHECK,Configuration: Debug x64 ------
1>Checking Build System
2>------ Build started: Project: ALL_BUILD,Configuration: Debug x64 ------
2>Building Custom Rule C:/Users/<name>/Documents/Visual Studio 
2017/Projects/VTKSetup/src/CMakeLists.txt
========== Build: 2 succeeded,0 failed,0 up-to-date,0 skipped ==========

使用Windows 10并一直在关注在线Youtube教程。对于Visual Studio而言相对较新,因此可以提供任何帮助。

yk8278 回答:CMake'跳过'配置&Visual Studio 2019中没有可执行文件

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3113605.html

大家都在问