[Cmake-commits] [cmake-commits] david.cole committed AddExternalProject.cmake 1.5 1.6

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Dec 24 10:10:42 EST 2008


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv21589/Modules

Modified Files:
	AddExternalProject.cmake 
Log Message:
ENH: Re-work of fix committed yesterday for the Watcom WMake dashboard. Fix it properly by using the SYMBOLIC source file property to indicate to WMake when the sentinel file is not actually written by the update step.


Index: AddExternalProject.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/AddExternalProject.cmake,v
retrieving revision 1.5
retrieving revision 1.6
diff -C 2 -d -r1.5 -r1.6
*** AddExternalProject.cmake	19 Dec 2008 15:35:16 -0000	1.5
--- AddExternalProject.cmake	24 Dec 2008 15:10:40 -0000	1.6
***************
*** 311,315 ****
  
  function(add_external_project_update_command name)
-   set(added 0)
    get_external_project_directories(base_dir build_dir downloads_dir install_dir
      sentinels_dir source_dir tmp_dir)
--- 311,314 ----
***************
*** 374,377 ****
--- 373,379 ----
        DEPENDS ${sentinels_dir}/${name}-download
      )
+     # Since the update sentinel is not actually written:
+     set_property(SOURCE ${sentinels_dir}/${name}-update
+       PROPERTY SYMBOLIC 1)
      return()
    endif()
***************
*** 400,403 ****
--- 402,408 ----
        DEPENDS ${sentinels_dir}/${name}-download
      )
+     # Since the update sentinel is not actually written:
+     set_property(SOURCE ${sentinels_dir}/${name}-update
+       PROPERTY SYMBOLIC 1)
      return()
    endif()



More information about the Cmake-commits mailing list