summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraSublimeTextGenerator.h
diff options
context:
space:
mode:
authorBruno Pedrosa <brupelo@gmail.com>2016-10-10 19:18:54 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-12 16:38:00 (GMT)
commit19ffc0729fdc12b8c0874db7ae1c5e576b48ba10 (patch)
treee30bb9ea524a85352ea30081173600c42587308f /Source/cmExtraSublimeTextGenerator.h
parent8eb6038d0d98da7f7e04462a72bd2e7529a7baff (diff)
downloadCMake-19ffc0729fdc12b8c0874db7ae1c5e576b48ba10.zip
CMake-19ffc0729fdc12b8c0874db7ae1c5e576b48ba10.tar.gz
CMake-19ffc0729fdc12b8c0874db7ae1c5e576b48ba10.tar.bz2
Sublime: Exclude build tree from source tree project only optionally
Create a `CMAKE_SUBLIME_TEXT_2_EXCLUDE_BUILD_TREE` variable to control addition of the build tree to `folder_exclude_patterns` in the `.sublime-project`. Change the default of this behavior to OFF. Closes: #16351
Diffstat (limited to 'Source/cmExtraSublimeTextGenerator.h')
-rw-r--r--Source/cmExtraSublimeTextGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmExtraSublimeTextGenerator.h b/Source/cmExtraSublimeTextGenerator.h
index c917992..0c58221 100644
--- a/Source/cmExtraSublimeTextGenerator.h
+++ b/Source/cmExtraSublimeTextGenerator.h
@@ -64,6 +64,8 @@ private:
std::string ComputeDefines(cmSourceFile* source, cmLocalGenerator* lg,
cmGeneratorTarget* gtgt);
+
+ bool ExcludeBuildFolder;
};
#endif