Files
CMake/Tests/RunCMake/InstallParallel/check-manifest.cmake
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

11 lines
338 B
CMake

if (NOT EXISTS ${INSTALL_MANIFEST})
set(RunCMake_TEST_FAILED "Install manifest not generated: ${INSTALL_MANIFEST}")
endif()
file(STRINGS ${INSTALL_MANIFEST} lines ENCODING UTF-8)
list(LENGTH lines len)
if (NOT len EQUAL ${INSTALL_COUNT})
set(RunCMake_TEST_FAILED "Install manifest missing content: ${len}/${INSTALL_COUNT}")
endif()