summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraSublimeTextGenerator.h
diff options
context:
space:
mode:
authorMorné Chamberlain <thefreeman.za@gmail.com>2012-10-11 20:53:40 (GMT)
committerMorné Chamberlain <thefreeman.za@gmail.com>2012-10-13 07:47:50 (GMT)
commit4d585b109d5f5984d285a82c5582f9b585e9792b (patch)
tree8e4a5b294b5fec5752c4ee718dd02d92876eb391 /Source/cmExtraSublimeTextGenerator.h
parent75b060ff209c02a1d709fa834a853f4750427cb1 (diff)
downloadCMake-4d585b109d5f5984d285a82c5582f9b585e9792b.zip
CMake-4d585b109d5f5984d285a82c5582f9b585e9792b.tar.gz
CMake-4d585b109d5f5984d285a82c5582f9b585e9792b.tar.bz2
Cleaned up the Sublime Text 2 Generator code a bit.
Diffstat (limited to 'Source/cmExtraSublimeTextGenerator.h')
-rw-r--r--Source/cmExtraSublimeTextGenerator.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/Source/cmExtraSublimeTextGenerator.h b/Source/cmExtraSublimeTextGenerator.h
index b2d47d9..e23e472 100644
--- a/Source/cmExtraSublimeTextGenerator.h
+++ b/Source/cmExtraSublimeTextGenerator.h
@@ -45,7 +45,22 @@ private:
void CreateNewProjectFile(const std::vector<cmLocalGenerator*>& lgs,
const std::string& filename);
-
+ void GetFileList(const std::vector<cmLocalGenerator*>& lgs,
+ std::vector<std::string>& allFiles);
+ void GetFileStringAndFolderSet(const std::vector<cmLocalGenerator*>& lgs,
+ const cmMakefile* mf,
+ const std::vector<std::string>& allFiles,
+ std::stringstream& fileIncludePatternsStream,
+ std::set<std::string>&
+ folderIncludePatternsSet);
+ /** Appends all targets as build systems to the project file and get all
+ * include directories and compiler definitions used.
+ */
+ void AppendAllTargets(const std::vector<cmLocalGenerator*>& lgs,
+ const cmMakefile* mf,
+ cmGeneratedFileStream& fout,
+ std::set<std::string>& includeDirs,
+ std::set<std::string>& defines);
std::string BuildMakeCommand(const std::string& make, const char* makefile,
const char* target);
void AppendTarget(cmGeneratedFileStream& fout,