summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-10-26 12:25:36 (GMT)
committerBrad King <brad.king@kitware.com>2012-10-26 12:28:16 (GMT)
commited9763136acdb8594e4b85ab7b2e4e2828d8b775 (patch)
tree4550665b1317c9a5c314fc5270344cf37747098b /Source/cmDocumentVariables.cxx
parent259cff94ff81f7b95b7375905fe0e0a292f70dda (diff)
downloadCMake-ed9763136acdb8594e4b85ab7b2e4e2828d8b775.zip
CMake-ed9763136acdb8594e4b85ab7b2e4e2828d8b775.tar.gz
CMake-ed9763136acdb8594e4b85ab7b2e4e2828d8b775.tar.bz2
Optionally skip link dependencies on shared library files
Add target property LINK_DEPENDS_NO_SHARED and initialization variable CMAKE_LINK_DEPENDS_NO_SHARED to enable this behavior. Suggested-by: Leif Walsh <leif.walsh@gmail.com>
Diffstat (limited to 'Source/cmDocumentVariables.cxx')
-rw-r--r--Source/cmDocumentVariables.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index 8db0e8f..55d70f8 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -1222,6 +1222,15 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
"Variables that Control the Build");
cm->DefineProperty
+ ("CMAKE_LINK_DEPENDS_NO_SHARED", cmProperty::VARIABLE,
+ "Whether to skip link dependencies on shared library files.",
+ "This variable initializes the LINK_DEPENDS_NO_SHARED "
+ "property on targets when they are created. "
+ "See that target property for additional information.",
+ false,
+ "Variables that Control the Build");
+
+ cm->DefineProperty
("CMAKE_AUTOMOC", cmProperty::VARIABLE,
"Whether to handle moc automatically for Qt targets.",
"This variable is used to initialize the "