diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-05 20:01:41 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-05 20:46:59 +0200 |
commit | 6da4cd8fb9a2583c7ba08c403ec3a5aeb264730f (patch) | |
tree | 913214389fad89792a9e54bc73b6496beb37af9f /Source/CTest/cmCTestLaunch.cxx | |
parent | 94cc4e74aec3bc76e94a426d94cd1015c8a9749e (diff) | |
download | cmake-6da4cd8fb9a2583c7ba08c403ec3a5aeb264730f.tar.gz |
CTest: Remove needless cmLocalGenerator creation.
Diffstat (limited to 'Source/CTest/cmCTestLaunch.cxx')
-rw-r--r-- | Source/CTest/cmCTestLaunch.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestLaunch.cxx b/Source/CTest/cmCTestLaunch.cxx index fb0cce634b..ca5d05a58d 100644 --- a/Source/CTest/cmCTestLaunch.cxx +++ b/Source/CTest/cmCTestLaunch.cxx @@ -728,7 +728,6 @@ int cmCTestLaunch::Main(int argc, const char* const argv[]) //---------------------------------------------------------------------------- #include "cmGlobalGenerator.h" -#include "cmLocalGenerator.h" #include "cmMakefile.h" #include "cmake.h" #include <cmsys/auto_ptr.hxx> @@ -739,8 +738,6 @@ void cmCTestLaunch::LoadConfig() cm.SetHomeOutputDirectory(""); cmGlobalGenerator gg(&cm); cmsys::auto_ptr<cmMakefile> mf(new cmMakefile(&gg, cm.GetCurrentSnapshot())); - cmsys::auto_ptr<cmLocalGenerator> lg( - gg.CreateLocalGenerator(mf.get())); std::string fname = this->LogDir; fname += "CTestLaunchConfig.cmake"; if(cmSystemTools::FileExists(fname.c_str()) && |