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

CMake messages changed to message( STATUS "..." ) #190

Merged
merged 3 commits into from
May 17, 2017

Conversation

AndreasSchoenle
Copy link
Contributor

As mentioned in an earlier comment: When using the CMake GUI or IDEs calling CMake, using message( STATUS ... ) ensures that only warnings and errors are printed in red.
Because g3log CMake scripts are rather verbose, this would help filtering critical messages out. I understand that the warning level of g3log diagnostic messages may also be intentional to make them more visible over generic CMake output. In this case, feel free to just close without further ado or remove the "STATUS" from those messages you feel need to be highlighted at a warning level.

BTW, you mentioned the if( "${VAR}.x" STREQUAL ".x" ) syntax in an earlier comment. I believed this may just have been needed for the ${VERSION} variable as it is also a CMake keyword in some commands. However, for me even if( NOT VERSION ) in the root CMakeLists.txt does the job.

@KjellKod KjellKod merged commit 82df216 into KjellKod:master May 17, 2017
@AndreasSchoenle AndreasSchoenle deleted the cmake-changes4 branch May 18, 2017 20:38
@AndreasSchoenle AndreasSchoenle restored the cmake-changes4 branch May 18, 2017 20:56
@AndreasSchoenle AndreasSchoenle deleted the cmake-changes4 branch May 18, 2017 20:59
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