[CMake] CMake 2.6 on OpenBSD
Edd Barrett
vext01 at gmail.com
Sat Oct 17 15:01:28 EDT 2009
Hi,
I know you guys have discussed cmake-2.6 on OpenBSD before on this list.
I spent a little while trying to figure out how to get the latest
release of cmake-2.6 building shared libraries with the correct names
and versions. I was hoping I could find a developer to work with us on
this, as the codebase for cmake is not easily digestable for someone who
has never seen it before.
Would anyone be interested in helping me:
* Backport code from cmake CVS to 2.6 so that SO_VERSION works on
OpenBSD. Looks like the codebase changed a lot between 2.6 and 2.9.
* Add over-rides in the form of environment variables that are
*always* obeyed. Eg. if SO_VERSION for libsomelib is 4.6 and the
LIBsomelib_VERSION environment is set to 0.1, then libsomelib.so.0.1
should be created. There was code for this patched in manually in
cmake-2.4 from OpenBSD ports[1]. The OpenBSD ports system relies upon
this mechanism in order to create correct library versions. Do think
such an over-ride could be included in stock cmake?
Thanks
[1]
http://www.openbsd.org/cgi-bin/cvsweb/ports/devel/cmake/patches/patch-Source_cmFileCommand_cxx?rev=1.2
--
Best Regards
Edd Barrett
http://students.dec.bmth.ac.uk/ebarrett
More information about the CMake
mailing list