X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/39714a9316cb8b1b86982600d4b1c8e034c82e7f..8575a5a1e9aefbfd90d2d16e0fa920d364b6f461:/teshsuite/msg/CMakeLists.txt diff --git a/teshsuite/msg/CMakeLists.txt b/teshsuite/msg/CMakeLists.txt index ec4f4f1b96..4a75a53042 100644 --- a/teshsuite/msg/CMakeLists.txt +++ b/teshsuite/msg/CMakeLists.txt @@ -2,41 +2,18 @@ cmake_minimum_required(VERSION 2.6) set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}") -add_executable(get_sender ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/get_sender.c) -add_executable(pid ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/pid.c) -add_executable(host_on_off ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/host_on_off.c) - - ### Add definitions for compile -target_link_libraries(get_sender simgrid) -target_link_libraries(host_on_off simgrid) -if(NOT WIN32) - target_link_libraries(pid simgrid m pthread) -else() - target_link_libraries(pid simgrid) -endif() set(tesh_files ${tesh_files} - ${CMAKE_CURRENT_SOURCE_DIR}/get_sender.tesh - ${CMAKE_CURRENT_SOURCE_DIR}/pid.tesh - ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off.tesh PARENT_SCOPE ) set(xml_files ${xml_files} - ${CMAKE_CURRENT_SOURCE_DIR}/get_sender_d.xml - ${CMAKE_CURRENT_SOURCE_DIR}/get_sender_p.xml - ${CMAKE_CURRENT_SOURCE_DIR}/pid_d.xml - ${CMAKE_CURRENT_SOURCE_DIR}/pid_p.xml - ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off.xml PARENT_SCOPE ) set(teshsuite_src ${teshsuite_src} - ${CMAKE_CURRENT_SOURCE_DIR}/get_sender.c - ${CMAKE_CURRENT_SOURCE_DIR}/pid.c - ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off.c PARENT_SCOPE ) set(bin_files