diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-23 10:00:44 -0500 |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-23 10:00:44 -0500 |
commit | f1fb182270b21cf972866f159801a9aa2a1fd689 (patch) | |
tree | 347f2473e2525b8b45d9b6f011083b606f17e5b0 /Source/cmake.h | |
parent | 2e19553e7cc899013bbc2cf527a9cb83cb655148 (diff) | |
download | cmake-f1fb182270b21cf972866f159801a9aa2a1fd689.tar.gz |
ENH: Add accessors for CTest and CPack
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 47a62b4631..a8c8c5777b 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; |