You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generated files unzip.h and zip.h shall be in build directory #588
Originally posted by piwaneczko August 3, 2021
Generated files shall be always placed in build directory.
AC:
Header template file.h.in is created:
/* @FILE_H@ -- Compatibility layer shim
part of the minizip-ng project
This program is distributed under the terms of the same license as zlib.
See the accompanying LICENSE file for the full text of the license.
*/
#ifndef @MZ_COMPAT_FILE@
#define @MZ_COMPAT_FILE@
#include "mz_compat.h"
#endif
You have forgot to add build directory to include_directories for target:
example target_include_directories(minizip PUBLIC ${minizip_BUILD_DIR})
Now unzip.h and zip.h cannot by found by other source.
I couldn't test it before
Activity
nmoinvaz commentedon Mar 5, 2022
Thanks for the good report. I have incorporated it into the
devbranch.piwaneczko commentedon Mar 10, 2022
You have forgot to add build directory to include_directories for target:
example
target_include_directories(minizip PUBLIC ${minizip_BUILD_DIR})Now unzip.h and zip.h cannot by found by other source.
I couldn't test it before
Added build directory to public interface when using compat mode. #588.
nmoinvaz commentedon Mar 10, 2022
Ok please test
dev.