ROCMUtilities ============= Commands -------- .. cmake::command:: rocm_join_if_set .. code-block:: cmake rocm_join_if_set( [...]) Join all the ```` arguments together using the ```` string. If ```` names a variable with a set value, join that string at the beginning, also using the ```` string, and always store the result in ````. .. cmake::command:: rocm_defer .. code-block:: cmake rocm_defer() Call ```` at the end of configure. .. cmake::command:: rocm_find_program_version .. code-block:: cmake rocm_find_program_version( [QUIET] [REQUIRED] [GREATER ] [GREATER_EQUAL ] [LESS ] [LESS_EQUAL ] [EQUAL ] [OUTPUT_VARIABLE ] ) Determine the presence and installed version of a program that accepts the ``--version`` option. Optionally check the version using any of the comparison operators (each comparison operator may only be specified once). If ``out-var`` is not specified, it defaults to ``_VERSION``. If the program is found, ```` is set to the version detected. If that version satisfies all version constraints, the variable ``_OK`` is set to ``TRUE``, otherwise it is set to ``FALSE``.