Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add local tests with pipol.
[simgrid.git] / src / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set(EXECUTABLE_OUTPUT_PATH "${PROJECT_DIRECTORY}/src/")
4
5 set(USE_TEST_UNITS
6 ${TEST_UNITS}
7 ${PROJECT_DIRECTORY}/src/simgrid_units_main.c
8 )
9
10 set_source_files_properties(${USE_TEST_UNITS}
11 PROPERTIES GENERATED true)
12
13 add_executable(testall ${USE_TEST_UNITS})
14
15 ### Add definitions for compile
16 target_link_libraries(testall gras m)
17
18 add_dependencies(testall units_files)