OpenTTD/cmake
Patric Stout 05df7996a4
Feature: [Actions / CMake] support for generic linux builds (#8641)
These bundles can be opened on any "modern" Linux machine with
a driver that SDL2 supports.

Machines needs at least glibc 2.15, which was released 10 years ago.
It is build with CentOS 7 as base, and only assumes the following
libraries are available on the system:
- libc
- libdl
- libgcc_s
- libpthread
- librt
- libstdc++

All other libraries the game depends on are bundled together with
the game, so users don't need any library installed to use this
bundle. The downside of course is that this increases the binary
size a bit: 30 MiB of libraries are in this bundle.

RPATH is used to make ld-linux find the folder libraries are
stored in; however, system libraries are always used before these,
in the assumption libraries on the user system are more up-to-date.

Using -DOPTION_PACKAGE_DEPENDENCIES=ON switches on packaging
of libraries in the "lib" folder. This requires CMake 3.16 to
be installed; otherwise it will fail.
2021-02-05 12:31:27 +01:00
..
scripts Codechange: On regression failure, output the result in a file 2021-01-09 23:48:09 +01:00
AddCustomXXXTimestamp.cmake Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00
CompileFlags.cmake Fix: Don't add -mno-sse4 on arm64 2021-01-08 16:58:14 +00:00
CreateGrfCommand.cmake Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00
CreateRegression.cmake Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00
Endian.cmake Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00
FindAllegro.cmake Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00
FindEditbin.cmake Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00
FindFluidsynth.cmake Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00
FindFontconfig.cmake Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00
FindGrfcodec.cmake Add: introduce CMake for project management 2020-06-05 19:36:05 +02:00
FindICU.cmake Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00
FindIconv.cmake Fix: remove remainining usages of FALSE in CMake files 2020-06-30 09:43:00 +01:00
FindLZO.cmake Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00
FindSSE.cmake Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00
FindXaudio2.cmake Fix: [CMake] Don't detect XAudio2 if defines are missing 2020-11-26 19:06:03 +00:00
InstallAndPackage.cmake Feature: [Actions / CMake] support for generic linux builds (#8641) 2021-02-05 12:31:27 +01:00
LinkPackage.cmake Fix: Work around cmake bug by stripping link target strings 2020-10-03 16:17:11 +01:00
MSVCFilters.cmake Codechange: [OSX] CMake source group for OSX files. 2021-01-03 13:25:32 +01:00
Options.cmake Feature: [Actions / CMake] support for generic linux builds (#8641) 2021-02-05 12:31:27 +01:00
PackageBundle.cmake Fix: [bundle] custom launch.sh is no longer required for Mac OS 2020-12-19 18:26:29 +01:00
PackageDeb.cmake Fix: [CMake] automatically detect dependencies for .deb packages 2020-12-19 18:26:29 +01:00
PackageNSIS.cmake Add: create bundles via CPack 2020-06-05 19:36:05 +02:00
SourceList.cmake Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00
Static.cmake Codechange: Make codestyle for CMake files consistent for 'control' statements 2020-09-25 14:43:13 +01:00