CMake 2.8 got released on 2009_11_04
more here:
http://www.kitware.com/news/home/browse ... +Available
most interesting changes for us, seem to be faster makefile dependency scanner and improved find modules.
these dont need adjustment of our scripts.. the only other hting, which would need adjustment, is the option to have a list of predefined values for a propertiy (so you can select them from a list in the cmake GUI). i dont think that this is worth moving to 2.8.
mammadori reported an error with a find script of ours, and that happend in 2.8, cause variables in if statements can not be used anymore in the same way it was possible before (i think they removed the <varname>-NOTFOUND convention).
there is a policy we can set though, to activate that again, until we changed everything.
mammadoris report:
http://paste.debian.net/51883/
CMake 2.8
Moderator: Moderators
Re: CMake 2.8
I'll paste the above mentioned debug message below since it may disappear in few days from that URL.
Code: Select all
-- Found Freetype: -lfreetype -lz
CMake Warning (dev) at /usr/share/cmake-2.8/Modules/FindPackageMessage.cmake:36 (IF):
given arguments:
"NOT" "7zip_FIND_QUIETLY"
An argument named "7zip_FIND_QUIETLY" appears in a conditional statement.
Policy CMP0012 is not set: if() recognizes numbers and boolean constants.
Run "cmake --help-policy CMP0012" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:67 (FIND_PACKAGE_MESSAGE)
rts/build/cmake/Find7zip.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:204 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- MAN pages will be installed to {INSTALL_PREFIX}/share/man/man6
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: CMake 2.8
I am using 2.8 some time already, and didn't had any problems with it. Neither did I got the error from mammadori (which btw seems more like an cmake / installation error rather than a spring one).
Well, I already moved to 2.8.hoijui wrote:i dont think that this is worth moving to 2.8.
Re: CMake 2.8
I think hoijui means by moving dropping compatibility for versions before 2.8. (Correct me if I'm wrong.)
If that is the case, that seems indeed somewhat extreme requirement just to get lists of options in the ccmake UI.
If that is the case, that seems indeed somewhat extreme requirement just to get lists of options in the ccmake UI.
Re: CMake 2.8
exactly what tobi said