Logo AND Algorithmique Numérique Distribuée

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