diff options
author | Brad King <brad.king@kitware.com> | 2022-06-23 13:23:48 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-06-23 13:23:56 (GMT) |
commit | 5d8289116d4f23774567b665fb982894d9e16efd (patch) | |
tree | c4ef48f43f44294eb8f90661e0888004c51c55e1 /Help/prop_tgt | |
parent | 1208276f96c2e71d752dda199343d76856b40da7 (diff) | |
parent | 9a0a94fdaaa04474ff37cb2896cda640d8013b43 (diff) | |
download | CMake-5d8289116d4f23774567b665fb982894d9e16efd.zip CMake-5d8289116d4f23774567b665fb982894d9e16efd.tar.gz CMake-5d8289116d4f23774567b665fb982894d9e16efd.tar.bz2 |
Merge topic 'vs-compile-batching'
9a0a94fdaa VS: Add variable to to turn off Visual Studio compile batching
a7ebb73929 Help: Improve formatting in VS_NO_COMPILE_BATCHING docs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7405
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r-- | Help/prop_tgt/VS_NO_COMPILE_BATCHING.rst | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Help/prop_tgt/VS_NO_COMPILE_BATCHING.rst b/Help/prop_tgt/VS_NO_COMPILE_BATCHING.rst index f8a9fa6..e14ae58 100644 --- a/Help/prop_tgt/VS_NO_COMPILE_BATCHING.rst +++ b/Help/prop_tgt/VS_NO_COMPILE_BATCHING.rst @@ -6,14 +6,17 @@ VS_NO_COMPILE_BATCHING Turn off compile batching for the target. Usually MSBuild calls the compiler with multiple c/cpp files and compiler starts subprocesses for each file to make the build parallel. If you want compiler to be invoked with one file at -a time set VS_NO_COMPILE_BATCHING to ON. If this flag is set MSBuild will call -compiler with one c/cpp file at a time. Useful when you want to use tool that -replaces the compiler, for example some build caching tool. +a time set ``VS_NO_COMPILE_BATCHING`` to ON. If this flag is set MSBuild will +call compiler with one c/cpp file at a time. Useful when you want to use tool +that replaces the compiler, for example some build caching tool. + +This property is initialized by the :variable:`CMAKE_VS_NO_COMPILE_BATCHING` +variable if it is set when a target is created. Example ^^^^^^^ -This shows setting the variable for the target foo. +This shows setting the property for the target ``foo``. .. code-block:: cmake |