Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / teshsuite / bug-17132 / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 if(enable_smpi)
4   if(WIN32)
5       set(CMAKE_C_FLAGS "-include ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_main.h")
6   else()
7       set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc")
8   endif()
9         
10         
11   set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
12
13   add_executable(bug-17132 ${CMAKE_HOME_DIRECTORY}/teshsuite/bug-17132/bug-17132.c)
14   target_link_libraries(bug-17132 simgrid)
15
16   set(tesh_files
17     ${tesh_files}
18     ${CMAKE_CURRENT_SOURCE_DIR}/bug-17132.tesh
19     PARENT_SCOPE)
20   set(xml_files
21     ${xml_files}
22     ${CMAKE_CURRENT_SOURCE_DIR}/small_platform.xml
23     PARENT_SCOPE)
24   set(teshsuite_src
25     ${teshsuite_src}
26     ${CMAKE_CURRENT_SOURCE_DIR}/bug-17132.c
27     PARENT_SCOPE)
28   set(bin_files
29     ${bin_files}
30     PARENT_SCOPE)
31   set(txt_files
32     ${txt_files}
33     ${CMAKE_CURRENT_SOURCE_DIR}/hostfile.txt
34     ${CMAKE_CURRENT_SOURCE_DIR}/README
35     PARENT_SCOPE)
36     
37 endif(enable_smpi)