mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Precompile Headers: Add REUSE_FROM signature
Add the ability to share precompiled headers artifacts between targets. Fixes: #19659
This commit is contained in:
@@ -462,6 +462,8 @@ public:
|
||||
const std::string& language) const;
|
||||
std::string GetPchSource(const std::string& config,
|
||||
const std::string& language) const;
|
||||
std::string GetPchFileObject(const std::string& config,
|
||||
const std::string& language);
|
||||
|
||||
bool IsSystemIncludeDirectory(const std::string& dir,
|
||||
const std::string& config,
|
||||
@@ -880,6 +882,7 @@ private:
|
||||
mutable std::set<std::string> LinkImplicitNullProperties;
|
||||
mutable std::map<std::string, std::string> PchHeaders;
|
||||
mutable std::map<std::string, std::string> PchSources;
|
||||
mutable std::map<std::string, std::string> PchObjectFiles;
|
||||
|
||||
void ExpandLinkItems(std::string const& prop, std::string const& value,
|
||||
std::string const& config,
|
||||
|
||||
Reference in New Issue
Block a user