FindSelfPackers¶
Finds UPX, the Ultimate Packer for eXecutables.
This module searches for executable packers-tools that compress executables or
shared libraries into on-the-fly, self-extracting versions. It currently
supports UPX
.
快取變數¶
The following cache variables may be set:
SELF_PACKER_FOR_EXECUTABLE
Path to the executable packer for compressing executables.
SELF_PACKER_FOR_SHARED_LIB
Path to the executable packer for compressing shared libraries.
SELF_PACKER_FOR_EXECUTABLE_FLAGS
Command-line options to use when compressing executables.
SELF_PACKER_FOR_SHARED_LIB_FLAGS
Command-line options to use when compressing shared libraries.
範例¶
Finding UPX:
find_package(SelfPackers)