소스 검색

ExternalProject_Add_Step requires COMMAND parameter with VisualStudioi. See #32

A bug has been reported on CMake bug tracker
See http://public.kitware.com/Bug/view.php?id=12430
Jean-Christophe Fillion-Robin 14 년 전
부모
커밋
b122c08b32
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      SuperBuild.cmake

+ 2 - 0
SuperBuild.cmake

@@ -282,6 +282,8 @@ IF(NOT DEFINED SUPERBUILD_EXCLUDE_CTKBUILD_TARGET OR NOT SUPERBUILD_EXCLUDE_CTKB
   # This custom external project step forces the build and later
   # This custom external project step forces the build and later
   # steps to run whenever a top level build is done...
   # steps to run whenever a top level build is done...
   ExternalProject_Add_Step(${proj} forcebuild
   ExternalProject_Add_Step(${proj} forcebuild
+    COMMAND ${CMAKE_COMMAND} -E echo_append ""
+    COMMENT "Forcing build step for '${proj}'"
     DEPENDEES configure
     DEPENDEES configure
     DEPENDERS build
     DEPENDERS build
     ALWAYS 1
     ALWAYS 1