Skip to content

Conversation

@blowekamp
Copy link
Member

@blowekamp blowekamp commented Dec 12, 2025

Default the expand script to output to stdout. Add a -o flag to output to a file. This enabled concatenation of outputs in CMake.

@blowekamp blowekamp force-pushed the expand_script_stdout branch from 4c5e158 to c67045b Compare December 12, 2025 01:48
@blowekamp blowekamp changed the title Expand script stdout Add optional --output flag to expand script Dec 12, 2025
Defaults to output to stdout, with an optional argument to a file.
Save stdout of expanded template in CMake variable then write to
single CMake file. This may improve performance.
@blowekamp blowekamp force-pushed the expand_script_stdout branch from c67045b to 3314ea9 Compare December 12, 2025 14:51
Use stdout feature to accumulate generate CMake test code, write to a
single file, then include.
@blowekamp blowekamp requested review from dave3d and zivy December 12, 2025 18:36
@blowekamp blowekamp merged commit 85d2b25 into SimpleITK:main Dec 12, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants