summaryrefslogtreecommitdiffstats
path: root/Source/cmRulePlaceholderExpander.h
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2019-01-16 19:42:10 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-18 12:52:17 (GMT)
commit0ffe8f8844bb74e785feec84e4871ec139185625 (patch)
treec9c465039cae8273f6b04b2c62e2f8de2babd09d /Source/cmRulePlaceholderExpander.h
parentc59eae7ebc5423c2b06befd762f8639b0f23b7a0 (diff)
downloadCMake-0ffe8f8844bb74e785feec84e4871ec139185625.zip
CMake-0ffe8f8844bb74e785feec84e4871ec139185625.tar.gz
CMake-0ffe8f8844bb74e785feec84e4871ec139185625.tar.bz2
Ninja: support `SWIFT_MODULE_NAME` property
Add a new `SWIFT_MODULE_NAME` property that defaults to the target name. This is needed as otherwise, the first source file determines the module name. Issue: #18800
Diffstat (limited to 'Source/cmRulePlaceholderExpander.h')
-rw-r--r--Source/cmRulePlaceholderExpander.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmRulePlaceholderExpander.h b/Source/cmRulePlaceholderExpander.h
index a936747..7aa63db 100644
--- a/Source/cmRulePlaceholderExpander.h
+++ b/Source/cmRulePlaceholderExpander.h
@@ -59,6 +59,7 @@ public:
const char* DependencyFile;
const char* FilterPrefix;
const char* SwiftAuxiliarySources;
+ const char* SwiftModuleName;
};
// Expand rule variables in CMake of the type found in language rules