Pārlūkot izejas kodu

Unconditionally rebuild "CTK-build" inner project. Restore commit 1be215aef3

See #32
Jean-Christophe Fillion-Robin 11 gadi atpakaļ
vecāks
revīzija
00be8fae58
1 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. 10 0
      SuperBuild.cmake

+ 10 - 0
SuperBuild.cmake

@@ -53,3 +53,13 @@ ExternalProject_Add(${proj}
     ${CTK_DEPENDENCIES}
   STEP_TARGETS configure
   )
+
+# This custom external project step forces the build and later
+# steps to run whenever a top level build is done...
+ExternalProject_Add_Step(${proj} forcebuild
+  COMMAND ${CMAKE_COMMAND} -E echo_append ""
+  COMMENT "Forcing build step for '${proj}'"
+  DEPENDEES configure
+  DEPENDERS build
+  ALWAYS 1
+  )