-
Notifications
You must be signed in to change notification settings - Fork 440
set standard in ps1 files #15916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: prepare-for-v3.0.0
Are you sure you want to change the base?
set standard in ps1 files #15916
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -85,7 +85,8 @@ $cmake_args=@( | |
| "-DCMAKE_TOOLCHAIN_FILE=`"${vcpkg_root}/scripts/buildsystems/vcpkg.cmake`"", | ||
| "-DCMAKE_BUILD_TYPE=${env:CONFIG}", | ||
| "-DVCPKG_TARGET_TRIPLET=${env:VCPKG_TRIPLET}", | ||
| "-DCMAKE_CXX_COMPILER=cl.exe" | ||
| "-DCMAKE_CXX_COMPILER=cl.exe", | ||
| "-DCMAKE_CXX_STANDARD=17" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The repository style guide indicates that C++14 is the minimum supported standard. To ensure the codebase remains compatible with C++14, it's preferable to enforce this standard in the CI builds. Setting it to C++17 could allow features that are not C++14 compatible to be merged. References
|
||
| ) | ||
|
|
||
| Write-Host "$(Get-Date -Format o) Configuring CMake with $cmake_args" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The repository style guide indicates that C++14 is the minimum supported standard. To ensure the codebase remains compatible with C++14, it's preferable to enforce this standard in the CI builds. Setting it to C++17 could allow features that are not C++14 compatible to be merged.
References