Added gprof support when debugging
This commit is contained in:
parent
5fcdce361a
commit
a2a917bdc5
|
@ -190,8 +190,9 @@ ENDIF ( WIN32 )
|
||||||
|
|
||||||
SET( CMAKE_C_FLAGS_RELEASE "-O3")
|
SET( CMAKE_C_FLAGS_RELEASE "-O3")
|
||||||
SET( CMAKE_CXX_FLAGS_RELEASE "-O3")
|
SET( CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||||
SET( CMAKE_C_FLAGS_DEBUG "-g -Wall")
|
SET( CMAKE_C_FLAGS_DEBUG "-g -pg -Wall")
|
||||||
SET( CMAKE_CXX_FLAGS_DEBUG "-g -Wall")
|
SET( CMAKE_CXX_FLAGS_DEBUG "-g -pg -Wall")
|
||||||
|
SET( CMAKE_LINKER_FLAGS_DEBUG "-pg")
|
||||||
|
|
||||||
add_subdirectory (fex)
|
add_subdirectory (fex)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue