dune_module_pathΒΆ
dune_module_path(
MODULE module
RESULT result
[SOURCE_DIR]
[BUILD_DIR]
[CMAKE_MODULES]
[SCRIPT_DIR]
)
- MODULE
- The name of the module.
- RESULT
- The name of the variable to export the result.
- SOURCE_DIR
- Set to return the include path of the module
- BUILD_DIR
- Set to return the path to the build directory
- CMAKE_MODULES
- Set to return the path to cmake modules
- SCRIPT_DIR
- Set to return the CMake script dir
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.