소스 검색

Add --config flag to CMAKE_COMMAND associated with CTK convenient target

At the superbuild level, building the CTK target will allow
to bypass the configure/build of the dependencies and will build only
CTK inner project.

This will be successful only if the project has been built at least once.
Jean-Christophe Fillion-Robin 14 년 전
부모
커밋
a6bbc66b4f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      SuperBuild.cmake

+ 1 - 1
SuperBuild.cmake

@@ -279,6 +279,6 @@ ENDIF()
 # Custom target allowing to drive the build of CTK project itself
 #
 ADD_CUSTOM_TARGET(CTK
-  COMMAND ${CMAKE_COMMAND} --build ${CTK_BINARY_DIR}/CTK-build
+  COMMAND ${CMAKE_COMMAND} --build ${CTK_BINARY_DIR}/CTK-build --config ${CMAKE_CFG_INTDIR}
   WORKING_DIRECTORY ${CTK_BINARY_DIR}/CTK-build
   )