When you run cmake .. the log output looks pretty nice, though a lot of information seems to be duplicate.
Example:
$ cmake ..
-- The C compiler identification is GNU 5.3.1
-- The CXX compiler identification is GNU 5.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Do we always need Detecting followed by an identical line ending with -done?
Can we get rid of this?
-- UNIX=1
-- WIN32=
-- Found Perl: /usr/bin/perl (found version "5.22.1")
-- POSTGRESQL_PG_CONFIG is /usr/bin/pg_config
-- POSTGRESQL_EXECUTABLE is /usr/lib/postgresql/9.3/bin/postgres
-- POSTGRESQL_VERSION_STRING in FindPostgreSQL.cmake is PostgreSQL 9.5.3
-- POSTGRESQL_INCLUDE_DIR: /usr/include/postgresql/9.3/server
-- POSTGRESQL_LIBRARIES: /usr/lib/x86_64-linux-gnu
-- Boost version: 1.58.0
-- Boost headers were found here: /usr/include
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- thread
-- chrono
-- system
-- date_time
-- atomic
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- thread
-- system
-- chrono
-- date_time
-- atomic
When you run
cmake ..
the log output looks pretty nice, though a lot of information seems to be duplicate.Example:
Do we always need
Detecting
followed by an identical line ending with-done
? Can we get rid of this?We have the same
HASH
already defined before.No PostgreSQL BIN?
Lots of duplication with Boost!
Boost comes here again.
PostgreSQL was already mentioned several lines before. Why do we need
POSTGRESQL_VERSION
andPGSQL_VERSION
?What means
LIBS_TO_INSTALL
?