Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -178,7 +178,7 @@ stages: .activate-WX-windows: &activate-WX-windows - (Get-Content -Path "CMakeLists.txt") -replace '# \(add_compile_options\("\/WX"\)\)', '$1' | Set-Content -Path "CMakeLists.txt" - (Get-Content -Path "Workspace_msvc/*.vcxproj") -replace '<TreatWarningAsError>false', '<TreatWarningAsError>true' | Set-Content -Path "Workspace_msvc/*.vcxproj" - Get-ChildItem -Path "Workspace_msvc" -Filter "*.vcxproj" | ForEach-Object { (Get-Content -Path $_.FullName) -replace '<TreatWarningAsError>false', '<TreatWarningAsError>true' | Set-Content -Path $_.FullName } # --------------------------------------------------------------- # Job templates Loading Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -178,7 +178,7 @@ stages: .activate-WX-windows: &activate-WX-windows - (Get-Content -Path "CMakeLists.txt") -replace '# \(add_compile_options\("\/WX"\)\)', '$1' | Set-Content -Path "CMakeLists.txt" - (Get-Content -Path "Workspace_msvc/*.vcxproj") -replace '<TreatWarningAsError>false', '<TreatWarningAsError>true' | Set-Content -Path "Workspace_msvc/*.vcxproj" - Get-ChildItem -Path "Workspace_msvc" -Filter "*.vcxproj" | ForEach-Object { (Get-Content -Path $_.FullName) -replace '<TreatWarningAsError>false', '<TreatWarningAsError>true' | Set-Content -Path $_.FullName } # --------------------------------------------------------------- # Job templates Loading