Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
350f38e1ef96c8465a9f184b814c1f22e635d8fb
[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         message("Generated file :  ${file}")
10 endforeach(file ${TEST_UNITS})
11
12
13 set(EXECUTABLE_OUTPUT_PATH "./")
14
15 add_executable(testall ${TEST_UNITS} ${PROJECT_DIRECTORY}/src/simgrid_units_main.c)
16
17 ### Add definitions for compile
18 target_link_libraries(testall gras m -fprofile-arcs)