|
4ca5ea5b
|
2022-10-20T20:02:21
|
|
build: Add a mechanism to mark builds with vendor info
Downstream distributors can use this to mark a version with their
preferred version information, like a Linux distribution package version
or the Steam revision it was built to be bundled into, or just to mark
it with the vendor it was built by or the environment it's intended to
be used in.
For instance, in Debian I'd use this by configuring with:
--enable-vendor-info="${DEB_VENDOR} ${DEB_VERSION}"
to get a SDL_REVISION like:
release-2.24.1-0-ga1d1946dc (Debian 2.24.1+dfsg-2)
which gives a Debian user enough information to track down the patches
and build-time configuration that were used for package revision 2.
In Autotools and CMake, this is a configure-time option like any other,
and will go into both SDL_REVISION (via SDL_revision.h) and
SDL_GetRevision().
In other build systems (MSVC, Xcode, etc.), defining the
SDL_VENDOR_INFO macro will get it into the output of SDL_GetRevision(),
although not SDL_REVISION.
Resolves: https://github.com/libsdl-org/SDL/issues/6418
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
eea9f638
|
2022-10-12T18:51:59
|
|
CI: Update to actions/checkout@v3.
|
|
151c2341
|
2022-10-06T05:27:37
|
|
ci: Add SDL_WERROR to a few configurations
|
|
832754b9
|
2022-07-23T15:43:06
|
|
ci: install SDL when built as a subproject
|
|
bd496961
|
2022-06-23T08:18:44
|
|
cmake: use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR (#5834)
* Update install directory to match generated
https://github.com/libsdl-org/SDL/blob/main/CMakeLists.txt#L3122
Sets `SDL2Config.cmake` to `CMAKE_BINARY_DIR`, whereas the install file tries to find it from a different location.
* cmake: use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR
* ci: test SDL included as a cmake subproject
Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com>
|
|
12f9bcd2
|
2022-05-08T17:08:41
|
|
Build tests for all CMake platforms on CI
|
|
f858d130
|
2022-06-03T19:24:20
|
|
ci: test installed packages using CMake
|
|
9ef68857
|
2022-05-08T15:53:43
|
|
Fix MSVC ARM32 builds
|
|
b352b783
|
2022-05-07T14:57:17
|
|
Add 'static VCRT' cases to MSVC build matrix
|
|
79a16da6
|
2022-05-04T18:14:22
|
|
workflows: Change how we make CMake verbose
Some CI workers don't seem to understand `cmake -v`, and Windows' shell
doesn't understand `VERBOSE=1 cmake`.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
50bc0136
|
2022-05-04T17:45:26
|
|
workflows: Tell CMake and Makefile.in to show compiler command-lines
This is usually desirable for batch processing: it lets us see exactly
what is happening in the logs.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
b7f8117d
|
2022-02-28T15:47:59
|
|
Build the standalone MSVC projects with GitHub Actions
|
|
550b8377
|
2022-02-28T14:50:37
|
|
Combine the MSVC and UWP workflows
|