dune_module_pathΒΆ
dune_module_path(
RESULT result
MODULE module
[SOURCE_DIR]
[SCRIPT_DIR]
[BUILD_DIR]
[CMAKE_MODULES]
)
- RESULT
- The name of the variable to export the result.
- MODULE
- The name of the module.
- SOURCE_DIR
- Set to return the include path of the module
- SCRIPT_DIR
- Set to return the CMake script dir
- BUILD_DIR
- Set to return the path to the build directory
- CMAKE_MODULES
- Set to return the path to cmake modules
Returns the specified path of the given module. This differs whether it is called from the actual module, or from a module requiring or suggesting this module. One and only one type of path may be requested.