Files
AnyPS5/docs/dev
GiannisandClaude Opus 5.5 151625b9d2 fix(tools): check sources whose compile command runs through cmake -E env
CMake writes a launcher that sets environment variables as a leading
`cmake -E env NAME=VALUE ... <launcher> <compiler>`, as the AGC
execution tests' ccache launcher does. check_compile took cmake for the
compiler, inserted -fsyntax-only before -E and dropped -E as a
preprocessing option, so every such source failed with
"CMake Error: Unknown argument". Keep the env prefix (NAME=VALUE,
--unset=, --modify and --) and rewrite only the command after it;
reject its other options and a prefix without a command.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 19:55:22 +02:00
..