From: Matthias Maier Date: Wed, 30 Nov 2022 05:49:26 +0000 (-0600) Subject: CMake: Mace sure that all log/feature config files are always created X-Git-Tag: v9.5.0-rc1~782^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14495%2Fhead;p=dealii.git CMake: Mace sure that all log/feature config files are always created --- diff --git a/cmake/setup_write_config.cmake b/cmake/setup_write_config.cmake index 0eea423ec0..c0d34fdffd 100644 --- a/cmake/setup_write_config.cmake +++ b/cmake/setup_write_config.cmake @@ -44,6 +44,7 @@ set(_log_detailed "${CMAKE_BINARY_DIR}/detailed.log") set(_log_summary "${CMAKE_BINARY_DIR}/summary.log") set(_log_feature "${CMAKE_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_RELDIR}/${DEAL_II_PROJECT_CONFIG_NAME}FeatureConfig.cmake") file(REMOVE ${_log_detailed} ${_log_summary} ${_log_feature}) +file(WRITE ${_log_feature} "") macro(_both) # Write to both log files: