The script contains the code to create a SublimeClang project file for the Sublime Text 2 editor. It allows for automatic parsing of the CMake path files to get the required include paths for the clang compiler.
WARNING: This code is incredibly loosely held together and not tested. I had great dreams of writing proper OO code with unit tests, but I should have been doing something else that day, so I present it here 'as is'.
The script takes a source directory (defaults to the current directory if not given),
the "out of source" build directory and an output stub. The project file will be
usage: SublimeProjectFileCreator [-h] -b BUILDDIR [-s SOURCEDIR] -o OUTPUT optional arguments: -h, --help show this help message and exit -b BUILDDIR, --builddir BUILDDIR Build directory -s SOURCEDIR, --sourcedir SOURCEDIR Source directory -o OUTPUT, --output OUTPUT Name of project file