1 2 3 4 5 6 7 8 9 10 11 12 13
include(ExternalProject) cmake_policy(SET CMP0114 NEW) ExternalProject_Add(proj SOURCE_DIR "." DOWNLOAD_COMMAND "" CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND "" ) ExternalProject_Add_Step(proj custom DEPENDERS update )