Commit 2258445a authored by Keith Bennett's avatar Keith Bennett

Added debug symbols to standard build

parent e05af7b4
project(SDF_UTILITIES)
cmake_minimum_required(VERSION 2.8.11)
set(CFLAGS "${CMAKE_C_FLAGS}")
set(CXXFLAGS "${CMAKE_CXX_FLAGS}")
set(CFLAGS "${CMAKE_C_FLAGS} -g")
set(CXXFLAGS "${CMAKE_CXX_FLAGS} -g")
if(${CMAKE_BUILD_TYPE}x STREQUAL "Debugx")
add_definitions(-DSDF_DEBUG_ALL)
set(DEBUG_OPT --debug)
......
......@@ -7,7 +7,7 @@ PYTHONCMD=`which python`
clean=0
errcode=0
CFLAGS="-DSDF_DEBUG_ALL -D_XOPEN_SOURCE=600 -I$SDFDIR/include -L$SDFDIR/lib"
OPT="$CFLAGS -O3"
OPT="$CFLAGS -O3 -g"
while getopts crdph23 name
do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment