diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-11-27 12:29:34 +1100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-11-27 14:44:09 +1100 |
commit | 625a3a49d766fa08eff5dd34bc8e20d048c7b18d (patch) | |
tree | c76b213c6d2d394267b417364b33dda5414577cd | |
parent | 7805122bc749197907a68b89b0863a3992fcedee (diff) | |
download | libgit2-625a3a49d766fa08eff5dd34bc8e20d048c7b18d.tar.gz |
trace: enable tracing by default
Tracing is meant to be extremely low-impact when not enabled. We
currently ship no tracing calls in libgit2, but if / when we do, the
tracing infrastructure is created to skip tracing as quickly as
possible. It should compile to a simple test when tracing is off.
Thus, there's on reason to not enable it by default.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c4477560..8765a97b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,7 @@ OPTION(BUILD_EXAMPLES "Build library usage example apps" OFF) OPTION(BUILD_FUZZERS "Build the fuzz targets" OFF) OPTION(TAGS "Generate tags" OFF) OPTION(PROFILE "Generate profiling information" OFF) -OPTION(ENABLE_TRACE "Enables tracing support" OFF) +OPTION(ENABLE_TRACE "Enables tracing support" ON) OPTION(LIBGIT2_FILENAME "Name of the produced binary" OFF) OPTION(USE_SSH "Link with libssh2 to enable SSH support" ON) OPTION(USE_HTTPS "Enable HTTPS support. Can be set to a specific backend" ON) |