mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
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>
This commit is contained in:
@@ -1221,6 +1221,15 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
|
||||
false,
|
||||
"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.",
|
||||
|
||||
Reference in New Issue
Block a user