diff options
author | Brad King <brad.king@kitware.com> | 2016-09-16 20:23:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-19 14:55:18 (GMT) |
commit | 089868a244e623f75c1ffbe9297d3228bef9a8f1 (patch) | |
tree | 57eee8dc5474e454ccdda479504a7e32001abfdc /Source/cmMakefile.cxx | |
parent | 5c87b92b1b7888ee032e3c2a75f35f1f94f4dfa5 (diff) | |
download | CMake-089868a244e623f75c1ffbe9297d3228bef9a8f1.zip CMake-089868a244e623f75c1ffbe9297d3228bef9a8f1.tar.gz CMake-089868a244e623f75c1ffbe9297d3228bef9a8f1.tar.bz2 |
cmState: Record buildsystem target names in each directory
Maintain in the directory state the list of target names added to be
built. These are normal, non-imported targets (but do include INTERFACE
libraries).
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 508c670..50e7b33 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1930,6 +1930,7 @@ cmTarget* cmMakefile::AddNewTarget(cmState::TargetType type, name, cmTarget(name, type, cmTarget::VisibilityNormal, this))) .first; this->GetGlobalGenerator()->IndexTarget(&it->second); + this->GetStateSnapshot().GetDirectory().AddNormalTargetName(name); return &it->second; } |