diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-01-16 19:42:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-18 12:52:17 (GMT) |
commit | 0ffe8f8844bb74e785feec84e4871ec139185625 (patch) | |
tree | c9c465039cae8273f6b04b2c62e2f8de2babd09d /Source/cmRulePlaceholderExpander.h | |
parent | c59eae7ebc5423c2b06befd762f8639b0f23b7a0 (diff) | |
download | CMake-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.h | 1 |
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 |