diff options
author | Alex Neundorf <neundorf@kde.org> | 2013-05-20 15:28:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-11-25 15:48:34 (GMT) |
commit | 9414217b3b04cd4bdc40d7daddd0b05d9e3c01c1 (patch) | |
tree | aa6387925840c1e66e2b8e67fbdbb4bfffbde411 /Source/cmExtraKateGenerator.h | |
parent | 644e0128633d34d5ea31ad2bfe10d0fc399ba899 (diff) | |
download | CMake-9414217b3b04cd4bdc40d7daddd0b05d9e3c01c1.zip CMake-9414217b3b04cd4bdc40d7daddd0b05d9e3c01c1.tar.gz CMake-9414217b3b04cd4bdc40d7daddd0b05d9e3c01c1.tar.bz2 |
kate: insert build targets
This can be used by the build plugin in kate.
Code is quite similar to the one for Eclipse.
Alex
Diffstat (limited to 'Source/cmExtraKateGenerator.h')
-rw-r--r-- | Source/cmExtraKateGenerator.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmExtraKateGenerator.h b/Source/cmExtraKateGenerator.h index 19147f2..4979eff 100644 --- a/Source/cmExtraKateGenerator.h +++ b/Source/cmExtraKateGenerator.h @@ -41,6 +41,13 @@ public: private: void CreateKateProjectFile(const cmMakefile* mf) const; void CreateDummyKateProjectFile(const cmMakefile* mf) const; + void WriteTargets(const cmMakefile* mf, cmGeneratedFileStream& fout) const; + void AppendTarget(cmGeneratedFileStream& fout, + const std::string& target, + const std::string& make, + const std::string& makeArgs, + const std::string& path) const; + std::string GenerateFilesString(const cmMakefile* mf) const; std::string GetPathBasename(const std::string& path) const; std::string GenerateProjectName(const std::string& name, |