Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
guess what? more refactoring!
[simgrid.git] / examples / smpi / energy / CMakeLists.txt
1 if(enable_smpi)
2   if(WIN32)
3     set(CMAKE_C_FLAGS "-include ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_main.h")
4   else()
5     set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc")
6   endif()
7   include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
8
9   add_executable       (se se.c)
10   target_link_libraries(se simgrid)
11 endif()
12
13 set(tesh_files    ${tesh_files}    ${CMAKE_CURRENT_SOURCE_DIR}/energy.tesh  PARENT_SCOPE)
14 set(examples_src  ${examples_src}  ${CMAKE_CURRENT_SOURCE_DIR}/se.c         PARENT_SCOPE)
15 set(txt_files     ${txt_files}     ${CMAKE_CURRENT_SOURCE_DIR}/hostfile     PARENT_SCOPE)