Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add Makefile and configure to the distrib.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 7 Dec 2010 09:36:59 +0000 (09:36 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 7 Dec 2010 09:36:59 +0000 (09:36 +0000)
Must add the Makefile in Cmake directory as after the command "cmake."
the old in simgrid directory is modify by cmake.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9025 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/DefinePackages.cmake
buildtools/Cmake/Distrib.cmake

index 5d2422a..fd5b800 100644 (file)
@@ -772,6 +772,7 @@ set(txt_files
        LICENSE-LGPL-2.1
        NEWS
        TODO
        LICENSE-LGPL-2.1
        NEWS
        TODO
+       configure
 )
 
 file(GLOB_RECURSE README_files
 )
 
 file(GLOB_RECURSE README_files
index e213f97..737aaa4 100644 (file)
@@ -220,6 +220,11 @@ foreach(file ${source_to_pack})
      TARGET dist-dir
      COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_HOME_DIRECTORY}/${file} simgrid-${release_version}/${file_location}/
    )
      TARGET dist-dir
      COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_HOME_DIRECTORY}/${file} simgrid-${release_version}/${file_location}/
    )
+   
+   add_custom_command(
+     TARGET dist-dir
+     COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/Makefile.default simgrid-${release_version}/Makefile
+   )
 endforeach(file ${source_to_pack})
 
 ######################################
 endforeach(file ${source_to_pack})
 
 ######################################