mirror of
https://github.com/reactos/CMake.git
synced 2025-02-19 02:57:51 +00:00

Run the bootstrap script through "cmake -P" instead of "ctest --build-and-test" so that we do not need to abuse the --build-makeprogram option of the latter.
11 lines
258 B
CMake
11 lines
258 B
CMake
file(MAKE_DIRECTORY "${bin_dir}")
|
|
message(STATUS "running bootstrap: ${bootstrap}")
|
|
execute_process(
|
|
COMMAND ${bootstrap}
|
|
WORKING_DIRECTORY "${bin_dir}"
|
|
RESULT_VARIABLE result
|
|
)
|
|
if(result)
|
|
message(FATAL_ERROR "bootstrap failed: ${result}")
|
|
endif()
|