При запуске CMake с использованием сценария powershell, который завершается неудачей, он всегда обрезает сообщения об ошибках и добавляет к ним суффиксы (или префиксы) с ...
, в которых отображаются только первые несколько слов или последние несколько слов, но не полная ошибка.
Например:
Checking paths... OK
Looking for MSBuild... OK
Looking for Qt5... OK
Looking for OpenSSL... OK
Looking for nsis... OK
Looking for git... OK
Looking for cmake... OK
Configuring the project...
Running cmake
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
cmake : CMake Error at extensions/extension-mass-delete/CMakeLists.txt:26 (find_package):
At C:\Users\Petr Bena\Documents\huggle3-qt-lx\windows\release.ps1:172 char:5
+ cmake ..\..\src\ -G "$cmake_generator" -DWEB_ENGINE=true -DPYTHON ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (CMake Error at ...(find_package)::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Этот тип ошибки совсем не помогает определить, что не так, потому что он слишком общий.Как мне развернуть его, чтобы я увидел полное сообщение об ошибке?