When running my build script that uses cmake I am getting the following output during the build process:
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.7.5
** Copyright (c) 2020 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
-- The C compiler identification is MSVC 19.27.29112.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - skipped
I've seen in another thread that this isn't an error, and my code goes onto compile until a different error, but why would the output be "skipped" instead of "works"?
The file cl.exe is located in a subfolder of "C:\Program Files (x86)" (for example C:\Program Files (x86)\Bench\Proxy\).
cl.exe is a tool that controls the Microsoft C++ (MSVC) C and C++ compilers and linker. cl.exe can be run only on operating systems that support Microsoft Visual Studio for Windows. You can start this tool only from a Visual Studio developer command prompt.
The Microsoft C/C++ compiler (MSVC) uses a basic rule to determine which language to use when it compiles your code. By default, the MSVC compiler treats all files that end in . c as C source code, and all files that end in .
That's normal in newer CMake versions as the test is skipped because the compiler is known to work because it was able to determine the ABI.
Refer to https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4789
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With