Skip to content
Snippets Groups Projects
Commit 4da8ac7b authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[CMake][Doc] Add required CMake version to dune_enable_all_packages()

State the minimum required version of CMake in the documentation for
dune_enable_all_packages() and dune_target_enable_all_packages().
parent 525b7039
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,9 @@
# versions handle linking (in particular CMP022 and CMP038). You can later add source files to the library
# anywhere in the source tree by calling dune_library_add_sources().
#
# Warning: dune_enable_all_packages() requires CMake 2.8.12+. If you call this function with an older version
# of CMake, the build will fail with a fatal error. DO NOT enable this feature if your module needs
# to compile on machines with an older version of CMake.
# Warning: The library feature requires CMake 3.1+. If you use the feature with older versions, CMake
# will emit a fatal error. Moreover, it will issue a warning if the cmake_minimum_required()
# version is older than 3.1.
......@@ -50,6 +53,8 @@
# This macro is mainly intended to help write DUNE modules that want to use dune_enable_all_packages() and
# define their own libraries, but need to be compatible with CMake < 3.1.
#
# Note: Just like dune_enable_all_packages(), this function requires CMake 2.8.12+.
#
#
# dune_register_package_flags(COMPILE_DEFINITIONS [flags]
# COMPILE_OPTIONS [options]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment