summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkItem.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-05 15:37:48 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-26 17:46:31 (GMT)
commit771e79a2bf97e2e5de40106396358adc773014f1 (patch)
tree4e4fa95cb35ee586b2c3b6ab13d8819da6c6087d /Source/cmLinkItem.h
parent3846ebcf2b60b73e3eec848bd3dd41711eac5dc4 (diff)
downloadCMake-771e79a2bf97e2e5de40106396358adc773014f1.zip
CMake-771e79a2bf97e2e5de40106396358adc773014f1.tar.gz
CMake-771e79a2bf97e2e5de40106396358adc773014f1.tar.bz2
cmLinkItem: Add cmOptionalLinkImplementation type.
Move the associated Compute* methods to the cmTarget class.
Diffstat (limited to 'Source/cmLinkItem.h')
-rw-r--r--Source/cmLinkItem.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmLinkItem.h b/Source/cmLinkItem.h
index b2336f0..10dd465 100644
--- a/Source/cmLinkItem.h
+++ b/Source/cmLinkItem.h
@@ -107,4 +107,15 @@ struct cmLinkImplementation: public cmLinkImplementationLibraries
std::vector<std::string> Languages;
};
+// Cache link implementation computation from each configuration.
+struct cmOptionalLinkImplementation: public cmLinkImplementation
+{
+ cmOptionalLinkImplementation():
+ LibrariesDone(false), LanguagesDone(false),
+ HadHeadSensitiveCondition(false) {}
+ bool LibrariesDone;
+ bool LanguagesDone;
+ bool HadHeadSensitiveCondition;
+};
+
#endif