diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2013-02-06 18:31:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-02-19 19:43:20 (GMT) |
commit | 4760eade425e8e294ac9400785ffce70912d5b43 (patch) | |
tree | 42c6a522be0010a7cfc22bbe453bff89dee570b1 /Source/cmExtraSublimeTextGenerator.h | |
parent | da0898e0a2f01cfbc5f2a1061ea94662fd3e455e (diff) | |
download | CMake-4760eade425e8e294ac9400785ffce70912d5b43.zip CMake-4760eade425e8e294ac9400785ffce70912d5b43.tar.gz CMake-4760eade425e8e294ac9400785ffce70912d5b43.tar.bz2 |
Remove ability to generate sublime clang files.
SublimeClang is a optional plugin to SublimeText and I felt it
shouldn't be part of the generator for the following reasons:
1. Reduces the amount of sublime and sublimeClang specific
code we have to maintain inside CMake.
2. In testing the SublimeClang commands generated did not work
for the VTK project.
For people that do want this feature I recommend that they
looking into https://gist.github.com/robertmaynard/4724705 for a
way to use CMAKE_EXPORT_COMPILE_COMMANDS to generate JSON files
that can be used by SublimeClang.
Diffstat (limited to 'Source/cmExtraSublimeTextGenerator.h')
-rw-r--r-- | Source/cmExtraSublimeTextGenerator.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmExtraSublimeTextGenerator.h b/Source/cmExtraSublimeTextGenerator.h index 8c0c1f3..7902593 100644 --- a/Source/cmExtraSublimeTextGenerator.h +++ b/Source/cmExtraSublimeTextGenerator.h @@ -48,9 +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 * include directories and compiler definitions used. */ |