dev-cafe / autocmake

CMake plugin composer.
http://autocmake.org
BSD 3-Clause "New" or "Revised" License
41 stars 18 forks source link

[Enhancement] Print autocmake version in the setup #205

Open miroi opened 7 years ago

miroi commented 7 years ago

Hi Rado,

there is a lot of messages printed out during project setup (below is excerpt for Dirac), but nowhere is the autocmake version. We have Python version, compilers versions, CMake version, but not autocmake version.

Let us have autocmake version printed in setup output.

.
.
.
FC=mpif90 CC=mpicc CXX=mpiCC cmake -DEXTRA_FCFLAGS="-xHost" -DEXTRA_CFLAGS="-xHost" -DEXTRA_CXXFLAGS="-xHost" -DPR
EPROCESSOR_DEFINITIONS="''" -DPYTHON_INTERPRETER="''" -DENABLE_BLAS=off -DENABLE_LAPACK=off -DMKL_FLAG=off -DMATH_
LIB_SEARCH_ORDER="MKL;ESSL;OPENBLAS;ATLAS;ACML;SYSTEM_NATIVE" -DBLAS_LANG=Fortran -DLAPACK_LANG=Fortran -DENABLE_M
PI=True -DENABLE_CODE_COVERAGE=False -DENABLE_STATIC_LINKING=False -DENABLE_PROFILING=False -DENABLE_RUNTIMECHECK=
False -DENABLE_64BIT_INTEGERS=True -DEXPLICIT_LIBS="-L/home/f113112/work/qch/software/openblas/OpenBLAS-repo  -lop
enblas" -DENABLE_PCMSOLVER=ON -DPCMSOLVER_ROOT='' -DCMAKE_BUILD_TYPE=release -G "Unix Makefiles" -D BUILDNAME="Per
egrine.openmpi_intel_openblas_i8-slurm" -D DART_TESTING_TIMEOUT=99999 -D ENABLE_TUTORIALS=ON -D ENABLE_UNIT_TESTS=
ON /home/f113112/work/qch/software/dirac/trunk

-- The Fortran compiler identification is Intel 15.0.2.20150121
-- The C compiler identification is Intel 15.0.2.20150121
-- The CXX compiler identification is Intel 15.0.2.20150121
-- Check for working Fortran compiler: /home/f113112/work/qch/software/openmpi-2.1.1_intel-15/bin/mpif90
-- Check for working Fortran compiler: /home/f113112/work/qch/software/openmpi-2.1.1_intel-15/bin/mpif90  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /home/f113112/work/qch/software/openmpi-2.1.1_intel-15/bin/mpif90 supports Fortran 90
.
.
.
bast commented 7 years ago

Good idea!