From 9280850b2609153b60c072378acbbf4ccc75b359 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 13 Sep 2016 23:54:16 -0400 Subject: [PATCH] Enable Cmake's VERBOSE=1 by default. Cmake's choice of default options are awful. No wonder they hide them by default --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d35f5b7..6e91bd12 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,6 +33,14 @@ set(CRYPTOPP_DATA_DIR "" CACHE PATH "Crypto++ test data directory") # Internal compiler options #============================================================================ +# Stop hiding the damn output... +set(CMAKE_VERBOSE_MAKEFILE on) + +# Enable PIC for all targets except 32-bit x86 +#if (CMAKE_SYSTEM_PROCESSOR) +# set (CMAKE_CXX_FLAGS "$CMAKE_CXX_FLAGS -fPIC") +#endif() + # Don't use RPATH's. The resulting binary could fail a security audit. if (NOT CMAKE_VERSION VERSION_LESS 2.8.12) set(CMAKE_MACOSX_RPATH 0)