[CMake] cmake: broke compatibility between 2.2 and 2.4

A. Maitland Bottoms bottoms at debian.org
Sun Aug 20 21:51:54 EDT 2006


I'd like to bring to the attention of the cmake list
the Debian bug report #383829:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383829
cmake: broke compatibility between 2.2 and 2.4

... in which some light is shed on how link commands
had been interpreted by the shell in cmake 2.2 no longer
have that step occurring in cmake 2.4.

There is now CMake Bug #3615 "Enhanced pkgconfig macro",
another in the trend applications layering other package
portability tools with CMake. The CMake documentation
could better clarify just how to approach such situations.

An example of avoiding pitfalls is in
Debian bug report #383955:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383955
Shouldn't use shell expansions in variable assignments

The patch is:
http://bugs.debian.org/cgi-bin/bugreport.cgi/libapache2-mod-xmlrpc2.patch?bug=383955;msg=48;att=1

This might be made more generic and added to the Wiki
FAQ discussion of EXEC_PROGRAM, to eventually make it
into an updated 'Mastering CMake' book.

Input from CMake gurus is always welcome, just bookmark
http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=cmake
check it from time-to-time to see what's going on,
and just email comments to
${BUGNUMBER}@bugs.debian.org

The list of packages in Debian that use CMake is
growing...

Thanks for reading this, big thanks if you followed
some of the links.

-Maitland


More information about the CMake mailing list