Use abs paths for traces.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 2 Mar 2012 11:50:17 +0000 (11:50 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 2 Mar 2012 11:50:17 +0000 (11:50 +0000)
traces/CMakeLists.txt

index e6db3eaf62a1cff50e22700fde30dd49249e493c..e25bc9fc5508a404e5b56081cee0fb916f65d349 100644 (file)
@@ -8,8 +8,8 @@ foreach (trace ${traces})
         NAME trace_${trace}
         COMMAND
         python ${CMAKE_SOURCE_DIR}/driver.py
-            --build ${APITRACE_BINARY_DIR}
+            --apitrace ${APITRACE_EXECUTABLE}
             --ref-dump ${CMAKE_CURRENT_SOURCE_DIR}/${trace}.ref.txt
-            ${trace}.trace
+            ${CMAKE_CURRENT_SOURCE_DIR}/${trace}.trace
     )
 endforeach (trace)