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