[cmake-developers] Sublime Text 2 / SublimeClang Generator
Mathias Gaunard
mathias.gaunard at ens-lyon.org
Sat Oct 13 22:32:45 EDT 2012
On 10/13/2012 12:53 PM, Morné Chamberlain wrote:
> At the moment all the source files are explicitly listed in the
> Sublime Text project file. My thinking here was to try and ensure that
> the generated Sublime Text project represents only the files that
> CMake is going to include in the build system (and the CMakeLists.txt
> and .cmake files themselves). This also appeared to be similar to what
> the generators for other IDEs do.
I don't know about the other generators, but the Eclipse generator at
least will simply add the source directory to the project.
The problem which your "source" approach is that it doesn't work for
projects with lots of headers.
Some projects are even header-only.
More information about the cmake-developers
mailing list