summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2019-07-01 03:50:08 (GMT)
committerSaleem Abdulrasool <compnerd@compnerd.org>2019-07-02 17:45:07 (GMT)
commit08cd7f6a02fcfb711f776a8083e53040b48aec8a (patch)
tree7ff599c827bf56526ba138749e1cc9197b51fc6e /Help/variable
parent8a42cd155f00d9418fa60f995b466fff7c1afaa5 (diff)
downloadCMake-08cd7f6a02fcfb711f776a8083e53040b48aec8a.zip
CMake-08cd7f6a02fcfb711f776a8083e53040b48aec8a.tar.gz
CMake-08cd7f6a02fcfb711f776a8083e53040b48aec8a.tar.bz2
Swift: support multithreaded compilation
Query the number of logical CPUs available to enable parallel compilation for Swift.
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_Swift_NUM_THREADS.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_Swift_NUM_THREADS.rst b/Help/variable/CMAKE_Swift_NUM_THREADS.rst
new file mode 100644
index 0000000..cb33678
--- /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.