summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-02-10 16:18:46 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-05 14:35:10 (GMT)
commit791b4d26d6cbcb69615ddfbd1872a34a2e214b39 (patch)
treec79234751e9638b6dcf151f50355846f8ac4d984 /Source/cmGlobalNinjaGenerator.h
parent4b233591179f9fe266e9157ef89e0a97854aa54c (diff)
downloadCMake-791b4d26d6cbcb69615ddfbd1872a34a2e214b39.zip
CMake-791b4d26d6cbcb69615ddfbd1872a34a2e214b39.tar.gz
CMake-791b4d26d6cbcb69615ddfbd1872a34a2e214b39.tar.bz2
ninja: add experimental infrastructure to generate modmap files with dyndep
The scan step may need to output additional information for the compiler, not just the build tool. The modmap is assumed to be beside the object output. Additional refactoring may open up a channel to inform per-source paths to the dyndep rule in the future, but is not done here.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index b21586b..96065ed 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -393,15 +393,13 @@ public:
bool HasOutputPathPrefix() const { return !this->OutputPathPrefix.empty(); }
void StripNinjaOutputPathPrefixAsSuffix(std::string& path);
- bool WriteDyndepFile(std::string const& dir_top_src,
- std::string const& dir_top_bld,
- std::string const& dir_cur_src,
- std::string const& dir_cur_bld,
- std::string const& arg_dd,
- std::vector<std::string> const& arg_ddis,
- std::string const& module_dir,
- std::vector<std::string> const& linked_target_dirs,
- std::string const& arg_lang);
+ bool WriteDyndepFile(
+ std::string const& dir_top_src, std::string const& dir_top_bld,
+ std::string const& dir_cur_src, std::string const& dir_cur_bld,
+ std::string const& arg_dd, std::vector<std::string> const& arg_ddis,
+ std::string const& module_dir,
+ std::vector<std::string> const& linked_target_dirs,
+ std::string const& arg_lang, std::string const& arg_modmapfmt);
virtual std::string BuildAlias(const std::string& alias,
const std::string& /*config*/) const