mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmDyndepCollation: update template module database files if requested
This commit is contained in:
@@ -41,6 +41,14 @@ public:
|
||||
cmBuildDatabase(cmBuildDatabase const&);
|
||||
~cmBuildDatabase();
|
||||
|
||||
using LookupTable = std::map<std::string, TranslationUnit*>;
|
||||
// Generate a lookup table for the database.
|
||||
//
|
||||
// Only use when loading a single target's database in order to populate it.
|
||||
LookupTable GenerateLookupTable();
|
||||
|
||||
bool HasPlaceholderNames() const;
|
||||
|
||||
void Write(std::string const& path) const;
|
||||
|
||||
static std::unique_ptr<cmBuildDatabase> Load(std::string const& path);
|
||||
|
||||
Reference in New Issue
Block a user