diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-02-18 19:13:39 (GMT) |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-02-18 19:15:47 (GMT) |
commit | c048cb75fcee6b31cfacdce714b343c6623f5c9c (patch) | |
tree | b40ae8046c037d86f4758a85935b1af9d87f00bd /Source/cmRulePlaceholderExpander.h | |
parent | 75b45956e044701c0ebe6dbc433f629e0558bdb8 (diff) | |
download | CMake-c048cb75fcee6b31cfacdce714b343c6623f5c9c.zip CMake-c048cb75fcee6b31cfacdce714b343c6623f5c9c.tar.gz CMake-c048cb75fcee6b31cfacdce714b343c6623f5c9c.tar.bz2 |
Ninja: add properties for Swift partial module and doc
When building a swift object, we emit a partial swiftmodule and swiftdoc
that must be merged at the end. However, in order to do that, we need
to enumerate the swiftmodules and swiftdocs. As a result, the path must
be known to CMake. Rather than hardcoding the rules into CMake, create
a source property that we can query. This will allow us to create a
final placeholder to emit the merge rule.
Issue: #18800
Diffstat (limited to 'Source/cmRulePlaceholderExpander.h')
-rw-r--r-- | Source/cmRulePlaceholderExpander.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmRulePlaceholderExpander.h b/Source/cmRulePlaceholderExpander.h index 930eafd..93d0577 100644 --- a/Source/cmRulePlaceholderExpander.h +++ b/Source/cmRulePlaceholderExpander.h @@ -61,6 +61,8 @@ public: const char* SwiftAuxiliarySources; const char* SwiftModuleName; const char* SwiftLibraryName; + const char* SwiftPartialModule; + const char* SwiftPartialDoc; }; // Expand rule variables in CMake of the type found in language rules |