[CMake] Finding package for 7-zip comprehension

Michael Powell mwpowellhtx at gmail.com
Tue Nov 21 10:48:10 EST 2017


On Tue, Nov 21, 2017 at 10:43 AM, Konstantin Tokarev <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

It's good to know, but I've already got tar identified. Perhaps not
"kosher", at least from what I'm reading about how to FindXyz, and the
Xyx_FOUND and Xyz_EXECUTABLE perspective.

However, no, what I am interested in is 7-zip, specifically. I have my reasons.

Thank you!

>> 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


More information about the CMake mailing list