summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-08 17:48:09 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-08 17:48:09 (GMT)
commit0842958977ce9037cf597871df6baf72736c7973 (patch)
tree73e44dace3eb4f7420bff2c4fef2cc0a88fde089 /Source/CTest/cmCTestBuildCommand.h
parent4e49c3bf6e6782f961153732a8fe1258fc7e7f2f (diff)
downloadCMake-0842958977ce9037cf597871df6baf72736c7973.zip
CMake-0842958977ce9037cf597871df6baf72736c7973.tar.gz
CMake-0842958977ce9037cf597871df6baf72736c7973.tar.bz2
ENH: Remove memory leak and remember global generator for next time
Diffstat (limited to 'Source/CTest/cmCTestBuildCommand.h')
-rw-r--r--Source/CTest/cmCTestBuildCommand.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildCommand.h b/Source/CTest/cmCTestBuildCommand.h
index 4284a08..0607863 100644
--- a/Source/CTest/cmCTestBuildCommand.h
+++ b/Source/CTest/cmCTestBuildCommand.h
@@ -19,6 +19,8 @@
#include "cmCTestCommand.h"
+class cmGlobalGenerator;
+
/** \class cmCTestBuild
* \brief Run a ctest script
*
@@ -28,7 +30,8 @@ class cmCTestBuildCommand : public cmCTestCommand
{
public:
- cmCTestBuildCommand() {}
+ cmCTestBuildCommand();
+ ~cmCTestBuildCommand();
/**
* This is a virtual constructor for the command.
@@ -71,6 +74,8 @@ public:
}
cmTypeMacro(cmCTestBuildCommand, cmCTestCommand);
+
+ cmGlobalGenerator* m_GlobalGenerator;
};