Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Take care of xbt/log.c file during supernovae mode.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 10 Feb 2010 15:52:46 +0000 (15:52 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 10 Feb 2010 15:52:46 +0000 (15:52 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7079 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/CPACK/src/CMakeSupernovae.txt

index 3741a0d..55eeaa4 100644 (file)
@@ -27,9 +27,9 @@ foreach(file ${simgrid_sources})
                endif(file_delete MATCHES "${file}")
        endforeach (file_delete ${simgrid_fragile_sources})
        if(en_plus)
-               if(file MATCHES "/home/navarrop/Bureau/simgrid-trunk/src/xbt/log.c")
+               if(file MATCHES "${PROJECT_DIRECTORY}/src/xbt/log.c")
                        set(file "xbt/log.c")
-               endif(file MATCHES "/home/navarrop/Bureau/simgrid-trunk/src/xbt/log.c")
+               endif(file MATCHES "${PROJECT_DIRECTORY}/src/xbt/log.c")
                set(temp_src_simgrid "${temp_src_simgrid} ${file}")
        endif(en_plus)
 endforeach(file ${simgrid_sources})
@@ -43,9 +43,9 @@ foreach(file ${gras_sources})
                endif(file_delete MATCHES "${file}")
        endforeach (file_delete ${gras_fragile_sources})
        if(en_plus)
-               if(file MATCHES "/home/navarrop/Bureau/simgrid-trunk/src/xbt/log.c")
+               if(file MATCHES "${PROJECT_DIRECTORY}/src/xbt/log.c")
                        set(file "xbt/log.c")
-               endif(file MATCHES "/home/navarrop/Bureau/simgrid-trunk/src/xbt/log.c")
+               endif(file MATCHES "${PROJECT_DIRECTORY}/src/xbt/log.c")
                set(temp_src_gras "${temp_src_gras} ${file}")
        endif(en_plus)
 endforeach(file ${gras_sources})