diff options
author | Brad King <brad.king@kitware.com> | 2009-02-04 19:34:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-04 19:34:12 (GMT) |
commit | 5f65e04ea2f348bd4584a14afa32a32725f77ce4 (patch) | |
tree | e3b8244d4dfa1f8c1e2a7e3821544d6f597a3c22 /Source/CTest/cmCTestBuildHandler.h | |
parent | c6d499aba5c8848a559a76ee67c84abb992b138b (diff) | |
download | CMake-5f65e04ea2f348bd4584a14afa32a32725f77ce4.zip CMake-5f65e04ea2f348bd4584a14afa32a32725f77ce4.tar.gz CMake-5f65e04ea2f348bd4584a14afa32a32725f77ce4.tar.bz2 |
ENH: Refactor Build.xml generation
This divides cmCTestBuildHandler::GenerateDartBuildOutput into three
methods to generate the header, content, and footer components of
Build.xml files. It will allow the content generation to be replaced
later.
Diffstat (limited to 'Source/CTest/cmCTestBuildHandler.h')
-rw-r--r-- | Source/CTest/cmCTestBuildHandler.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.h b/Source/CTest/cmCTestBuildHandler.h index cdc1b68..a922977 100644 --- a/Source/CTest/cmCTestBuildHandler.h +++ b/Source/CTest/cmCTestBuildHandler.h @@ -86,10 +86,9 @@ private: }; // generate the XML output - void GenerateDartBuildOutput(std::ostream& os, - std::vector<cmCTestBuildErrorWarning>, - double elapsed_time); - + void GenerateXMLHeader(std::ostream& os); + void GenerateXMLLogScraped(std::ostream& os); + void GenerateXMLFooter(std::ostream& os, double elapsed_build_time); std::string StartBuild; std::string EndBuild; |