diff options
author | Brad King <brad.king@kitware.com> | 2009-10-05 13:06:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-10-05 13:06:29 (GMT) |
commit | 78f08116287fb534bfb0bc2921fd3f5bac47ce93 (patch) | |
tree | dcee076bff0d4886f0e250eb2964e4b3c1ccf080 /Source/cmTarget.cxx | |
parent | 847875bebd79c45501dc2d584a6fd854397c5936 (diff) | |
download | CMake-78f08116287fb534bfb0bc2921fd3f5bac47ce93.zip CMake-78f08116287fb534bfb0bc2921fd3f5bac47ce93.tar.gz CMake-78f08116287fb534bfb0bc2921fd3f5bac47ce93.tar.bz2 |
Create explicit cmTarget::FinishConfigure step
This method is called during ConfigureFinalPass on every target. It
gives each target a chance to do some final processing after it is known
that no more commands will affect it. Currently we just call the old
AnalyzeLibDependencies that used to be called directly.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 7a1d014..440d5c7 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -1028,6 +1028,13 @@ void cmTarget::SetMakefile(cmMakefile* mf) } //---------------------------------------------------------------------------- +void cmTarget::FinishConfigure() +{ + // Do old-style link dependency analysis. + this->AnalyzeLibDependencies(*this->Makefile); +} + +//---------------------------------------------------------------------------- cmListFileBacktrace const& cmTarget::GetBacktrace() const { return this->Internal->Backtrace; |