mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Makefiles: Compute local object files on demand.
Don't compute them up front.
This commit is contained in:
@@ -224,10 +224,6 @@ public:
|
||||
// write the target rules for the local Makefile into the stream
|
||||
void WriteLocalAllRules(std::ostream& ruleFileStream);
|
||||
|
||||
void AddLocalObjectFile(cmTarget* target, cmSourceFile* sf,
|
||||
std::string objNoTargetDir,
|
||||
bool hasSourceExtension);
|
||||
|
||||
std::vector<std::string> const& GetLocalHelp() { return this->LocalHelp; }
|
||||
|
||||
/** Get whether to create rules to generate preprocessed and
|
||||
@@ -366,7 +362,9 @@ private:
|
||||
LocalObjectInfo():HasSourceExtension(false), HasPreprocessRule(false),
|
||||
HasAssembleRule(false) {}
|
||||
};
|
||||
std::map<std::string, LocalObjectInfo> LocalObjectFiles;
|
||||
void GetLocalObjectFiles(
|
||||
std::map<std::string, LocalObjectInfo> &localObjectFiles);
|
||||
|
||||
void WriteObjectConvenienceRule(std::ostream& ruleFileStream,
|
||||
const char* comment, const char* output,
|
||||
LocalObjectInfo const& info);
|
||||
|
||||
Reference in New Issue
Block a user