Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
always set latency_bound_tracking to on when gtnets is enabled
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 28 Oct 2010 11:44:18 +0000 (11:44 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 28 Oct 2010 11:44:18 +0000 (11:44 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8471 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/CompleteInFiles.cmake

index 4814c9a..ad724e0 100644 (file)
@@ -70,7 +70,6 @@ SET(HAVE_RUBY 0)
 set(HAVE_LUA 0)
 SET(HAVE_JAVA 0)
 SET(HAVE_TRACING 0)
-SET(HAVE_LATENCY_BOUND_TRACKING 0)
 
 if(enable_tracing)
        SET(HAVE_TRACING 1)
@@ -78,6 +77,13 @@ endif(enable_tracing)
 
 if(enable_latency_bound_tracking)
        SET(HAVE_LATENCY_BOUND_TRACKING 1)
+else(enable_latency_bound_tracking)
+  if(enable_gtnets)
+    SET(enable_latency_bound_tracking ON)
+    SET(HAVE_LATENCY_BOUND_TRACKING 1)
+  else(enable_gtnets)
+    SET(HAVE_LATENCY_BOUND_TRACKING 0)
+  endif(enable_gtnets)
 endif(enable_latency_bound_tracking)
 
 if(enable_model-checking AND HAVE_MMAP)