Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add testall to test.
[simgrid.git] / buildtools / Cmake / src / CMakeMaintainerMode.txt
index f71d198..8b50083 100644 (file)
@@ -114,14 +114,6 @@ if(PERL_EXE)
        #@builddir@/simgrid_units_main.c: $(TEST_UNITS)
        exec_program("${PROJECT_DIRECTORY}/tools/sg_unit_extractor.pl ${PROJECT_DIRECTORY}/src/xbt/cunit.c" "${PROJECT_DIRECTORY}/src/")
 
        #@builddir@/simgrid_units_main.c: $(TEST_UNITS)
        exec_program("${PROJECT_DIRECTORY}/tools/sg_unit_extractor.pl ${PROJECT_DIRECTORY}/src/xbt/cunit.c" "${PROJECT_DIRECTORY}/src/")
 
-       #clean-units:
-       foreach(file ${TEST_UNITS})
-               exec_program("echo ${file}|sed -e 's|.c$$|.Po|' -e 's|[^/]*/||' -e 's|^|.deps/|'" "${PROJECT_DIRECTORY}/src/" OUTPUT_VARIABLE dep)
-               exec_program("echo \"Removing dependency tracker of ${file} (${dep} ${PROJECT_DIRECTORY}/src/${dep})\"" OUTPUT_VARIABLE OKITOKI)
-               message("${OKITOKI}")
-               exec_program("rm -vf ${dep} ${PROJECT_DIRECTORY}/src/${dep}" "${PROJECT_DIRECTORY}/src/" OUTPUT_VARIABLE OKITOKI)
-               exec_program("touch ${dep}" "${PROJECT_DIRECTORY}/src/" OUTPUT_VARIABLE OKITOKI)
-       endforeach(file ${TEST_UNITS})
 else(PERL_EXE)
        message(FATAL_ERROR "Install perl before use maintainer mode")
 endif(PERL_EXE)
 else(PERL_EXE)
        message(FATAL_ERROR "Install perl before use maintainer mode")
 endif(PERL_EXE)