Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move xbt testsuite to teshsuite
[simgrid.git] / teshsuite / xbt / heap_bench / CMakeLists.txt
diff --git a/teshsuite/xbt/heap_bench/CMakeLists.txt b/teshsuite/xbt/heap_bench/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d80764e
--- /dev/null
@@ -0,0 +1,35 @@
+cmake_minimum_required(VERSION 2.6)
+
+set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
+
+add_executable(heap_bench ${CMAKE_HOME_DIRECTORY}/teshsuite/xbt/heap_bench/heap_bench.c)
+
+### Add definitions for compile
+if(NOT WIN32)
+  target_link_libraries(heap_bench simgrid m )
+else()
+  target_link_libraries(heap_bench simgrid )
+endif()
+
+set(tesh_files
+  ${tesh_files}
+  ${CMAKE_CURRENT_SOURCE_DIR}/heap_bench.tesh
+  PARENT_SCOPE
+  )
+set(xml_files
+  ${xml_files}
+  PARENT_SCOPE
+  )
+set(testsuite_src
+  ${testsuite_src}
+  ${CMAKE_CURRENT_SOURCE_DIR}/heap_bench.c
+  PARENT_SCOPE
+  )
+set(bin_files
+  ${bin_files}
+  PARENT_SCOPE
+  )
+set(txt_files
+  ${txt_files}
+  PARENT_SCOPE
+  )