Skip to main content

kmpkg_extract_archive

Extract an archive.

Archives can be MSIs, 7zip self extracting executables, or any archive format accepted by CMake's built-in tar.

Usage

kmpkg_extract_archive(
ARCHIVE <path>
DESTINATION <path>
)

Parameters

ARCHIVE

Full path to the archive to extract.

DESTINATION

Full path to a nonexistent path which will be created as a directory, into which the contents of ARCHIVE are extracted.

Source

scripts/cmake/kmpkg_extract_archive.cmake