diff options
author | Brad King <brad.king@kitware.com> | 2009-10-05 13:06:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-10-05 13:06:59 (GMT) |
commit | 0fb5b2c88c18925fae141a2fcf47a135d710bec4 (patch) | |
tree | f886e995ccd020b430ee2ebf9552aece4aa5b115 /Source/cmTarget.h | |
parent | daa2f3aa416b02e4abea0274312a44eca63c5860 (diff) | |
download | CMake-0fb5b2c88c18925fae141a2fcf47a135d710bec4.zip CMake-0fb5b2c88c18925fae141a2fcf47a135d710bec4.tar.gz CMake-0fb5b2c88c18925fae141a2fcf47a135d710bec4.tar.bz2 |
Invalidate target link info when necessary
In cmTarget we compute the link implementation, link interface, and link
closure structures on-demand and cache the results. This commit teaches
cmTarget to invalidate results after a LINK_INTERFACE_* property changes
or a new link library is added. We also clear the results at the end of
the Configure step to ensure the Generate step uses up-to-date results.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index db49645..66e3f3df 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -567,6 +567,8 @@ private: LinkImplementation& impl); void ComputeLinkClosure(const char* config, LinkClosure& lc); + void ClearLinkMaps(); + void MaybeInvalidatePropertyCache(const char* prop); // The cmMakefile instance that owns this target. This should |