Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Move libdw binding code in its own file
[simgrid.git] / teshsuite / mc / dwarf / CMakeLists.txt
index 5941009b29bb1dd5b231d5213cf6ec976ee32f97..19d68290d1199d2847a841a49085b17db37f0a8f 100644 (file)
@@ -1,14 +1,17 @@
-cmake_minimum_required(VERSION 2.6)
-
 if(HAVE_MC)
   set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 
-  add_executable(dwarf dwarf.c)
+  add_executable(dwarf dwarf.cpp)
   target_link_libraries(dwarf simgrid)
 endif()
 
+set(tesh_files
+  ${tesh_files}
+  ${CMAKE_CURRENT_SOURCE_DIR}/dwarf.tesh
+  PARENT_SCOPE
+  )
 set(testsuite_src
   ${testsuite_src}
-  ${CMAKE_CURRENT_SOURCE_DIR}/dwarf.c
+  ${CMAKE_CURRENT_SOURCE_DIR}/dwarf.cpp
   PARENT_SCOPE
   )