diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-03-18 23:48:02 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-03-18 23:48:38 +0900 |
commit | 94d31d7159d7e535089061f70eee1a9b91b30344 (patch) | |
tree | 91dba09ed55583d0ac9be4a422d2fb18bdb217e9 /ConfigureChecks.cmake | |
parent | f88e9bffd43e2313a6b63aa031515fbd18f16186 (diff) | |
download | tdedocker-94d31d7159d7e535089061f70eee1a9b91b30344.tar.gz tdedocker-94d31d7159d7e535089061f70eee1a9b91b30344.zip |
Added cmake option to enable building with code tracing.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index caa3a7d..8d86a1c 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -23,11 +23,14 @@ tde_setup_largefiles( ) ##### check for gcc visibility support - if( WITH_GCC_VISIBILITY ) tde_setup_gcc_visibility( ) endif( WITH_GCC_VISIBILITY ) +##### enable code tracing +if( WITH_TRACING ) + add_definitions( -DENABLE_TRACING ) +endif ( ) # check required packages pkg_search_module( XMU xmu ) |