Skip to content

Fix CMP0175 warnings in add_custom_command calls#11

Draft
ayrtondenner wants to merge 1 commit intomasterfrom
fix/cmake-cmp0175-warnings
Draft

Fix CMP0175 warnings in add_custom_command calls#11
ayrtondenner wants to merge 1 commit intomasterfrom
fix/cmake-cmp0175-warnings

Conversation

@ayrtondenner
Copy link
Owner

Summary

  • Add POST_BUILD to four add_custom_command(TARGET ...) calls for formatting targets (format-xml, format-fonts, format-forms, format-aliases)
  • Remove unsupported DEPENDS keyword from the TARGET form of add_custom_command
  • Eliminates ~100+ CMP0175 policy warnings during CMake generation

Closes #10

Test plan

  • Run CMake generation — CMP0175 warnings should no longer appear
  • Build succeeds as before

🤖 Generated with Claude Code

The TARGET form of add_custom_command requires POST_BUILD and does not
support DEPENDS. This eliminates ~100+ CMP0175 policy warnings during
CMake generation.

Closes #10

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

Fix CMP0175 warnings in CMakeLists.txt add_custom_command calls

1 participant