CMakeLists: Add _GLIBCXX_DEBUG to enable debug mode for GNU libstdc++
authorBrendan Shanks <bshanks@audiovox.com>
Wed, 2 Apr 2014 20:07:06 +0000 (13:07 -0700)
committerJustin Dickow <jjdickow@gmail.com>
Wed, 2 Apr 2014 20:20:26 +0000 (16:20 -0400)
commit0c4c4c651ee0aab0c42d5f11fb7e1d51c6ef4580
tree80fa0bf2a39db7224a80fcf301579edc1bfce540
parent1f32866155afd06cd9ab8e6982f7ba0544ef1448
CMakeLists: Add _GLIBCXX_DEBUG to enable debug mode for GNU libstdc++

When building in debug mode, define _GLIBCXX_DEBUG and _GLIBCXX_DEBUG_PEDANTIC
to enable debug mode in GNU libstdc++.
This will throw runtime exceptions to catch incorrect/undefined C++/STL behavior.
SDL_Core/CMakeLists.txt