Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Jazeix
CMake
Commits
5650bebc
Commit
5650bebc
authored
3 years ago
by
Michael Hirsch
Committed by
Brad King
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Help: Note CXX_STANDARD values added vs. CMake version
parent
13fa9701
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Help/prop_tgt/CXX_STANDARD.rst
+25
-1
25 additions, 1 deletion
Help/prop_tgt/CXX_STANDARD.rst
with
25 additions
and
1 deletion
Help/prop_tgt/CXX_STANDARD.rst
+
25
−
1
View file @
5650bebc
...
...
@@ -11,7 +11,31 @@ flag such as ``-std=gnu++11`` to the compile line. For compilers that
have no notion of a standard level, such as Microsoft Visual C++ before
2015 Update 3, this has no effect.
Supported values are ``98``, ``11``, ``14``, ``17``, ``20``, ``23``.
Supported values are:
``98``
C++98
``11``
C++11
``14``
C++14
``17``
.. versionadded:: 3.8
C++17
``20``
.. versionadded:: 3.12
C++20
``23``
.. versionadded:: 3.20
C++23
If the value requested does not result in a compile flag being added for
the compiler in use, a previous standard flag will be added instead. This
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment