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
Overriding build directory to: 'C:\agent\_work\1\a\x64-windows'
"C:\Program Files\CMake\bin\cmake.exe" -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Release C:\agent\_work\1\s
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.17763.
-- The CXX compiler identification is MSVC 19.24.28314.0
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
-- Performing Test COMPILER_HAS_DEPRECATED
-- Performing Test COMPILER_HAS_DEPRECATED - Success
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_BUILD_TYPE
-- Build files have been written to: C:/agent/_work/1/a/x64-windows
But build stage is build Debug configuration:
Building with CMake in build directory 'C:\agent\_work\1\a\x64-windows' ...
"C:\Program Files\CMake\bin\cmake.exe" --build . --
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Building Custom Rule C:/agent/_work/1/s/CMakeLists.txt
main.cpp
Creating library C:/agent/_work/1/a/x64-windows/Debug/sample-addin.lib and object C:/agent/_work/1/a/x64-windows/Debug/sample-addin.exp
sample-addin.vcxproj -> C:\agent\_work\1\a\x64-windows\bin\Debug\sample-addin.dll
Building Custom Rule C:/agent/_work/1/s/test/CMakeLists.txt
main.cpp
test-sample-addin.vcxproj -> C:\agent\_work\1\a\x64-windows\bin\Debug\test-sample-addin.exe
Building Custom Rule C:/agent/_work/1/s/CMakeLists.txt
This is because no configuration is specified in cmake --build
Similar problem
buildWithCMakeArgs: '--config Release' is ignored for CMakeSettingsJson
Сan you fix it please. Ninja generator doesn't always fit, and I'm not very into JS to fix it.
buildWithCMakeArgs
Thanks.
The text was updated successfully, but these errors were encountered:
I am going to add a test to verify the whether the environment is correctly set up.
What compiler are you using? On windows the task sets the environment of the VS Developer Command Prompt, it would work if you use msvc with Ninja.
Hello!
There is a configuration
CMake configure stage is correct:
But build stage is build Debug configuration:
This is because no configuration is specified in cmake --build
Similar problem
buildWithCMakeArgs: '--config Release'
is ignored forCMakeSettingsJson
Сan you fix it please. Ninja generator doesn't always fit, and I'm not very into JS to fix it.
buildWithCMakeArgs
Thanks.
The text was updated successfully, but these errors were encountered: