Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
High-level build did not build external projects in VS2012. The BUILD_ALWAYS flag is a relatively new CMake feature (added in 3.1), therefore the following workaround was added into SuperBuild.cmake: ExternalProject_Add_Step(${proj} forcebuild COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_CURRENT_BINARY_DIR}/${proj}-prefix/src/${proj}-stamp/${proj}-build COMMENT "Forcing build step for '${proj}'" DEPENDEES build ALWAYS 1 ) This does not work with Visual Studio, where the stamp file is in Debug/Release/etc. subdirectory: ${CMAKE_CURRENT_BINARY_DIR}/${proj}-prefix/src/${proj}-stamp/${CMAKE_CFG_INTDIR}/${proj}CTK-build Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
- Loading branch information