diff options
author | Brad King <brad.king@kitware.com> | 2021-04-23 14:36:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-04-23 14:44:01 (GMT) |
commit | 1cc63f2cd5de7841ad5b6f0b97a387f448fa4e6d (patch) | |
tree | ee1176899244b1305f9257ce1644cba4c604d7f6 | |
parent | dd44a98bfe2c5dc79cb3058cd222835023b80dfd (diff) | |
download | CMake-1cc63f2cd5de7841ad5b6f0b97a387f448fa4e6d.zip CMake-1cc63f2cd5de7841ad5b6f0b97a387f448fa4e6d.tar.gz CMake-1cc63f2cd5de7841ad5b6f0b97a387f448fa4e6d.tar.bz2 |
Help: Fix typos in cmake-compile-features(7)
-rw-r--r-- | Help/manual/cmake-compile-features.7.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Help/manual/cmake-compile-features.7.rst b/Help/manual/cmake-compile-features.7.rst index 0d15ddf..2fa469f 100644 --- a/Help/manual/cmake-compile-features.7.rst +++ b/Help/manual/cmake-compile-features.7.rst @@ -130,7 +130,7 @@ Optional Compile Features ========================= Compile features may be preferred if available, without creating a hard -requirement. For example, a library may provides 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 an abstraction ``interface.h`` header containing something like: .. code-block:: c++ |