Catch.hpp - how to define a different configuration for tests

So I have been using the steps in:

https://blog.jetbrains.com/clion/2017/03/to-catch-a-clion/

But I think what I would need is to have my main when building Release or Debug, then two other configurations Release + Catch // Debug + Catch, where it would define 

CATCH_CONFIG_MAIN

This would allow me to have my normal main when not running tests.

How do I do this ?

Please sign in to leave a comment.