File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,8 +66,21 @@ build_script:
6666 -D CMAKE_PREFIX_PATH="$env:boost_prefix;$env:APPVEYOR_BUILD_FOLDER\zlib-1.3.1\prefix" `
6767 -D CMAKE_INSTALL_PREFIX="$env:APPVEYOR_BUILD_FOLDER\prefix" `
6868 -D CMAKE_CXX_FLAGS="/D_VARIADIC_MAX=10 /EHsc /DBOOST_ALL_DYN_LINK" `
69+ --debug-find `
6970 ..
70- if ($LastExitCode -ne 0) { exit $LastExitCode }
71+
72+ if ($LastExitCode -ne 0) {
73+ Write-Host "=== CMake configuration FAILED with exit code $LastExitCode ==="
74+ Write-Host "=== Dumping CMakeOutput.log ==="
75+ if (Test-Path "CMakeFiles/CMakeOutput.log") {
76+ Get-Content "CMakeFiles/CMakeOutput.log"
77+ }
78+ Write-Host "=== Dumping CMakeError.log ==="
79+ if (Test-Path "CMakeFiles/CMakeError.log") {
80+ Get-Content "CMakeFiles/CMakeError.log"
81+ }
82+ exit $LastExitCode
83+ }
7184
7285 cmake --build . --config Release
7386 if ($LastExitCode -ne 0) { exit $LastExitCode }
You can’t perform that action at this time.
0 commit comments