Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Redo the way to install simgrid.
[simgrid.git] / src / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set_source_files_properties(${PROJECT_DIRECTORY}/src/simgrid_units_main.c
4 PROPERTIES GENERATED true)
5
6 foreach(file ${TEST_UNITS})
7         set_source_files_properties(${file}
8 PROPERTIES GENERATED true)
9 endforeach(file ${TEST_UNITS})
10
11
12 set(EXECUTABLE_OUTPUT_PATH "./")
13
14 add_executable(testall ${TEST_UNITS} ${PROJECT_DIRECTORY}/src/simgrid_units_main.c)
15
16 ### Add definitions for compile
17 target_link_libraries(testall gras m -fprofile-arcs)