Files
CMake/Tests/RunCMake/InstallParallel/check-num-installs.cmake
T
Martin Duffy 9799491c7e install: Write manifest file in parallel install
Updates the parallel install to generate the install_manifest.txt file.
2024-07-25 12:36:32 -04:00

8 lines
296 B
CMake

file(STRINGS ${RunCMake_TEST_BINARY_DIR}/.ninja_log lines ENCODING UTF-8)
list(FILTER lines INCLUDE REGEX ".*install.*util")
list(LENGTH lines len)
if (NOT ${len} STREQUAL ${INSTALL_COUNT})
set(RunCMake_TEST_FAILED "Wrong number of cmake -P calls to install: ${len}/${INSTALL_COUNT}")
endif()