]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Mace sure that all log/feature config files are always created 14495/head
authorMatthias Maier <tamiko@43-1.org>
Wed, 30 Nov 2022 05:49:26 +0000 (23:49 -0600)
committerMatthias Maier <tamiko@43-1.org>
Wed, 30 Nov 2022 14:02:13 +0000 (08:02 -0600)
cmake/setup_write_config.cmake

index 0eea423ec0564816581a0f65a695ce7309c4573f..c0d34fdffd7af3b08d040c84349da0257a50494e 100644 (file)
@@ -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:

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.