| Summary: | Inconsistent names for static libraries when built for windows with cmake. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | hanetzer |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | NEW --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | ||
| Version: | 2.0.7 | ||
| Hardware: | x86_64 | ||
| OS: | Windows (All) | ||
| Attachments: |
windows cmake enhancements
0001-appveyor.yml-add-basic-ci-for-msvc.patch 0002-CMakeLists.txt-sane-name-for-msvc-static-library.patch 0003-appveyor.yml-add-mingw-w64-build.patch 0004-CMakeLists.txt-generate-pkg-config-files-on-mingw.patch 0005-CMakeLists.txt-better-leverage-GNUInstallDirs.patch |
||
|
Description
hanetzer
2018-01-13 06:50:10 UTC
Created attachment 3133 [details] windows cmake enhancements changes a few things: Better leverages GNUInstallDirs to avoid hardcoded directories. Changes mingw-w64 libraries to libSDL2.dll, libSDL2.dll.a and libSDL2.a and msvc libraries to SDL2.dll, SDL2.lib, and libSDL2.lib for runtime, import, and static libraries. Adds an appveyor.yml for ci integration (may want to look into that), uses cmake to build log here: https://ci.appveyor.com/project/hanetzer/sdl/build/2.0.7.28 Oh, and it also enables sdl2.pc generation on mingw-w64 targets. Created attachment 3135 [details]
0001-appveyor.yml-add-basic-ci-for-msvc.patch
Optional. Adds msvc appveyor support
Created attachment 3136 [details]
0002-CMakeLists.txt-sane-name-for-msvc-static-library.patch
sets library file names to libSDL2.dll, libSDL2.dll.a, and libSDL2.a for
mingw-w64 and SDL2.dll, SDL2.lib, and libSDL2.lib for runtime, import
and static libraries respectively
Created attachment 3137 [details]
0003-appveyor.yml-add-mingw-w64-build.patch
Adds appveyor support for mingw-w64 x86_64 builds, optional
Created attachment 3138 [details]
0004-CMakeLists.txt-generate-pkg-config-files-on-mingw.patch
Generates pkg-config files for mingw-w64 builds
Created attachment 3140 [details]
0005-CMakeLists.txt-better-leverage-GNUInstallDirs.patch
hardcodes less install destinations using GNUInstallDirs
|