Mercurial > devkit
view libz.md @ 62:c11f18adb87f default tip @
libjansson: fix CMake installation for release
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 10 Mar 2023 14:28:09 +0100 |
parents | b1a6e59a4869 |
children |
line wrap: on
line source
Build libz ========== Version: 1.2.13 Download -------- - https://zlib.net/zlib-1.2.13.tar.gz Dependencies ------------ - [CMake](https://cmake.org). Configure --------- ### Visual Studio (debug) cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug -DBUILD_SHARED_LIBS=On -G"NMake Makefiles" ### Visual Studio (release) cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release -DBUILD_SHARED_LIBS=On -G"NMake Makefiles" Build ----- ### Visual Studio cmake --build build && cmake --install build ### For debug rmdir /S /Q C:\pkg\vs\debug\share ### For release rmdir /S /Q C:\pkg\vs\release\share