Changes between Version 6 and Version 7 of BuildingWindowsDependencies
- Timestamp:
- Jul 6, 2017, 10:30:47 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingWindowsDependencies
v6 v7 249 249 * CMake GUI-based build: 250 250 * [http://www.zlib.net/ Download zlib source] .zip and extract somewhere (`X:\path\to\zlib-x.x.x`) 251 * We will start by fixing the target name for the built library. In `X:\path\to\zlib-x.x.x\CMakeLists.txt`, find the line that adds the `1` to the DLL name. 252 {{{ 253 Replace: 254 set_target_properties(zlib PROPERTIES SUFFIX "1.dll") 255 by: 256 set_target_properties(zlib PROPERTIES OUTPUT_NAME "zlib1") 257 }}} 258 That way, the debug DLL will be called `zlib1d.dll` and not `zlibd1.dll`. See https://github.com/madler/zlib/issues/273. 251 259 * Open cmake-gui (v3.8 in this example) 252 260 * Set source location to the `X:\path\to\zlib-x.x.x` folder … … 265 273 * Repeat for '''Release''' configuration 266 274 * `zlib-x.x.x\install` should contain all the newly built libs 267 * Rename the static libs to add the `1` to the file names. The name of the debug DLL must stay `zlibd1.dll`.