gdraheim / zziplib

The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access
Other
60 stars 50 forks source link

ZZIP_LIBLATEST: create symlinks only if link target is missing #137

Closed aeolio closed 2 years ago

aeolio commented 2 years ago

zzip/CMakeList.txt creates custom build targets to create symlinks from (normaly versioned) build results to unversioned file names. These targets are executed every time a build is started, regardless of the existence of the target.

Debug builds generate unversioned libraries. The build rules therefore overwrite existing files with recursive links.

Create custom targets depending on the target file and custom build commands containing the symlink creation, thereby ensuring the symlink is only created if the link target is missing.

aeolio commented 2 years ago

Typos in the CMake code