diff --git a/cmake/Doxyfile.in b/cmake/Doxyfile.in index bf07b018..9fad3182 100644 --- a/cmake/Doxyfile.in +++ b/cmake/Doxyfile.in @@ -837,7 +837,8 @@ FILE_PATTERNS = *.c \ *.f \ *.for \ *.vhd \ - *.vhdl + *.vhdl \ + */doc/*.md # The RECURSIVE tag can be used to specify whether or not subdirectories should # be searched for input files as well. diff --git a/cmake/set_default_build_to_release.cmake b/cmake/set_default_build_to_release.cmake new file mode 100644 index 00000000..bbc34a46 --- /dev/null +++ b/cmake/set_default_build_to_release.cmake @@ -0,0 +1,23 @@ +####################################################################################################################### +# +# IMPORTANT NOTE: +# +# DO NOT MODIFY THIS FILE inside a project. Instead update the project-template repository and pull the change from +# there. Make sure to keep the file generic, since it will be used by other projects, too. +# +# If you have modified this file inside a project despite this warning, make sure to cherry-pick all your changes +# into the project-template repository immediately. +# +####################################################################################################################### + +####################################################################################################################### +# Set the build type to Release if none is specified +# Force it into Release if "None" is specified (needed to overrule dkpg_buildpackage) +###################################################################################################################### + +if(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "None") + set(CMAKE_BUILD_TYPE "Release" CACHE STRING + "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." + FORCE) +endif(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "None") +