CMAKE_BUILD_TYPE not set at build time

I'm unable to determine the build type in CMakeLists.txt. CMAKE_BUILD_TYPE is always an empty string regardless of what I set in configuration. Also, Context is displayed as Context: <no context> so I cannot change anything in the drop-down. How do I force CLion to set CMAKE_BUILD_TYPE based on the action configuration?

2 comments
Comment actions Permalink

Hi Scott.

Maybe the comment from the issue will be useful for you?

0
Comment actions Permalink

Same issue Context:<no context>

0

Please sign in to leave a comment.