diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-12-21 14:49:19 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-01-05 00:18:36 (GMT) |
commit | c67b8124f735e7f96567a276e16969607b300e43 (patch) | |
tree | fded8ddde1e820f600daaa054f8547b80e0f586c /Source/cmExportBuildFileGenerator.cxx | |
parent | d0f950fdba88ac08d0e25e340fe558eba008810e (diff) | |
download | CMake-c67b8124f735e7f96567a276e16969607b300e43.zip CMake-c67b8124f735e7f96567a276e16969607b300e43.tar.gz CMake-c67b8124f735e7f96567a276e16969607b300e43.tar.bz2 |
Make cycles in target properties ignored, not an error.
Constructs such as these are an error as they are direct self-references:
set_property(TARGET foo APPEND PROPERTY
INCLUDE_DIRECTORIES $<TARGET_PROPERTY:foo,INCLUDE_DIRECTORIES>)
set_property(TARGET foo APPEND PROPERTY
INCLUDE_DIRECTORIES $<TARGET_PROPERTY:INCLUDE_DIRECTORIES>)
However, this is an indirect self-reference in a cycle, and not an error:
set_property(TARGET foo APPEND PROPERTY
INCLUDE_DIRECTORIES $<TARGET_PROPERTY:bar,INCLUDE_DIRECTORIES>)
set_property(TARGET bar APPEND PROPERTY
INCLUDE_DIRECTORIES $<TARGET_PROPERTY:foo,INCLUDE_DIRECTORIES>)
Diffstat (limited to 'Source/cmExportBuildFileGenerator.cxx')
0 files changed, 0 insertions, 0 deletions