diff options
author | Morné Chamberlain <thefreeman.za@gmail.com> | 2012-10-10 22:01:48 (GMT) |
---|---|---|
committer | Morné Chamberlain <thefreeman.za@gmail.com> | 2012-10-13 07:47:50 (GMT) |
commit | b8457ad18b7eac2998fdd29fbc295c1dadbbba42 (patch) | |
tree | 0247a654ca1f247e5b92b8ba57f90697734c42ec /Source/cmake.cxx | |
parent | 4c28506ac4b4ed2de37072b323cc9d1ee0ade1f3 (diff) | |
download | CMake-b8457ad18b7eac2998fdd29fbc295c1dadbbba42.zip CMake-b8457ad18b7eac2998fdd29fbc295c1dadbbba42.tar.gz CMake-b8457ad18b7eac2998fdd29fbc295c1dadbbba42.tar.bz2 |
Added a generator for Sublime Text 2 project files.
The generator adds all list and source files for each defined
project. The generated project files also include build_system
entries that run the platform-specific make on the generated
Makefiles. A build_system entry is created for each target
that was defined in the CMakeLists.txt files.
At the moment this has only been tested with C/C++ projects.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 0123427..3a25605 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -94,6 +94,7 @@ #if !defined(CMAKE_BOOT_MINGW) # include "cmExtraCodeBlocksGenerator.h" #endif +#include "cmExtraSublimeTextGenerator.h" #ifdef CMAKE_USE_KDEVELOP # include "cmGlobalKdevelopGenerator.h" @@ -1847,6 +1848,8 @@ void cmake::AddDefaultExtraGenerators() this->AddExtraGenerator(cmExtraCodeBlocksGenerator::GetActualName(), &cmExtraCodeBlocksGenerator::New); + this->AddExtraGenerator(cmExtraSublimeTextGenerator::GetActualName(), + &cmExtraSublimeTextGenerator::New); #ifdef CMAKE_USE_ECLIPSE this->AddExtraGenerator(cmExtraEclipseCDT4Generator::GetActualName(), |