Changeset: d7c2fe71db62 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d7c2fe71db62 Modified Files: tools/mserver/CMakeLists.txt Branch: default Log Message:
Add more compile time details to version diffs (20 lines): diff --git a/tools/mserver/CMakeLists.txt b/tools/mserver/CMakeLists.txt --- a/tools/mserver/CMakeLists.txt +++ b/tools/mserver/CMakeLists.txt @@ -14,8 +14,15 @@ target_sources(mserver5 ${CMAKE_CURRENT_BINARY_DIR}/monet_version.c monet_version.h) +set(builtby $ENV{USER}) # $USER should be there in POSIX compliant systems +cmake_host_system_information(RESULT host QUERY HOSTNAME) +string(APPEND builtby "@" ${host}) + string(TOUPPER ${CMAKE_BUILD_TYPE} build_type) -set(compilercall ${CMAKE_C_COMPILER} " " ${CMAKE_C_FLAGS_${build_type}} ${CMAKE_C_FLAGS}) +set(compilercall ${CMAKE_C_COMPILER}) +string(APPEND compilercall " " ${CMAKE_C_FLAGS_${build_type}} ${CMAKE_C_FLAGS}) + +set(linkercall ${CMAKE_LINKER}) configure_file(monet_version.c.in ${CMAKE_CURRENT_BINARY_DIR}/monet_version.c _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list