summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio8Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-28 16:57:29 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-30 06:28:30 (GMT)
commitff1019bfac1380681989242fa904c2d9fe13fd38 (patch)
tree103e9fa62eb37f85c64a4f09eb8215f20283aa0f /Source/cmGlobalVisualStudio8Generator.cxx
parentaa2407d84d8bcd983b3df294032831bbd54cf25d (diff)
downloadCMake-ff1019bfac1380681989242fa904c2d9fe13fd38.zip
CMake-ff1019bfac1380681989242fa904c2d9fe13fd38.tar.gz
CMake-ff1019bfac1380681989242fa904c2d9fe13fd38.tar.bz2
cmGlobalGenerator: Move generation object creation to Compute().
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index f3cf36e..16e3f9b 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -254,6 +254,8 @@ bool cmGlobalVisualStudio8Generator::AddCheckTarget()
mf->AddUtilityCommand(CMAKE_CHECK_BUILD_SYSTEM_TARGET, false,
no_working_directory, no_depends,
noCommandLines);
+ cmGeneratorTarget* gt = new cmGeneratorTarget(tgt, lg);
+ mf->AddGeneratorTarget(tgt, gt);
// Organize in the "predefined targets" folder:
//