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
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
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
CMake
CMake
Commits
1cc63f2c
Commit
1cc63f2c
authored
3 years ago
by
Brad King
Browse files
Options
Downloads
Patches
Plain Diff
Help: Fix typos in cmake-compile-features(7)
parent
dd44a98b
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Help/manual/cmake-compile-features.7.rst
+6
-6
6 additions, 6 deletions
Help/manual/cmake-compile-features.7.rst
with
6 additions
and
6 deletions
Help/manual/cmake-compile-features.7.rst
+
6
−
6
View file @
1cc63f2c
...
...
@@ -130,7 +130,7 @@ Optional Compile Features
=========================
Compile features may be preferred if available, without creating a hard
requirement. For example, a library may provide
s
alternative
requirement. For example, a library may provide alternative
implementations depending on whether the ``cxx_variadic_templates``
feature is available:
...
...
@@ -207,11 +207,11 @@ symbol, and compiler support determines what it is expanded to:
In this case, ``Foo_FINAL`` will expand to ``final`` if the
compiler supports the keyword, or to empty otherwise.
In this use-case, the
CMake
code
will
wish to enable a particular language
In this use-case, the
project
code
may
wish to enable a particular language
standard if available from the compiler. The :prop_tgt:`CXX_STANDARD`
target property
variable
may be set to the desired language standard
for a particular
target, and the :variable:`CMAKE_CXX_STANDARD`
may be
set to
influence all following targets:
target property may be set to the desired language standard
for a particular
target, and the :variable:`CMAKE_CXX_STANDARD`
variable may be set to
influence all following targets:
.. code-block:: cmake
...
...
@@ -284,7 +284,7 @@ while a header at ``no_variadics/interface.h`` may contain:
static int accumulate() { return I1 + I2 + I3 + I4; }
};
It
would
be possible to write a abstraction ``interface.h`` header
It
may
be possible to write a
n
abstraction ``interface.h`` header
containing something like:
.. code-block:: c++
...
...
This diff is collapsed.
Click to expand it.
Brad King
@brad.king
mentioned in commit
8bc64a0c
·
3 years ago
mentioned in commit
8bc64a0c
mentioned in commit 8bc64a0c404ccb7819baf7e00eb3d2e63d9cf347
Toggle commit list
Brad King
@brad.king
mentioned in commit
21c40086
·
3 years ago
mentioned in commit
21c40086
mentioned in commit 21c40086ee59bb44a286d1820089fbc7787d014a
Toggle commit list
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