From 14a7cb6e26f17c43dc4cc663b2a1447c9ec56429 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Wed, 30 Jan 2019 09:35:18 +0100 Subject: [PATCH] [CMake] Added summary of found packages to output. https://cmake.org/cmake/help/v3.9/module/FeatureSummary.html --- CMakeLists.txt | 3 +++ scripts/cmake/DocumentationSetup.cmake | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e3f4d778cc..999c5033bdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -349,3 +349,6 @@ check_header_compilation() include(scripts/cmake/MarkVariablesAdvanced.cmake) unset(PRE_INSTALL_RUN CACHE) + +include(FeatureSummary) +feature_summary(WHAT ALL) diff --git a/scripts/cmake/DocumentationSetup.cmake b/scripts/cmake/DocumentationSetup.cmake index 3eb160146aa..704b5e4b9c7 100644 --- a/scripts/cmake/DocumentationSetup.cmake +++ b/scripts/cmake/DocumentationSetup.cmake @@ -38,12 +38,12 @@ set(DOXYGEN_GENERATE_LATEX NO) set(DOXYGEN_PREDEFINED DOXYGEN_DOCU_ONLY) set(DOXYGEN_ALIASES "per{1} = \\1<sup>-1</sup>" - "ogs_file_param{1} = \\xrefitem ogs_file_param \"Input File Parameter\" \"List of all Input File Parameters\" \\ref ogs_file_param__\\1 \"\\1\"" - "ogs_file_attr{1} = \\xrefitem ogs_file_param \"Input File Parameter\" \"List of all Input File Parameters\" \\ref ogs_file_attr__\\1 \"\\1\"" - "ogs_file_special = \\xrefitem ogs_file_param \"Input File Parameter\" \"List of all Input File Parameters\" special OGS input file parameter" - "ogs_file_param_special{1} = \\xrefitem ogs_file_param \"Input File Parameter\" \"List of all Input File Parameters\" \\ref ogs_file_param__\\1 \"\\1\"" - "ogs_file_attr_special{1} = \\xrefitem ogs_file_param \"Input File Parameter\" \"List of all Input File Parameters\" \\ref ogs_file_attr__\\1 \"\\1\"" - "ogs_missing_documentation = \\xrefitem ogs_missing_documentation \"Missing Documentation\" \"OGS Input File Parameters—List of incomplete documentation pages\" Documentation missing/incomplete") + "ogs_file_param{1} = \\xrefitem ogs_file_param \\\"Input File Parameter\\\" \\\"List of all Input File Parameters\\\" \\ref ogs_file_param__\\1 \\\"\\1\\\"" + "ogs_file_attr{1} = \\xrefitem ogs_file_param \\\"Input File Parameter\\\" \\\"List of all Input File Parameters\\\" \\ref ogs_file_attr__\\1 \\\"\\1\\\"" + "ogs_file_special = \\xrefitem ogs_file_param \\\"Input File Parameter\\\" \\\"List of all Input File Parameters\\\" special OGS input file parameter" + "ogs_file_param_special{1} = \\xrefitem ogs_file_param \\\"Input File Parameter\\\" \\\"List of all Input File Parameters\\\" \\ref ogs_file_param__\\1 \\\"\\1\\\"" + "ogs_file_attr_special{1} = \\xrefitem ogs_file_param \\\"Input File Parameter\\\" \\\"List of all Input File Parameters\\\" \\ref ogs_file_attr__\\1 \\\"\\1\\\"" + "ogs_missing_documentation = \\xrefitem ogs_missing_documentation \\\"Missing Documentation\\\" \\\"OGS Input File Parameters—List of incomplete documentation pages\\\" Documentation missing/incomplete") doxygen_add_docs(doc ${PROJECT_SOURCE_DIR}/ -- GitLab