X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c3a1127888725e3075adff3ad323dc1357351530..c5c1970:/buildtools/Cmake/Pipol.cmake diff --git a/buildtools/Cmake/Pipol.cmake b/buildtools/Cmake/Pipol.cmake index a225176063..1d47879514 100644 --- a/buildtools/Cmake/Pipol.cmake +++ b/buildtools/Cmake/Pipol.cmake @@ -10,43 +10,43 @@ IF(pipol_user) if(with_context) set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Dwith_context=${with_context}") - endif(with_context) + endif() if(enable_smpi) set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Denable_smpi=on") - endif(enable_smpi) + endif() if(enable_lua) set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Denable_lua=on") - endif(enable_lua) + endif() if(enable_compile_optimizations) set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Denable_compile_optimizations=on") - endif(enable_compile_optimizations) + endif() if(enable_compile_warnings) set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Denable_compile_warnings=on") - endif(enable_compile_warnings) + endif() if(enable_tracing) set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Denable_tracing=on") - endif(enable_tracing) + endif() if(enable_coverage) set(CMAKE_OPTIONS "${CMAKE_OPTION} -Denable_coverage=on") - endif(enable_coverage) + endif() if(enable_print_message) set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Denable_print_message=on") - endif(enable_print_message) + endif() if(enable_model-checking) set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Denable_model-checking=on") - endif(enable_model-checking) + endif() if(enable_latency_bound_tracking) set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Denable_latency_bound_tracking=on") - endif(enable_latency_bound_tracking) + endif() FIND_PROGRAM(HAVE_SSH ssh) FIND_PROGRAM(HAVE_RSYNC rsync) @@ -59,7 +59,7 @@ IF(pipol_user) ssh ${pipol_user}@pipol.inria.fr pipol-sub --query=systems OUTPUT_VARIABLE PIPOL_SYSTEMS OUTPUT_STRIP_TRAILING_WHITESPACE) - ENDIF(HAVE_SSH) + ENDIF() ADD_CUSTOM_TARGET(pipol_test_list_images COMMENT "Available images for pipol tests (cmake + make + make test) : " @@ -125,8 +125,8 @@ IF(pipol_user) cmake ${CMAKE_HOME_DIRECTORY}${CMAKE_OPTIONS} \; ctest -D Experimental \" ) - endif(NOT make_test) - endif(make_test) + endif() + endif() ADD_CUSTOM_COMMAND(TARGET ${SYSTEM_TARGET}_experimental POST_BUILD @@ -141,7 +141,7 @@ IF(pipol_user) ) ENDMACRO(PIPOL_TARGET) - ENDIF(HAVE_RSYNC) + ENDIF() # add a target for each pipol system IF(PIPOL_SYSTEMS) @@ -149,7 +149,7 @@ IF(pipol_user) FOREACH(SYSTEM ${PIPOL_SYSTEMS}) PIPOL_TARGET(${SYSTEM}) ENDFOREACH(SYSTEM ${PIPOL_SYSTEMS}) - ENDIF(PIPOL_SYSTEMS) + ENDIF() ADD_CUSTOM_TARGET(pipol_kill_all_jobs COMMENT "PIPOL delete all jobs" @@ -158,4 +158,4 @@ IF(pipol_user) message(STATUS "Pipol options: ${CMAKE_OPTIONS}") -ENDIF(pipol_user) \ No newline at end of file +ENDIF() \ No newline at end of file