CMake 2.8.11 Released!
Christophe Giboudeaux
cgiboudeaux at gmx.com
Mon May 20 09:18:57 UTC 2013
On Friday 17 May 2013 11:09:11 Robert Maynard wrote:
> On behalf of myself, Ken, Bill, Brad, David, Alex, Eike, Steve, Eric,
> Zach, Ben and the rest of the CMake team from all around the world, we
> are pleased to announce that CMake 2.8.11 is now available for
> download at:
> http://www.cmake.org/files/v2.8/?C=M;O=D
> [cut]
Looks like a tiny regression was introduced: when an include dir doesn't exist
a bogus include is added instead.
a small test is attached. FindGpgme.cmake comes from kdepimlibs. With my
current version, gpgme-config --cflags doesn't return anything. As a result,
${GPGME_INCLUDES} is also empty.
Now, when building with CMake 2.8.11 I get this:
[cut] -I/kde/build/test -I/kde/src/test -I"/kde/src/test/ " -
I/kde/inst/kdelibs/include -I/kde/inst/kdelibs/include/KDE [cut]
-o CMakeFiles/hello.dir/main.cpp.o -c /kde/src/test/main.cpp
##<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
cc1plus: warning: /kde/src/test/ : No such file or directory [enabled by
default]
Notice the -I"/kde/src/test/ " ie "${CMAKE_SOURCE_DIR}/<empty space>"
The same test with 2.8.10:
[cut] -I/kde/build/test -I/kde/src/test -I/kde/inst/kdelibs/include -
I/kde/inst/kdelibs/include/KDE [cut] -o CMakeFiles/hello.dir/main.cpp.o -c
/kde/src/test/main.cpp
afaict, I'm not able to reproduce the issue with the cmake dev branch but
didn't find any commit fixing this.
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tar.gz
Type: application/x-compressed-tar
Size: 3975 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20130520/d6a001d4/attachment.tar.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20130520/d6a001d4/attachment.sig>
More information about the Kde-buildsystem
mailing list