Commit Graph

23 Commits (a4035af3375825ae277f1363c5d814ee55b92d7c)

Author SHA1 Message Date
Michael Lutz a61a741683 Change: [OSX] Compiling the Cocoa/Quartz video driver cannot be disabled anymore. 3 years ago
Charles Pigott 3dfee979a7 Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves 3 years ago
Patric Stout e0b953b804 Fix: [Emscripten] compile with exceptions enabled, as our AIs depend on it
Also parts of the saveload code does, and some other places. This
does slow down builds, but for most computers this will not be
measurable. At least, the ones I had access to I could not find
a difference in FPS, mainly as that is heavily limited by the Hz
of the screens of the computer.

Either way, it is better to have a full functional game than a
fast one in my opinion
3 years ago
Patric Stout d15dc9f40f Add: support for emscripten (play-OpenTTD-in-the-browser)
Emscripten compiles to WASM, which can be loaded via
HTML / JavaScript. This allows you to play OpenTTD inside a
browser.

Co-authored-by: milek7 <me@milek7.pl>
4 years ago
frosch 5d278b62cc Codechange: switch to C++17 on all platforms. 4 years ago
glx22 d1fa6b129c Add: [CMake] Option to only build tools/docs 4 years ago
glx22 6fae0b83d9 Add: [CMake] targets to generate documentation 4 years ago
Owen Rudge 6e689e2038 Fix: FreeType is still required on macOS 4 years ago
Patric Stout ad47ebc1a8 Change: don't encourage the use of LZO
LZO was used before the first version we track in our version
control system, which dates back to Aug 2004. Somewhere before
that time a few savegames / scenarios exist which use LZO. No
other savegame / scenario does since then. Let's not encourage
people to install something that ancient.

There are no scenarios on BaNaNaS that require LZO.
4 years ago
glx22 a06fe8e8a7 Fix: [CMake] cross-compiling requires native tools 4 years ago
Charles Pigott 85ca1c535e Codechange: Set CMAKE_BUILD_TYPE to default to debug if not otherwise set 4 years ago
Charles Pigott 348c231e12 Codechange: Make codestyle for CMake files consistent for 'control' statements 4 years ago
glx 8794c61f25 Change: rewrote generate_widget in CMake 4 years ago
Michael Lutz 00eccbe298 Add: [CMake] Source group definitions to create file filters in generated project files (like the old MSVC projects). 4 years ago
glx22 97592c4093 Add: [CMake] Allow renaming of openttd binary 4 years ago
Dan Villiom Podlaski Christiansen 7fd7b51593 Fix: don't search for SDL, etc., on macOS 4 years ago
Dan Villiom Podlaski Christiansen c593893b56 Fix: set Mac deployment target
This silences an awful lot of warnings.
4 years ago
Dan Villiom Podlaski Christiansen 04c050f93e Fix: don't use ICU on macOS 4 years ago
Dan Church 506598a80a Fix: [CMake] Fix install paths using GNUInstallDirs 4 years ago
Frédéric Simonis fb7723a9d7
Add: [CMake] Always export compile commands (#8199) 4 years ago
Frédéric Simonis 90e849198f Fix: [CMake] Error when SDL2 provides SDL2Config 4 years ago
Patric Stout b7643b1d36 Add: create bundles via CPack
CPack works closely together with CMake to do the right thing in
terms of bundling (called 'package'). This generates all the
packaging we need, and some more.
4 years ago
Patric Stout 56d54cf60e Add: introduce CMake for project management
CMake works on all our supported platforms, like MSVC, Mingw, GCC,
Clang, and many more. It allows for a single way of doing things,
so no longer we need shell scripts and vbs scripts to work on all
our supported platforms.

Additionally, CMake allows to generate project files for like MSVC,
KDevelop, etc.

This heavily reduces the lines of code we need to support multiple
platforms from a project perspective.

Addtiionally, this heavily improves our detection of libraries, etc.
4 years ago