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. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers