diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-28 16:57:29 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-30 06:28:30 (GMT) |
commit | ff1019bfac1380681989242fa904c2d9fe13fd38 (patch) | |
tree | 103e9fa62eb37f85c64a4f09eb8215f20283aa0f /Source/cmGlobalVisualStudioGenerator.cxx | |
parent | aa2407d84d8bcd983b3df294032831bbd54cf25d (diff) | |
download | CMake-ff1019bfac1380681989242fa904c2d9fe13fd38.zip CMake-ff1019bfac1380681989242fa904c2d9fe13fd38.tar.gz CMake-ff1019bfac1380681989242fa904c2d9fe13fd38.tar.bz2 |
cmGlobalGenerator: Move generation object creation to Compute().
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudioGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx index d6973aa..a147eb3 100644 --- a/Source/cmGlobalVisualStudioGenerator.cxx +++ b/Source/cmGlobalVisualStudioGenerator.cxx @@ -85,6 +85,8 @@ void cmGlobalVisualStudioGenerator::Generate() AddUtilityCommand("ALL_BUILD", true, no_working_dir, no_depends, no_commands, false, "Build all projects"); + cmGeneratorTarget* gt = new cmGeneratorTarget(allBuild, gen[0]); + allBuild->GetMakefile()->AddGeneratorTarget(allBuild, gt); #if 0 // Can't activate this code because we want ALL_BUILD |