diff --git a/src/dindexerConfig.h.in b/src/dindexerConfig.h.in index 392db27..e76580c 100644 --- a/src/dindexerConfig.h.in +++ b/src/dindexerConfig.h.in @@ -38,7 +38,11 @@ #endif #define CMAKE_SYSTEM "@CMAKE_SYSTEM@" #define CMAKE_CXX_COMPILER "@CMAKE_CXX_COMPILER@" +#define CMAKE_CXX_COMPILER_VERSION "@CMAKE_CXX_COMPILER_VERSION@" +#define CMAKE_CXX_COMPILER_ID "@CMAKE_CXX_COMPILER_ID@" #define CMAKE_C_COMPILER "@CMAKE_C_COMPILER@" +#define CMAKE_C_COMPILER_VERSION "@CMAKE_C_COMPILER_VERSION@" +#define CMAKE_C_COMPILER_ID "@CMAKE_C_COMPILER_ID@" #define CMAKE_VERSION "@CMAKE_VERSION@" #endif diff --git a/src/main/builtin_feats.c b/src/main/builtin_feats.c index b3cf0f4..f1a3342 100644 --- a/src/main/builtin_feats.c +++ b/src/main/builtin_feats.c @@ -36,6 +36,8 @@ void print_builtin_feats() { printf("NDEBUG = no (Debug build)\n"); #endif printf("Built on %s (CMake %s)\n", CMAKE_SYSTEM, CMAKE_VERSION); + printf("C compiler = %s %s\n", CMAKE_C_COMPILER_ID, CMAKE_C_COMPILER_VERSION); + printf("C++ compiler = %s %s\n", CMAKE_CXX_COMPILER_ID, CMAKE_CXX_COMPILER_VERSION); printf("Build flags:\n"); printf(" %s %s\n", CMAKE_CXX_COMPILER, CMAKE_CXX_FLAGS); printf(" %s %s\n", CMAKE_C_COMPILER, CMAKE_C_FLAGS);