-cmake_minimum_required(VERSION 2.6)
-
-set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
-
-add_executable(graphxml_usage ${CMAKE_HOME_DIRECTORY}/teshsuite/xbt/graphxml_usage/graphxml_usage.c)
-
-### Add definitions for compile
-if(NOT WIN32)
- target_link_libraries(graphxml_usage simgrid m )
-else()
- target_link_libraries(graphxml_usage simgrid )
-endif()
+add_executable (graphxml_usage graphxml_usage.c)
+target_link_libraries(graphxml_usage simgrid )
set(tesh_files
${tesh_files}
${CMAKE_CURRENT_SOURCE_DIR}/graphxml_usage.tesh
- PARENT_SCOPE
- )
+ PARENT_SCOPE)
set(xml_files
${xml_files}
${CMAKE_CURRENT_SOURCE_DIR}/graph.xml
- PARENT_SCOPE
- )
+ PARENT_SCOPE)
set(testsuite_src
${testsuite_src}
${CMAKE_CURRENT_SOURCE_DIR}/graphxml_usage.c
- PARENT_SCOPE
- )
-set(bin_files
- ${bin_files}
- PARENT_SCOPE
- )
-set(txt_files
- ${txt_files}
- PARENT_SCOPE
- )
+ PARENT_SCOPE)