summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-23 15:00:44 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-23 15:00:44 (GMT)
commitf1fb182270b21cf972866f159801a9aa2a1fd689 (patch)
tree347f2473e2525b8b45d9b6f011083b606f17e5b0 /Source/cmake.h
parent2e19553e7cc899013bbc2cf527a9cb83cb655148 (diff)
downloadCMake-f1fb182270b21cf972866f159801a9aa2a1fd689.zip
CMake-f1fb182270b21cf972866f159801a9aa2a1fd689.tar.gz
CMake-f1fb182270b21cf972866f159801a9aa2a1fd689.tar.bz2
ENH: Add accessors for CTest and CPack
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 47a62b4..a8c8c57 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -268,6 +268,12 @@ class cmake
*/
cmFileTimeComparison* GetFileComparison() { return m_FileComparison; }
+ /**
+ * Get the path to ctest
+ */
+ const char* GetCTestCommand();
+ const char* GetCPackCommand();
+
protected:
typedef cmGlobalGenerator* (*CreateGeneratorFunctionType)();
typedef std::map<cmStdString, CreateGeneratorFunctionType> RegisteredGeneratorsMap;
@@ -317,6 +323,8 @@ private:
std::string m_CXXEnvironment;
std::string m_CCEnvironment;
std::string m_CheckBuildSystem;
+ std::string m_CTestCommand;
+ std::string m_CPackCommand;
bool m_ClearBuildSystem;
bool m_DebugTryCompile;
cmFileTimeComparison* m_FileComparison;