|
@@ -32,25 +32,25 @@ try {
|
|
|
Copy-Item AUTHORS pack
|
|
|
Copy-Item README.md pack
|
|
|
|
|
|
- Write-Host -ForegroundColor Green "`n###################################################################"
|
|
|
- Write-Host -ForegroundColor Green "`n##### Building Documentation on $env:CC_NAME #####`n"
|
|
|
- New-Item -ItemType directory -Path build
|
|
|
- cd build
|
|
|
- & cmake -DMIKTEX_BINARY_PATH=c:\miktex\texmfs\install\miktex\bin -DCMAKE_BUILD_TYPE=Release `
|
|
|
- -DUA_COMPILE_AS_CXX:BOOL=$env:FORCE_CXX -DUA_BUILD_EXAMPLES:BOOL=OFF -G"$env:CC_NAME" ..
|
|
|
- & cmake --build . --target doc_latex
|
|
|
- if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) {
|
|
|
- Write-Host -ForegroundColor Red "`n`n*** Make doc_latex. Exiting ... ***"
|
|
|
- exit $LASTEXITCODE
|
|
|
- }
|
|
|
- & cmake --build . --target doc_pdf
|
|
|
- if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) {
|
|
|
- Write-Host -ForegroundColor Red "`n`n*** Make doc_pdf. Exiting ... ***"
|
|
|
- exit $LASTEXITCODE
|
|
|
- }
|
|
|
- cd ..
|
|
|
- Move-Item -Path "build\doc_latex\open62541.pdf" -Destination pack\
|
|
|
- Remove-Item -Path build -Recurse -Force
|
|
|
+ # Write-Host -ForegroundColor Green "`n###################################################################"
|
|
|
+ # Write-Host -ForegroundColor Green "`n##### Building Documentation on $env:CC_NAME #####`n"
|
|
|
+ # New-Item -ItemType directory -Path build
|
|
|
+ # cd build
|
|
|
+ # & cmake -DMIKTEX_BINARY_PATH=c:\miktex\texmfs\install\miktex\bin -DCMAKE_BUILD_TYPE=Release `
|
|
|
+ # -DUA_COMPILE_AS_CXX:BOOL=$env:FORCE_CXX -DUA_BUILD_EXAMPLES:BOOL=OFF -G"$env:CC_NAME" ..
|
|
|
+ # & cmake --build . --target doc_latex
|
|
|
+ # if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) {
|
|
|
+ # Write-Host -ForegroundColor Red "`n`n*** Make doc_latex. Exiting ... ***"
|
|
|
+ # exit $LASTEXITCODE
|
|
|
+ # }
|
|
|
+ # & cmake --build . --target doc_pdf
|
|
|
+ # if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) {
|
|
|
+ # Write-Host -ForegroundColor Red "`n`n*** Make doc_pdf. Exiting ... ***"
|
|
|
+ # exit $LASTEXITCODE
|
|
|
+ # }
|
|
|
+ # cd ..
|
|
|
+ # Move-Item -Path "build\doc_latex\open62541.pdf" -Destination pack\
|
|
|
+ # Remove-Item -Path build -Recurse -Force
|
|
|
|
|
|
Write-Host -ForegroundColor Green "`n###################################################################"
|
|
|
Write-Host -ForegroundColor Green "`n##### Testing $env:CC_NAME #####`n"
|
|
@@ -169,8 +169,8 @@ try {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- # do not cache log
|
|
|
- Remove-Item -Path c:\miktex\texmfs\data\miktex\log -Recurse -Force
|
|
|
+ # # do not cache log
|
|
|
+ # Remove-Item -Path c:\miktex\texmfs\data\miktex\log -Recurse -Force
|
|
|
|
|
|
} catch {
|
|
|
# Print a detailed error message
|