summaryrefslogtreecommitdiff
path: root/Source/cmExtraSublimeTextGenerator.h
diff options
context:
space:
mode:
authorMorné Chamberlain <thefreeman.za@gmail.com>2012-11-24 20:19:35 +0200
committerMorné Chamberlain <thefreeman.za@gmail.com>2012-11-24 20:19:35 +0200
commit089d9ccdce530ebd08dfc4681833cefeff4a7eb9 (patch)
tree2abf72eb6037f5f23edd15ba760ac06cd96b8dd1 /Source/cmExtraSublimeTextGenerator.h
parent44c2eee8967860499a8b86baccd188799ad25966 (diff)
downloadcmake-089d9ccdce530ebd08dfc4681833cefeff4a7eb9.tar.gz
SublimeText 2 Gen: Set the sublimeclang_options_script property.
The sublimeclang_options_script property is now set in the project file. It is set to execute a python script that reads the JSON options file to get options per source file. Python must be installed and in the path for this feature to work from Sublime Text.
Diffstat (limited to 'Source/cmExtraSublimeTextGenerator.h')
-rw-r--r--Source/cmExtraSublimeTextGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmExtraSublimeTextGenerator.h b/Source/cmExtraSublimeTextGenerator.h
index 26e09a64dc..8c0c1f39e3 100644
--- a/Source/cmExtraSublimeTextGenerator.h
+++ b/Source/cmExtraSublimeTextGenerator.h
@@ -48,6 +48,7 @@ private:
void CreateNewProjectFile(const std::vector<cmLocalGenerator*>& lgs,
const std::string& filename);
+ void WriteSublimeClangOptionsScript(const std::string& filename);
void WriteSublimeClangOptionsFile(const MapSourceFileFlags& sourceFileFlags,
const std::string& filename);
/** Appends all targets as build systems to the project file and get all