FindSelfPackers¶
Finds UPX, the Ultimate Packer for eXecutables:
find_package(SelfPackers [...])
This module searches for executable packers-tools that compress executables or
shared libraries into on-the-fly, self-extracting versions. It currently
supports UPX.
結果變數¶
該模組定義了以下變數:
SelfPackers_FOUND在 4.2 版被加入.
Boolean indicating whether packer tools were found.
快取變數¶
The following cache variables may also be set:
SELF_PACKER_FOR_EXECUTABLEPath to the executable packer for compressing executables.
SELF_PACKER_FOR_SHARED_LIBPath to the executable packer for compressing shared libraries.
SELF_PACKER_FOR_EXECUTABLE_FLAGSCommand-line options to use when compressing executables.
SELF_PACKER_FOR_SHARED_LIB_FLAGSCommand-line options to use when compressing shared libraries.
範例¶
Finding UPX:
find_package(SelfPackers)