diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-10-21 15:58:07 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-10-21 15:58:07 (GMT) |
commit | 03be131c063f7d0b1ed566ddbc35e84d3b1d342f (patch) | |
tree | 626c316bf9c00b819cbab94edbc13b07b0054a4a /Source/cmLocalKdevelopGenerator.h | |
parent | fc459731dbe6d1513a37865913355e596229e0eb (diff) | |
download | CMake-03be131c063f7d0b1ed566ddbc35e84d3b1d342f.zip CMake-03be131c063f7d0b1ed566ddbc35e84d3b1d342f.tar.gz CMake-03be131c063f7d0b1ed566ddbc35e84d3b1d342f.tar.bz2 |
ENH: better support for kdevelop3
Diffstat (limited to 'Source/cmLocalKdevelopGenerator.h')
-rw-r--r-- | Source/cmLocalKdevelopGenerator.h | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/Source/cmLocalKdevelopGenerator.h b/Source/cmLocalKdevelopGenerator.h index e6d59e2..03eaeee 100644 --- a/Source/cmLocalKdevelopGenerator.h +++ b/Source/cmLocalKdevelopGenerator.h @@ -48,14 +48,24 @@ public: */ virtual void Generate(bool fromTheTop); protected: - ///Create the foo.kdevelop file. This one calls MergeProjectFiles() if it already exists, otherwise createNewProjectFile() - void CreateProjectFile(const std::string& dir, const std::string& projectname, const std::string& executable, const std::string& cmakeFilePattern); - /// Create the foo.kdevelop.filelist file, return false if it doesn't succeed - bool CreateFilelistFile(const std::string& dir, const std::string& projectname, std::string& cmakeFilePattern); - ///Reads the old foo.kdevelop line by line and only replaces the "important" lines - void MergeProjectFiles(const std::string& dir, const std::string& filename, const std::string& executable, const std::string& cmakeFilePattern); - ///Creates a new foo.kdevelop file - void CreateNewProjectFile(const std::string& dir, const std::string& filename, const std::string& executable, const std::string& cmakeFilePattern); + /** + Create the foo.kdevelop file. This one calls MergeProjectFiles() + if it already exists, otherwise createNewProjectFile() + */ + void CreateProjectFile(const std::string& outputDir, const std::string& projectDir, + const std::string& projectname, const std::string& executable, + const std::string& cmakeFilePattern); + ///! Create the foo.kdevelop.filelist file, return false if it doesn't succeed + bool CreateFilelistFile(const std::string& outputDir, const std::string& projectDir, + const std::string& projectname, std::string& cmakeFilePattern); + ///! Reads the old foo.kdevelop line by line and only replaces the "important" lines + void MergeProjectFiles(const std::string& outputDir, const std::string& projectDir, + const std::string& filename, const std::string& executable, + const std::string& cmakeFilePattern); + ///! Creates a new foo.kdevelop file + void CreateNewProjectFile(const std::string& outputDir, const std::string& projectDir, + const std::string& filename, const std::string& executable, + const std::string& cmakeFilePattern); }; |