There were some recent discussions regarding changing the build system
and creating a 'core' package with reduced libraries.
With that in mind I have created a simple python script (linux only)
to generate CMake build files as a proof of concept. The script
currently uses the existing paths/libs/includes from
environment.py(PythonOgreConfig_*) and generates the xml cache/wrapper
code as normal in the existing python-ogre directory.
The wrapper code for the above is compiled and the module installed in
the directory the script is run.
I've only tested a few modules on Linux and there is still a lot of
work to be done but it currently meets my needs.
The above could easily be updated to so that 'non core' packages are
self-contained i.e. the generator code/ xml cache file / wrapper code
is all contained within it's own module. Each module could
automatically generate it's own 'sub' environment.py where libs/
includes are obtained from FIND_PACKAGE or PythonOgreConfig_*.py as
currently done.
CMake currently has ExternalProject which could be used to build
dependencies.
http://www.kitware.com/products/html/BuildingExternalProjectsWithCMake2.8.html
What would this offer that Andy's current build system does, nothing
really, other than the fact it may be easier for Linux distro
packagers to create/distribute package using a build system they are
familiar with.
No changes were required to python-ogre. I wonder if anyone is
interested in this?