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
This commit is contained in:
Bruno Pedrosa
2016-10-10 21:18:54 +02:00
committed by Brad King
parent 8eb6038d0d
commit 19ffc0729f
5 changed files with 26 additions and 2 deletions

View File

@@ -64,6 +64,8 @@ private:
std::string ComputeDefines(cmSourceFile* source, cmLocalGenerator* lg,
cmGeneratorTarget* gtgt);
bool ExcludeBuildFolder;
};
#endif