Skip to content

Commit

Permalink
Merge branch 'force-ctk-inner-project-rebuild'. Fixes commontk#32
Browse files Browse the repository at this point in the history
* force-ctk-inner-project-rebuild:
  ExternalProject_Add_Step requires COMMAND parameter with VisualStudioi. See commontk#32
  Unconditionally rebuild "CTK-build" inner project. See commontk#32
  • Loading branch information
jcfr committed Aug 30, 2011
2 parents 0542dad + b122c08 commit 1be215a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions SuperBuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,15 @@ IF(NOT DEFINED SUPERBUILD_EXCLUDE_CTKBUILD_TARGET OR NOT SUPERBUILD_EXCLUDE_CTKB
DEPENDS
"CTK-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
)
ENDIF()

#-----------------------------------------------------------------------------
Expand Down

0 comments on commit 1be215a

Please sign in to comment.