cmTarget: Make GetSourceFiles string overload private.

Consumers should use the cmSourceFile overload, which is now
always the case.
This commit is contained in:
Stephen Kelly 2014-04-05 12:35:43 +02:00
parent 92e2fbe103
commit a4e6bf8e36
1 changed files with 3 additions and 3 deletions

View File

@ -135,9 +135,6 @@ public:
/** /**
* Get the list of the source files used by this target * Get the list of the source files used by this target
*/ */
void GetSourceFiles(std::vector<std::string> &files,
const std::string& config,
cmTarget const* head = 0) const;
void GetSourceFiles(std::vector<cmSourceFile*> &files, void GetSourceFiles(std::vector<cmSourceFile*> &files,
const std::string& config, const std::string& config,
cmTarget const* head = 0) const; cmTarget const* head = 0) const;
@ -683,6 +680,9 @@ private:
const std::string& config, const std::string& config,
bool contentOnly) const; bool contentOnly) const;
void GetSourceFiles(std::vector<std::string> &files,
const std::string& config,
cmTarget const* head = 0) const;
private: private:
std::string Name; std::string Name;
std::vector<cmCustomCommand> PreBuildCommands; std::vector<cmCustomCommand> PreBuildCommands;