Skip to content

get_targets: Add new command

John Freeman requested to merge thejohnfreeman/cmake:get_targets into master

Add a get_targets command for querying the CMake configuration. This first version of get_targets comes with two modes:

  • DIRECTORY: get the list of targets added in a directory or its subdirectories, and store it in a variable.
  • EXPORT: get the list of targets added to an export set, and store it in a variable.

Merge request reports