From 3df3c7846345248da859385dd06508dd951fb66a Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 13 Jun 2012 17:20:41 +0200 Subject: [PATCH 1/1] Enable tracing by default. This modules rocks you should use it --- ChangeLog | 1 + buildtools/Cmake/CompleteInFiles.cmake | 4 +++- buildtools/Cmake/Option.cmake | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3e4440ad8d..43a0b9a214 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ SimGrid (3.8) NOT RELEASED; urgency=low CMAKE: * Remove option custom_flags. Now use environment variables CFLAGS and LDFLAGS. + * Enable tracing by default. This modules rocks you should use it. MSG: * Add an experimental interface to manipulate VMs. They are mainly diff --git a/buildtools/Cmake/CompleteInFiles.cmake b/buildtools/Cmake/CompleteInFiles.cmake index 0ab58f2e64..0da9a0a6a9 100644 --- a/buildtools/Cmake/CompleteInFiles.cmake +++ b/buildtools/Cmake/CompleteInFiles.cmake @@ -173,10 +173,12 @@ endif(WIN32) set(CONTEXT_UCONTEXT 0) SET(CONTEXT_THREADS 0) -SET(HAVE_TRACING 0) +SET(HAVE_TRACING 1) if(enable_tracing) SET(HAVE_TRACING 1) +else(enable_tracing) + SET(HAVE_TRACING 0) endif(enable_tracing) if(enable_jedule) diff --git a/buildtools/Cmake/Option.cmake b/buildtools/Cmake/Option.cmake index 3e180e389e..75ae356312 100644 --- a/buildtools/Cmake/Option.cmake +++ b/buildtools/Cmake/Option.cmake @@ -22,7 +22,7 @@ option(enable_ns3 "Whether ns3 model is activated." off) option(enable_lua "Whether the lua bindings are activated." off) option(enable_compile_warnings "Whether compilation warnings should be turned into errors." off) option(enable_maintainer_mode "Whether flex and flexml files should be rebuilt." off) -option(enable_tracing "Tracing simulations for visualization." off) +option(enable_tracing "Tracing simulations for visualization." on) option(enable_latency_bound_tracking "" off) option(enable_coverage "Enable coverage." off) option(enable_memcheck "Enable memcheck." off) -- 2.20.1