Added gprof support when debugging

This commit is contained in:
Arthur Moore 2015-06-18 16:51:28 -04:00
parent 5fcdce361a
commit a2a917bdc5
1 changed files with 3 additions and 2 deletions

View File

@ -190,8 +190,9 @@ ENDIF ( WIN32 )
SET( CMAKE_C_FLAGS_RELEASE "-O3")
SET( CMAKE_CXX_FLAGS_RELEASE "-O3")
SET( CMAKE_C_FLAGS_DEBUG "-g -Wall")
SET( CMAKE_CXX_FLAGS_DEBUG "-g -Wall")
SET( CMAKE_C_FLAGS_DEBUG "-g -pg -Wall")
SET( CMAKE_CXX_FLAGS_DEBUG "-g -pg -Wall")
SET( CMAKE_LINKER_FLAGS_DEBUG "-pg")
add_subdirectory (fex)