diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-18 16:40:56 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-20 23:58:49 +0200 |
commit | 04b6bb167636ccf2fe565239a44249366ee1e452 (patch) | |
tree | 754d7cd880c859884b91b84865818edf26f49202 /Source/cmGlobalVisualStudio8Generator.cxx | |
parent | 400e3d19fcebf7d6e9551d585d60754bd937c28c (diff) | |
download | cmake-04b6bb167636ccf2fe565239a44249366ee1e452.tar.gz |
cmLocalGenerator: Simplify semantic of adding generator targets.
Don't store on the global generator as a side effect. Update clients to adapt.
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index 0c419641e7..61b19cfccc 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -257,6 +257,7 @@ bool cmGlobalVisualStudio8Generator::AddCheckTarget() cmGeneratorTarget* gt = new cmGeneratorTarget(tgt, lg); lg->AddGeneratorTarget(tgt, gt); + this->AddGeneratorTarget(tgt, gt); // Organize in the "predefined targets" folder: // |