summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-24 07:29:49 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-27 06:44:21 (GMT)
commitb397eae82e14fdf75eddcbfd022d9f2d5933eb1e (patch)
tree6b68c4aa003669e8ce97490625a91b28c150dc89 /Source/cmGeneratorTarget.h
parent00b8c0a8d4b59dc01276d083ccae4a8138718b12 (diff)
downloadCMake-b397eae82e14fdf75eddcbfd022d9f2d5933eb1e.zip
CMake-b397eae82e14fdf75eddcbfd022d9f2d5933eb1e.tar.gz
CMake-b397eae82e14fdf75eddcbfd022d9f2d5933eb1e.tar.bz2
cmGeneratorTarget: Move LinkLanguagePropagatesToDependents from cmTarget
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 588ff33..58c3421 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -189,6 +189,9 @@ public:
std::set<std::string>const& GetUtilities() const;
cmListFileBacktrace const* GetUtilityBacktrace(const std::string& u) const;
+ bool LinkLanguagePropagatesToDependents() const
+ { return this->GetType() == cmState::STATIC_LIBRARY; }
+
/** Get the macro to define when building sources in this target.
If no macro should be defined null is returned. */
const char* GetExportMacro() const;