• Adam Strzelecki's avatar
    BundleUtilities: Use find on UNIX for fast executable lookup · 6c313797
    Adam Strzelecki authored
    It makes whole executable process quicker on UNIX, especially for large bundles
    containing many files, since using find narrows results to only files having
    executable flags then all further tests follow.
    Since find ... -perm +0111 is not clearly POSIX compliant and some Linux
    versions refuse it, it is better to use longer but portable:
       find ... -perm \( -perm -0100 -o -perm -0010 -o -perm -0001 \)
BundleUtilities.cmake 29.5 KB