Logo AND Algorithmique Numérique Distribuée

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