Skip to content
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

Small helper function for logging : #422

Merged
merged 2 commits into from
Nov 29, 2022
Merged

Small helper function for logging : #422

merged 2 commits into from
Nov 29, 2022

Conversation

flagarde
Copy link
Contributor

This PR add an helper function only when message(STATUS ...) as the other are backtracing and adding the helper function would add on stack.

It should fix #328 #342 with a few line of code.

Default behaviour :
Screenshot_20221123_112206

Possible output redefining the cpm_message :
Screenshot_20221123_111315

This PR add an helper function only when `message(STATUS ...)` as the other are `backtracing` and adding the helper function add on stack.

It should fix #328 #342 with a few line of code.
Copy link
Member

@TheLartians TheLartians left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, looks good!

@TheLartians TheLartians merged commit c53417b into cpm-cmake:master Nov 29, 2022
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.

CPM_INDENT is not inserted everywhere and no CPM_DESINDENT
2 participants