[CMake] Finding package for 7-zip comprehension

CHEVRIER, Marc marc.chevrier at sap.com
Tue Nov 21 10:47:37 EST 2017


“cmake –E tar” supports 7-zip format. Use option –format=7zip (see https://cmake.org/cmake/help/v3.9/manual/cmake.1.html).


On 21/11/2017 16:43, "CMake on behalf of Konstantin Tokarev" <cmake-bounces at cmake.org on behalf of annulen at yandex.ru> wrote:

    
    
    21.11.2017, 18:38, "Michael Powell" <mwpowellhtx at gmail.com>:
    > Hello,
    >
    > Does anyone happen to know, is there 7-zip comprehension in CMake
    > today? i.e., that something like this could be done:
    >
    > include (FindSevenZip.cmake)
    >
    > or:
    >
    > find_package (SevenZip)
    >
    > I've seen mention of it in places, but could not find it formally as
    > part of CMake itself, it seems.
    >
    > I am running the latest stable v3.9, that I know of.
    
    Not exactly 7-zip, but you can unpack tar.xz files via built-in cmake -E tar command
    
    >
    > Thanks!
    >
    > Cheers,
    >
    > Michael Powell
    > --
    >
    > Powered by www.kitware.com
    >
    > Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
    >
    > Kitware offers various services to support the CMake community. For more information on each offering, please visit:
    >
    > CMake Support: http://cmake.org/cmake/help/support.html
    > CMake Consulting: http://cmake.org/cmake/help/consulting.html
    > CMake Training Courses: http://cmake.org/cmake/help/training.html
    >
    > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
    >
    > Follow this link to subscribe/unsubscribe:
    > http://public.kitware.com/mailman/listinfo/cmake
    
    -- 
    Regards,
    Konstantin
    -- 
    
    Powered by www.kitware.com
    
    Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
    
    Kitware offers various services to support the CMake community. For more information on each offering, please visit:
    
    CMake Support: http://cmake.org/cmake/help/support.html
    CMake Consulting: http://cmake.org/cmake/help/consulting.html
    CMake Training Courses: http://cmake.org/cmake/help/training.html
    
    Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
    
    Follow this link to subscribe/unsubscribe:
    http://public.kitware.com/mailman/listinfo/cmake
    



More information about the CMake mailing list