[cmake-developers] set_property(DIRECTORY) regression ?

Alexander Neundorf neundorf at kde.org
Mon May 14 17:18:45 EDT 2012


Hi,

it seems the behaviour of DIRECTORY properties changed from cmake 2.6.4 to 
2.8.0.
It seems when setting a directory property, with 2.6.4 this was inherited into 
subdirs, with 2.8.0 and above not anymore.

This is the output I get when running the attachec example with cmake 2.6.4 
and 2.8.0:
Please note how with 2.6.4 "ex" is TRUE in the subdir sub/, while with 2.8.0 
it is not set in sub/ :

hammer:~/src/CMake/tests/dirprop/build$ /opt/cmake-2.6.4-Linux-i386/bin/cmake 
..
-- ex 1: 
-- DF: Qt5CoreConfig.cmake add_library(Qt5::Core SHARED IMPORTED)
-- ex 2: TRUE
-- ex sub: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/alex/src/CMake/tests/dirprop/build


hammer:~/src/CMake/tests/dirprop/build$ /opt/cmake-2.8.0-Linux-i386/bin/cmake 
..
-- ex 1: 
-- DF: Qt5CoreConfig.cmake add_library(Qt5::Core SHARED IMPORTED)
-- ex 2: TRUE
-- ex sub: 
-- DF: Qt5CoreConfig.cmake add_library(Qt5::Core SHARED IMPORTED)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/alex/src/CMake/tests/dirprop/build


Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120514/d60637a5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dirprops.tar.gz
Type: application/x-compressed-tar
Size: 449 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120514/d60637a5/attachment-0002.bin>


More information about the cmake-developers mailing list