Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename CPACK to Cmake.
[simgrid.git] / buildtools / Cmake / simgrid_CMakeList / testsuite / xbt / CMakeLists.txt
diff --git a/buildtools/Cmake/simgrid_CMakeList/testsuite/xbt/CMakeLists.txt b/buildtools/Cmake/simgrid_CMakeList/testsuite/xbt/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f95dbb6
--- /dev/null
@@ -0,0 +1,13 @@
+cmake_minimum_required(VERSION 2.6)
+
+set(EXECUTABLE_OUTPUT_PATH "./")
+set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
+
+add_executable(log_usage "log_usage.c")
+add_executable(graphxml_usage "graphxml_usage.c")
+add_executable(heap_bench "heap_bench.c")
+
+### Add definitions for compile
+target_link_libraries(log_usage gras m -fprofile-arcs)
+target_link_libraries(graphxml_usage simgrid m -fprofile-arcs)
+target_link_libraries(heap_bench gras m -fprofile-arcs)