ROCm CMake Build Tools#
2024-02-21
3 min read time
Summary#
ROCm CMake Build Tools (also stylized as “ROCmCMakeBuildTools” and previously known as “rocm-cmake”) is a collection of functions that unify and simplify the CMake code of the ROCm components, as well as ensuring consistency across these components.
Usage#
The ROCm CMake Build Tools are primarily used at build time of a library, and as such are not runtime dependencies for any generated libraries, packages, or executables.
The tools can be included into a CMake project by running:
find_package(ROCmCMakeBuildTools)
# or
find_package(ROCM) # deprecated, but included for backwards compatibility
Once the tools have been included in this manner, individual files may be
included by running include(<file_name>)
. The file names, and the
functions, variables, and macros accessible using each file are listed below.
Files & Contents#
ROCMAnalyzers
ROCMCheckTargetIds
ROCMClients
ROCMCppCheck
ROCMDocs
ROCMDoxygenDoc
ROCMInstallSymlinks
ROCMInstallTargets
ROCMPackageConfigHelpers
ROCMSetupVersion
ROCMSphinxDoc
ROCMUtilities