summaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
2020-12-21Fix: support non-ubuntu/debian Linux variants with LSB support (#8408)Patric Stout
This now generates a warning, as we would still like people to make a Pull Request to support the target. But it does continue with packing to a txz.
2020-12-19Fix: [CMake] automatically detect dependencies for .deb packagesPatric Stout
2020-12-19Fix: [bundle] postfix the distribution for Linux bundlesPatric Stout
2020-12-19Fix: [bundle] postfix the architecture for Mac OS bundlesPatric Stout
This in preparation for other architectures, like arm64.
2020-12-19Fix: [bundle] custom launch.sh is no longer required for Mac OSPatric Stout
Co-authored-by: Owen Rudge <owen@owenrudge.net>
2020-12-15Add: support for emscripten (play-OpenTTD-in-the-browser)Patric Stout
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>
2020-12-13Feature: Switch to bzip2 compression for DMG files (supported by OS X 10.4+)Owen Rudge
2020-12-13Add: [CMake] Option to only build tools/docsglx22
2020-12-13Fix: [CMake, MSVC] Don't copy regression exe's into a subfolder as they need ↵Michael Lutz
have their lang files next to them.
2020-12-12Add: [CMake] targets to generate documentationglx22
2020-12-04Fix: [CMake] cross-compiling requires native toolsglx22
2020-11-26Fix: [CMake] Don't detect XAudio2 if defines are missingCharles Pigott
2020-10-15Fix: make reproducible by not embedding timestampsJelle van der Waa
By default gzip embeds a timestamps which makes building it twice not reproducible, passing -n skips this embedding behaviour. Motivation: https://reproducible-builds.org
2020-10-03Fix: Work around cmake bug by stripping link target stringsCharles Pigott
2020-09-25Codechange: Make codestyle for CMake files consistent for 'control' statementsCharles Pigott
2020-09-01Fix: Remove /MP flag and improve FindEditbin.cmake for Windows clang-cl buildlaikh
2020-07-27Fix: [CMake] Don't strip final newline from regression output.Michael Lutz
The expected regression output files all end with a newline. As such, we have to make sure we capture the output from OpenTTD with the last newline intact.
2020-07-16Change: rewrote squirrel_export in CMakeglx
2020-07-16Change: rewrote generate_widget in CMakeglx
2020-07-10Add: [CMake] Source group definitions to create file filters in generated ↵Michael Lutz
project files (like the old MSVC projects).
2020-07-05Fix: [CMake] Re-enable multi-threaded compilation for MSVC project files.Michael Lutz
2020-07-02Add: [CMake] Allow renaming of openttd binaryglx22
2020-07-02Fix: [CMake] Restore man file compressionglx22
2020-06-30Fix: remove remainining usages of FALSE in CMake filesDan Villiom Podlaski Christiansen
2020-06-30Fix: fix building release tagsDan Villiom Podlaski Christiansen
I tried building a tag, and got this error: CMake Error at cmake/scripts/FindVersion.cmake:85 (string): string sub-command REGEX, mode REPLACE: regex "^[0-9.]*$" matched an empty string.
2020-06-30Fix: use proper flags for suppressing warnings in ClangDan Villiom Podlaski Christiansen
2020-06-30Add: add option for forcing coloured compiler output (useful for Ninja)Dan Villiom Podlaski Christiansen
2020-06-28Fix 887b912af: MinGW requires an extra link flag with _FORTIFY_SOURCE (#8246)glx22
see #7860
2020-06-27Codechange: Only apply FORTIFY_SOURCE in non-debug buildsCharles Pigott
It requires -O1 (or greater) and GCC spews out warnings if you try using it with -O0
2020-06-18Fix: [CMake] Fix install paths using GNUInstallDirsDan Church
2020-06-10Revert f51e66f6: creating zip bundle fails for MacOSglx22
2020-06-08Fix: CMake option values should be ON/OFFglx22
2020-06-08Fix: Generate windows installer only for stable releasesglx22
2020-06-08Fix: Restore zip bundle for MacOSglx22
2020-06-06Fix: MacOS bundle creationglx
2020-06-05Fix: Incorrect REV_YEAR, and parsing of .ottdrevglx
2020-06-05Fix: [AzurePipelines] switch the CI / CD to CMake tooPatric Stout
This also means dropping Debian/jessie, as it has a CMake that is too old (3.0), with no real path to upgrade.
2020-06-05Add: create bundles via CPackPatric Stout
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.
2020-06-05Add: introduce CMake for project managementPatric Stout
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.
2020-06-05Codechange: rework how grf and ob[msg] are generatedPatric Stout
For grfs, it now uses CMake scripts to do its job, and both grf files are split into their own folder to make more clear what is going on. Additionally, it no longer builds in-source (although the resulting grf is copied back in the source folder). For ob[msg] it now uses CMake scripts to generate the translation files; the result is no longer stored in-source (but in the build folder). Although all files are available to create the GRFs and basesets, it won't really work till CMake is introduced (which will happen in a few commits from here)
2020-06-05Codechange: move regression outside of bin and make it work via CMake scriptPatric Stout
The tst_stationlist savegame had to be changed to start the correct AI. In the old setup, all regression AIs had the same name, which made it impossible to run both regressions in parallel. With the new setup this is possible. Although all files are available to run the regression, it won't really work till CMake is introduced (which will happen in a few commits from here)