diff options
author | Brad King <brad.king@kitware.com> | 2016-10-04 09:34:37 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-04 09:34:37 -0400 |
commit | 5385817762e636ae27717891892786294749aee2 (patch) | |
tree | ba1efbaae788e75b4a177a034a432140e8d1efd0 /Source/ctest.cxx | |
parent | 834efe12bf6bf8059e545ac496eeb390c08e4220 (diff) | |
download | cmake-5385817762e636ae27717891892786294749aee2.tar.gz |
Do not define cout/cerr preprocessor symbols
Apply the change from commit bd3d0eaf (cmCTest: don't redefine cout and
cerr, 2016-09-01) to the rest of ctest and cpack. These definitions
are no longer needed because our conventions are well established.
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r-- | Source/ctest.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 1fb39ffd0e..8ab17b9de6 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -163,11 +163,7 @@ int main(int argc, char const* const* argv) doc.SetSection("Name", cmDocumentationName); doc.SetSection("Usage", cmDocumentationUsage); doc.PrependSection("Options", cmDocumentationOptions); -#ifdef cout -#undef cout -#endif return doc.PrintRequestedDocumentation(std::cout) ? 0 : 1; -#define cout no_cout_use_cmCTestLog } } |