X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1b30f00857843f1cee60814ed519ff82e8ef4787..2e34be2422787c141687494ff6fd486f6f8155e8:/src/CMakeLists.txt diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000000..be55ea8625 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,17 @@ +cmake_minimum_required(VERSION 2.6) + +set_source_files_properties(${PROJECT_DIRECTORY}/src/simgrid_units_main.c +PROPERTIES GENERATED true) + +foreach(file ${TEST_UNITS}) + set_source_files_properties(${PROJECT_DIRECTORY}/src/${file} +PROPERTIES GENERATED true) +endforeach(file ${TEST_UNITS}) + + +set(EXECUTABLE_OUTPUT_PATH "./") + +add_executable(testall ${TEST_UNITS} ${PROJECT_DIRECTORY}/src/simgrid_units_main.c) + +### Add definitions for compile +target_link_libraries(testall gras m -fprofile-arcs)