Use RunCMake "-check.cmake" scripts to check the generated initial cache file content so that the full generation process is completed.
6 lines
197 B
CMake
6 lines
197 B
CMake
include(ExternalProject)
|
|
|
|
ExternalProject_Add(FOO TMP_DIR "${CMAKE_CURRENT_BINARY_DIR}/tmp"
|
|
DOWNLOAD_COMMAND ""
|
|
CMAKE_CACHE_ARGS "-DFOO:STRING=BAR")
|