CMake Modules

This section describes the CMake functionailty of Dawn and it’s subprojects.

Installation

Add the <dawn>/cmake/modules directory to the CMAKE_MODULE_PATH to use the functions, macros and modules:

list(APPEND CMAKE_MODULE_PATH "<dawn>/cmake/modules")

Note that all Dawn projects contain a dawn_cmake_init macro which tries to find the CMake modules of Dawn.

include(DawnCMakeInit)
dawn_cmake_init()

Modules

Load settings for an external project via find_package.