cmaize.utilities/replace_project_targets

cmaize.utilities/replace_project_targets.cmaize_replace_project_targets(_rpt_result)

Replaces CMaizeTarget object names with their underlying CMake target names in the given list. This function only works with CMaizeTarget objects in the current CMaize project.

Parameters:
  • _rpt_result (desc) – Return variable.

  • args (list[desc]) – List of target names.

Returns:

CMaizeTarget list with target names replaced.

Return type:

list[desc]