diff options
author | Brad King <brad.king@kitware.com> | 2009-08-24 13:54:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-08-24 13:54:27 (GMT) |
commit | fd62a7cac44ba95468767dd0f9b000da6d664b8d (patch) | |
tree | 6ca8a38c67d94937757cdb997e62091c5b461a0c /Source/cmake.cxx | |
parent | a9be85da2ecd7677d3ba72dc2e279541a32907c2 (diff) | |
download | CMake-fd62a7cac44ba95468767dd0f9b000da6d664b8d.zip CMake-fd62a7cac44ba95468767dd0f9b000da6d664b8d.tar.gz CMake-fd62a7cac44ba95468767dd0f9b000da6d664b8d.tar.bz2 |
Create GLOBAL_DEPENDS_NO_CYCLES property
This global property disallows cycles in the inter-target dependency
graph even among STATIC libraries. See issue #9444.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index ea36c0b..dcc3d50 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -3415,6 +3415,16 @@ void cmake::DefineProperties(cmake *cm) "This property causes it to display details of its analysis to stderr."); cm->DefineProperty( + "GLOBAL_DEPENDS_NO_CYCLES", cmProperty::GLOBAL, + "Disallow global target dependency graph cycles.", + "CMake automatically analyzes the global inter-target dependency graph " + "at the beginning of native build system generation. " + "It reports an error if the dependency graph contains a cycle that " + "does not consist of all STATIC library targets. " + "This property tells CMake to disallow all cycles completely, even " + "among static libraries."); + + cm->DefineProperty( "ALLOW_DUPLICATE_CUSTOM_TARGETS", cmProperty::GLOBAL, "Allow duplicate custom targets to be created.", "Normally CMake requires that all targets built in a project have " |