Files
cmake/Tests/RunCMake/list/TRANSFORM-APPLY-NoOutput-stderr.txt
Mickaël Germain 651f82642c Add APPLY action for list(TRANSFORM)
Add a new APPLY action to list(TRANSFORM) that invokes a user-defined
function or macro for each element of the list, enabling arbitrary
per-element transformations.

The callable receives the current element value and an output variable
name, and must set the output variable in PARENT_SCOPE to the
transformed value.

Includes documentation, release notes, and tests for both function
and macro callables, OUTPUT_VARIABLE, error cases, and selector
combinations (AT, FOR, REGEX).
Refs: #27761
2026-04-22 19:04:12 -07:00

6 lines
240 B
Plaintext

^CMake Error at TRANSFORM-APPLY-NoOutput\.cmake:6 \(list\):
list sub-command TRANSFORM, action APPLY: function "my_bad_transform" did
not set the output variable\.
Call Stack \(most recent call first\):
CMakeLists\.txt:3 \(include\)$