diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:14:05 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:14:05 +0900 |
commit | 2916e0eaa4feeff9c06755fc988ec867c23bb2db (patch) | |
tree | 2b9272a53693052de544019e9c842dc5c1d06f4f /Help/variable | |
parent | d140263a497b4a86818ab5e2017a66df43eb83fb (diff) | |
download | cmake-2916e0eaa4feeff9c06755fc988ec867c23bb2db.tar.gz cmake-2916e0eaa4feeff9c06755fc988ec867c23bb2db.tar.bz2 cmake-2916e0eaa4feeff9c06755fc988ec867c23bb2db.zip |
Imported Upstream version 3.15.1upstream/3.15.1
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst | 5 | ||||
-rw-r--r-- | Help/variable/CMAKE_Swift_NUM_THREADS.rst | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst b/Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst index 6ed68c919..8b54e7ecc 100644 --- a/Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst +++ b/Help/variable/CMAKE_MSVC_RUNTIME_LIBRARY.rst @@ -20,6 +20,11 @@ support per-configuration specification. For example, the code: selects for all following targets a multi-threaded statically-linked runtime library with or without debug information depending on the configuration. +If this variable is not set then the :prop_tgt:`MSVC_RUNTIME_LIBRARY` target +property will not be set automatically. If that property is not set then +CMake uses the default value ``MultiThreaded$<$<CONFIG:Debug>:Debug>DLL`` +to select a MSVC runtime library. + .. note:: This variable has effect only when policy :policy:`CMP0091` is set to ``NEW`` diff --git a/Help/variable/CMAKE_Swift_NUM_THREADS.rst b/Help/variable/CMAKE_Swift_NUM_THREADS.rst new file mode 100644 index 000000000..cb3367855 --- /dev/null +++ b/Help/variable/CMAKE_Swift_NUM_THREADS.rst @@ -0,0 +1,8 @@ +CMAKE_Swift_NUM_THREADS +----------------------- + +Number of threads for parallel compilation for Swift targets. + +This variable controls the number of parallel jobs that the swift driver creates +for building targets. If not specified, it will default to the number of +logical CPUs on the host. |