瀏覽代碼

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
   )