diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-29 15:06:30 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-29 15:06:30 (GMT) |
commit | 8b3b49a010219eeba327d882e1fe38f721b6bed8 (patch) | |
tree | 095e639d4828f7a0e4e905c1f14d5fe32369e923 /Source/cmTarget.h | |
parent | 627ab62ce093d8f50ed0ba50a1dd1081165b19f1 (diff) | |
download | CMake-8b3b49a010219eeba327d882e1fe38f721b6bed8.zip CMake-8b3b49a010219eeba327d882e1fe38f721b6bed8.tar.gz CMake-8b3b49a010219eeba327d882e1fe38f721b6bed8.tar.bz2 |
ENH: major change, the cmMakefile now contains a master list of cmSourceFile objects, the source lists reference the list via pointers, also you can now set properties on a file, like compile flags, abstract, etc.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 848dc41..7f3c8b7 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -67,9 +67,9 @@ public: /** * Get the list of the source files used by this target */ - const std::vector<cmSourceFile> &GetSourceFiles() const + const std::vector<cmSourceFile*> &GetSourceFiles() const {return m_SourceFiles;} - std::vector<cmSourceFile> &GetSourceFiles() {return m_SourceFiles;} + std::vector<cmSourceFile*> &GetSourceFiles() {return m_SourceFiles;} /** * Get the list of the source files used by this target @@ -95,7 +95,7 @@ public: * Generate the SourceFilesList from the SourceLists. This should only be * done once to be safe. */ - void GenerateSourceFilesFromSourceLists(const cmMakefile &mf); + void GenerateSourceFilesFromSourceLists(cmMakefile &mf); /** Add a utility on which this project depends. A utility is an executable * name as would be specified to the ADD_EXECUTABLE or UTILITY_SOURCE @@ -109,7 +109,7 @@ private: std::vector<cmCustomCommand> m_CustomCommands; std::vector<std::string> m_SourceLists; TargetType m_TargetType; - std::vector<cmSourceFile> m_SourceFiles; + std::vector<cmSourceFile*> m_SourceFiles; LinkLibraries m_LinkLibraries; bool m_InAll; std::string m_InstallPath; |