diff options
author | Bruno Pedrosa <brupelo@gmail.com> | 2016-10-10 19:18:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-12 16:38:00 (GMT) |
commit | 19ffc0729fdc12b8c0874db7ae1c5e576b48ba10 (patch) | |
tree | e30bb9ea524a85352ea30081173600c42587308f /Source/cmExtraSublimeTextGenerator.h | |
parent | 8eb6038d0d98da7f7e04462a72bd2e7529a7baff (diff) | |
download | CMake-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.h | 2 |
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 |