Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove redefinitions of COMPILE_FLAGS for mpich3-test.
[simgrid.git] / teshsuite / smpi / mpich3-test / f90 / init / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 if(enable_smpi AND SMPI_F2C)
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     set(CMAKE_Fortran_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpif90")
9   endif()
10
11   set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
12   include_directories("${CMAKE_HOME_DIRECTORY}/include/smpi")
13
14   add_executable(baseenvf90 baseenvf90.f90 ../util/mtestf90.f90)
15   target_link_libraries(baseenvf90  simgrid)
16
17 endif()
18
19 set(tesh_files
20   ${tesh_files}
21   PARENT_SCOPE
22   )
23 set(xml_files
24   ${xml_files}
25   PARENT_SCOPE
26   )
27 set(examples_src
28   ${examples_src}
29   ${CMAKE_CURRENT_SOURCE_DIR}/baseenvf90.f90
30   PARENT_SCOPE
31   )
32 set(bin_files
33   ${bin_files}
34   PARENT_SCOPE
35   )
36 set(txt_files
37   ${txt_files}
38   ${CMAKE_CURRENT_SOURCE_DIR}/testlist
39   PARENT_SCOPE
40   )