Skip to content

Add CMake block command #4275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add CMake block command #4275

wants to merge 1 commit into from

Conversation

madebr
Copy link

@madebr madebr commented Jun 5, 2025

block/endblock are scope-related commands introduced in CMake 3.25:

https://cmake.org/cmake/help/latest/command/block.html

Changes

Support highlighting of block/endblock cmake commands.

Checklist

  • Added markup tests, or they don't apply here because trivial change
  • Updated the changelog at CHANGES.md

block/endblock are scope-related commands introduced in CMake 3.25:

https://cmake.org/cmake/help/latest/command/block.html
@joshgoebel
Copy link
Member

Looks great! Please also update the CHANGES.md file.

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.

3 participants