Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'with_java'
[simgrid.git] / buildtools / Cmake / Distrib.cmake
index 6ae9a00..6e4ccb2 100644 (file)
@@ -260,6 +260,7 @@ add_custom_command(
 add_custom_target(dist
   COMMENT "Removing the distribution directory"
   DEPENDS ${CMAKE_BINARY_DIR}/${PROJECT_NAME}-${release_version}.tar.gz
+  COMMAND ${CMAKE_COMMAND} -E echo ${PROJECT_NAME}-${release_version} > ${CMAKE_BINARY_DIR}/VERSION
   COMMAND ${CMAKE_COMMAND} -E remove_directory ${PROJECT_NAME}-${release_version}/
   )