summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/Swift_MODULE_DIRECTORY.rst
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2019-05-09 05:49:33 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-16 18:41:05 (GMT)
commitd745551fb6311f5db6e8133df63a7fc410e8a68b (patch)
tree371700340b81286c8540009f3c884a9c853426d6 /Help/prop_tgt/Swift_MODULE_DIRECTORY.rst
parent9a182c9e5b36ba68fc91b53e3d755c263ee3d0ef (diff)
downloadCMake-d745551fb6311f5db6e8133df63a7fc410e8a68b.zip
CMake-d745551fb6311f5db6e8133df63a7fc410e8a68b.tar.gz
CMake-d745551fb6311f5db6e8133df63a7fc410e8a68b.tar.bz2
Help: add some initial documentation for Swift support
Diffstat (limited to 'Help/prop_tgt/Swift_MODULE_DIRECTORY.rst')
-rw-r--r--Help/prop_tgt/Swift_MODULE_DIRECTORY.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Help/prop_tgt/Swift_MODULE_DIRECTORY.rst b/Help/prop_tgt/Swift_MODULE_DIRECTORY.rst
new file mode 100644
index 0000000..d404251
--- /dev/null
+++ b/Help/prop_tgt/Swift_MODULE_DIRECTORY.rst
@@ -0,0 +1,10 @@
+Swift_MODULE_DIRECTORY
+----------------------
+
+Specify output directory for Swift modules provided by the target.
+
+If the target contains Swift source files, this specifies the directory in which
+the modules will be placed. When this property is not set, the modules will be
+placed in the build directory corresponding to the target's source directory.
+If the variable :variable:`CMAKE_Swift_MODULE_DIRECTORY` is set when a target is
+created its value is used to initialise this property.