theCore
theCore copied to clipboard
Add CMake option for enable debugging in Release build
Now is impossible to debug the application with gdb in the release build. Need to add cmake flag for enable\disable debugging capability.
It is possible (and recommended) to use RelWithDebInfo build type to achieve desired result. See: https://cmake.org/cmake/help/v3.0/variable/CMAKE_BUILD_TYPE.html