stp/stp — pull request #112 by delcypher (2014-06-03 14:13:48+00:00)
Title: Added CMake option ENABLE_ASSERTIONS which is enabled for default.

This will cause any build configuration (that we support) to be
built with assertions.

Internally this implemented by removing any ``-DDEBUG`` flags
from the CMAKE_CXX_FLAGS_ and
CMAKE_C_FLAGS_ cache variables. The ``-DDEBUG`` is
then manually added or removed using add_defintions() (note this
does not add the flags to cache variables).