diff options
author | Brad King <brad.king@kitware.com> | 2016-10-04 13:34:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-04 13:34:37 (GMT) |
commit | 5385817762e636ae27717891892786294749aee2 (patch) | |
tree | ba1efbaae788e75b4a177a034a432140e8d1efd0 /Source/CPack/cpack.cxx | |
parent | 834efe12bf6bf8059e545ac496eeb390c08e4220 (diff) | |
download | CMake-5385817762e636ae27717891892786294749aee2.zip CMake-5385817762e636ae27717891892786294749aee2.tar.gz CMake-5385817762e636ae27717891892786294749aee2.tar.bz2 |
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/CPack/cpack.cxx')
-rw-r--r-- | Source/CPack/cpack.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index 5c45b14..a3281ab 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -415,9 +415,7 @@ int main(int argc, char const* const* argv) } doc.SetSection("Generators", v); -#undef cout return doc.PrintRequestedDocumentation(std::cout) ? 0 : 1; -#define cout no_cout_use_cmCPack_Log } if (cmSystemTools::GetErrorOccuredFlag()) { |