Added cmake option to enable building with code tracing.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/2/head
Michele Calgaro 5 years ago
parent f88e9bffd4
commit 94d31d7159
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -41,6 +41,11 @@ include( TDESetupPaths )
tde_setup_paths( ) tde_setup_paths( )
##### optional stuff ############################
option( WITH_TRACING "Enable code tracing" OFF )
##### user requested modules #################### ##### user requested modules ####################
option( BUILD_ALL "Build all" OFF ) option( BUILD_ALL "Build all" OFF )

@ -23,11 +23,14 @@ tde_setup_largefiles( )
##### check for gcc visibility support ##### check for gcc visibility support
if( WITH_GCC_VISIBILITY ) if( WITH_GCC_VISIBILITY )
tde_setup_gcc_visibility( ) tde_setup_gcc_visibility( )
endif( WITH_GCC_VISIBILITY ) endif( WITH_GCC_VISIBILITY )
##### enable code tracing
if( WITH_TRACING )
add_definitions( -DENABLE_TRACING )
endif ( )
# check required packages # check required packages
pkg_search_module( XMU xmu ) pkg_search_module( XMU xmu )

Loading…
Cancel
Save