summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2019-02-24 06:19:45 (GMT)
committerCraig Scott <craig.scott@crascit.com>2019-02-24 06:19:45 (GMT)
commitdf8aa3c8add4de253c8eb80129b0893c16d63f2d (patch)
tree7f2be7f2e6546e7eb25d2792c4e55d4892df7e21
parent7975edeac5885634af347e6774e7928277d6bc17 (diff)
downloadCMake-df8aa3c8add4de253c8eb80129b0893c16d63f2d.zip
CMake-df8aa3c8add4de253c8eb80129b0893c16d63f2d.tar.gz
CMake-df8aa3c8add4de253c8eb80129b0893c16d63f2d.tar.bz2
Help: try_compile() readability and grammar improvements
-rw-r--r--Help/command/try_compile.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst
index 032e8ed..7c6bc65 100644
--- a/Help/command/try_compile.rst
+++ b/Help/command/try_compile.rst
@@ -88,12 +88,12 @@ The options are:
given to the ``CMAKE_FLAGS`` option will be ignored.
``LINK_OPTIONS <options>...``
- Specify link step options to pass to :command:`target_link_options` or
- to :prop_tgt:`STATIC_LIBRARY_OPTIONS` target property in the generated
- project, depending of the :variable:`CMAKE_TRY_COMPILE_TARGET_TYPE` variable.
+ Specify link step options to pass to :command:`target_link_options` or to
+ set the :prop_tgt:`STATIC_LIBRARY_OPTIONS` target property in the generated
+ project, depending on the :variable:`CMAKE_TRY_COMPILE_TARGET_TYPE` variable.
``OUTPUT_VARIABLE <var>``
- Store the output from the build process the given variable.
+ Store the output from the build process in the given variable.
``<LANG>_STANDARD <std>``
Specify the :prop_tgt:`C_STANDARD`, :prop_tgt:`CXX_STANDARD`,
@@ -139,8 +139,8 @@ behavior at link time, the ``check_pie_supported()`` command from the
:module:`CheckPIESupported` module must be called before using the
:command:`try_compile` command.
-The current settings of :policy:`CMP0065` and :policy:`CMP0083` are set in the
-generated project.
+The current settings of :policy:`CMP0065` and :policy:`CMP0083` are propagated
+through to the generated test project.
Set the :variable:`CMAKE_TRY_COMPILE_CONFIGURATION` variable to choose
a build configuration.