Skip to content

Commit d53726e

Browse files
committed
build.ps1 - Attempt to add some additional logging/debugging to determine build failure
1 parent 7582023 commit d53726e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,13 @@ try
306306
if ($env:CEFSHARP_BUILD_IS_BOOTSTRAPPED -ne "$Toolchain$Platform")
307307
{
308308
Invoke-BatchFile $VCVarsAll $Platform
309+
Write-Diagnostic "pushd $CefDir"
309310
pushd $CefDir
310311
# Remove previously generated CMake data for the different platform/toolchain
311312
rm CMakeCache.txt -ErrorAction:SilentlyContinue
312313
rm -r CMakeFiles -ErrorAction:SilentlyContinue
313-
cmake -G "$CmakeGenerator$CmakeArch" -DUSE_SANDBOX=Off -DCEF_RUNTIME_LIBRARY_FLAG=/MD
314+
Write-Diagnostic "Running cmake"
315+
cmake --debug-output -G "$CmakeGenerator$CmakeArch" -DUSE_SANDBOX=Off -DCEF_RUNTIME_LIBRARY_FLAG=/MD
314316
popd
315317
$env:CEFSHARP_BUILD_IS_BOOTSTRAPPED = "$Toolchain$Platform"
316318
}

0 commit comments

Comments
 (0)