summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-20 19:29:36 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-08 20:29:44 (GMT)
commit8986dec05dade19ee0f779c6c498dc0e04a8f8ee (patch)
tree5c16a433a723ff5f66cd1dd3d354513b1dde4d82
parent22d0a83a4cc2188119e008ed346a10f7b0b32f8e (diff)
downloadCMake-8986dec05dade19ee0f779c6c498dc0e04a8f8ee.zip
CMake-8986dec05dade19ee0f779c6c498dc0e04a8f8ee.tar.gz
CMake-8986dec05dade19ee0f779c6c498dc0e04a8f8ee.tar.bz2
ctest: remove unused cmake instance
-rw-r--r--Source/ctest.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 15d4cf4..84e815d 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -7,7 +7,6 @@
#include "cmCTest.h"
#include "cmDocumentation.h"
#include "cmSystemTools.h"
-#include "cmake.h"
#include "cmsys/Encoding.hxx"
#if defined(_WIN32) && defined(CMAKE_BUILD_WITH_CMAKE)
@@ -170,11 +169,6 @@ int main(int argc, char const* const* argv)
cmDocumentation doc;
doc.addCTestStandardDocSections();
if (doc.CheckOptions(argc, argv)) {
- cmake hcm;
- hcm.SetHomeDirectory("");
- hcm.SetHomeOutputDirectory("");
- hcm.AddCMakePaths();
-
// Construct and print requested documentation.
cmCTestScriptHandler* ch =
static_cast<cmCTestScriptHandler*>(inst.GetHandler("script"));