-
-
Notifications
You must be signed in to change notification settings - Fork 649
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
DOCTEST_BREAK_INTO_DEBUGGER undefined under OSX #22
Comments
Actually I was using the make generator : just type cmake then make |
Same issue if I write cmake -DCMAKE_BUILD_TYPE=Debug or Release |
If I define DEBUG it will work. See http://stackoverflow.com/questions/8591762/ifdef-debug-with-cmake-independent-from-platform |
Hmm, "NDEBUG" should be defined for non-debug builds under clang and gcc if remember correctly. |
Wrapping |
In fact, the |
Hi,
When I use doctest with my Mac (up-to-date XCode :-), DOCTEST_BREAK_INTO_DEBUGGER is not defined.
Steps to reproduce :
Clone https://github.com/pthom/DocTest_LibTest and compile on a mac (cmake / make)
See for example
https://github.com/pthom/DocTest_LibTest/blob/master/MyLibrary/lib1.cpp
where I had to define it in order to avoid an error
Thanks !
The text was updated successfully, but these errors were encountered: