Marijn van der Werf
9c24c21227
Compile macOS builds (32-bit) using osxcross ( #924 )
...
* Compile macOS release using osxcross
* Symlink system
* Remove modules bit
* Include YAML dir
* Conditionally build icns
* Merge yaml-cpp branches in cmakelists
* Move toolchain file
2021-08-12 23:03:25 +02:00
Aaron van Geffen
1726df1351
CMake: Remove reference to non-existing lib directory ( #962 )
...
* Remove reference to non-existing lib directory
* Fix clang-specific headers check
2021-05-05 14:32:47 +02:00
Michał Janiszewski
df7f69c25e
Fix interop compilation flags ( #960 )
2021-05-02 23:18:32 +02:00
Aaron van Geffen
93ec0aa2ef
Install icon resources through CMake as well
2021-01-03 12:55:30 +01:00
Michael Steenbeek
c0a64265e6
Add .desktop file for Linux
2021-01-03 12:52:58 +01:00
ceeac
6bc1794660
Add CMake option to build with CCache
...
This speeds up CMake recompilation significantly. The default behaviour is
to search for CCache and use it if available; this can be disabled explicitly
by setting OPENLOCO_USE_CCACHE=OFF in CMake.
Ported from OpenRCT2.
2020-10-25 11:15:05 +01:00
Aaron van Geffen
ce37179813
Pass version info to Version.cpp again ( #654 )
...
The file was renamed from version.cpp, but CMakeLists.txt hadn't been adjusted accordingly.
2020-10-09 16:52:08 +01:00
Michał Janiszewski
9c62ebe7ba
Fixes for MinGW
2020-08-30 22:00:57 +02:00
Michał Janiszewski
c226970868
NT 5.1 support ( #587 )
...
* NT 5.1 support
* Remove ifdefs
* Lower MinGW CI build to target NT 5.1
* Use fs::path instead of string manipulation
2020-08-26 23:21:31 +02:00
Aaron van Geffen
526ffbd98e
Remove std::byte compat hack.
2020-04-28 15:02:03 +02:00
Aaron van Geffen
77fa1d8de1
Disable stdc++fs linkage on macOS.
2020-03-19 00:55:49 +01:00
Aaron van Geffen
675a84480e
Remove boost dependency.
2020-03-19 00:55:49 +01:00
Michał Janiszewski
6834719e71
Add missing CMake module
2020-03-18 23:38:10 +01:00
Aaron van Geffen
0d8cc57726
CMake: only apply compiler/linker flags when supported.
2020-03-18 23:32:56 +01:00
Aaron van Geffen
1b76e043cf
Add libpng hints for Ubuntu and Fedora/MinGW CI jobs.
2020-03-18 23:32:38 +01:00
Marijn van der Werf
69067879c4
Use libpng to export screenshots.
2020-03-18 23:24:28 +01:00
SmallJoker
a6923491a4
Fix tag detection for shallow clones ( #368 )
...
And also for such that did not 'git pull --tags'.
2020-03-13 13:38:59 +01:00
M
05d74e0baf
Support BSD operating systems ( #385 )
2020-03-13 11:47:17 +01:00
Michał Janiszewski
2ab9b4c663
Don't warn on unused parameter
2019-03-06 21:43:35 +01:00
Michał Janiszewski
729e444fa3
Add missing -Wextra
2019-03-06 21:40:12 +01:00
Marijn van der Werf
1ce7c8343d
Add option for building with warnings ( #290 )
2019-03-06 21:04:26 +01:00
Aaron van Geffen
fd764a1b62
Generate and build macOS app bundles through CMake.
...
This uses the OpenLoco logo by Zcooger as the app icon.
Co-authored-by: Marijn van der Werf <marijn.vanderwerf@gmail.com>
Co-authored-by: Tom Lankhorst <hello@tomlankhorst.nl>
2019-02-26 09:38:44 +01:00
Ted John
d082348df8
Change OpenRCT2/OpenLoco links to OpenLoco/OpenLoco
2019-02-19 15:52:00 +00:00
Sjors Gielen
ea429dd1f2
Fix build using vcpkg on macOS.
2018-10-08 09:25:14 +02:00
Ted John
d2e5e6f11c
Disable audio implementation for macOS
2018-10-03 18:44:54 +01:00
Aaron van Geffen
875e48f97a
Require SDL2MIXER in CMakeLists.
2018-10-03 18:44:52 +01:00
Michał Janiszewski
b24a6f9bcf
Verify compilability of headers on Travis
...
Using approach described in
https://github.com/OpenRCT2/OpenRCT2/pull/7369#issuecomment-393973857
with updates to ease readability and maintenance.
2018-09-08 20:59:42 +02:00
Michał Janiszewski
bd32053eb8
Add yaml-cpp hint for CMake for Arch Linux
2018-09-04 10:50:55 +02:00
Michał Janiszewski
ec180f61cd
Use find_package for yaml-cpp in CMake
2018-09-04 10:49:45 +02:00
Aaron van Geffen
8c3d9f172f
Read and write config as YAML.
2018-09-04 10:49:45 +02:00
Aaron van Geffen
c844aa046e
Use `git describe` to express version in terms of closest tag.
2018-06-16 13:56:47 +02:00
Marijn van der Werf
f3b9909416
Fix macOS builds ( #172 )
2018-06-11 20:28:41 +02:00
Marijn van der Werf
77a3149024
Only link segments with loco binary
2018-06-05 21:44:03 +02:00
Marijn van der Werf
27700e5d52
Check for std::byte support
2018-06-05 21:44:03 +02:00
Michał Janiszewski
f0cf22b53d
Mark OpenLoco as explicitly C++ project for CMake
2018-02-16 23:55:43 +01:00
Aaron van Geffen
b68e78f543
Add git branch and short sha1 hash to version info line. ( #107 )
2018-02-16 12:07:19 +00:00
Michał Janiszewski
eec7abc742
Add -Wall
2018-02-09 14:12:26 +01:00
Michał Janiszewski
fb4aa1fd6d
Add more compiler warnings
2018-02-09 14:12:26 +01:00
Marijn van der Werf
d1e1ceb96d
Remove me-specific paths in CMakeLists
2018-01-25 18:07:44 +00:00
Michał Janiszewski
0ba24cd4f5
Add MinGW support
2018-01-24 22:38:04 +01:00
Michał Janiszewski
9a72b10522
Disable deprecated Boost System features
2018-01-24 17:33:55 +01:00
Marijn van der Werf
46fb4003ea
Apply requested changes
2018-01-24 15:05:54 +01:00
Michał Janiszewski
760fe2b0a9
Look for dynamic Boost first, fallback to static
2018-01-24 13:01:15 +01:00
Michał Janiszewski
e814367211
Disable deprecated Boost FS code
...
http://www.boost.org/doc/libs/1_66_0/libs/filesystem/doc/index.htm#Coding-guidelines
2018-01-24 10:31:58 +01:00
Michael Steenbeek
a9d639a3bb
Fix building in paths with spaces or apostrophes ( #16 )
2018-01-20 23:42:16 +00:00
Michał Janiszewski
490370c9fd
Remove setting redundant compilation flags in CMake
2018-01-20 23:29:21 +01:00
Marijn van der Werf
93f9029c5b
Use variables for section files
2018-01-20 23:29:21 +01:00
Michał Janiszewski
338ce9f941
Don't include C sources
2018-01-20 23:29:21 +01:00
Michał Janiszewski
8df8f16e74
Set _NO_LOCO_WIN32_ for CMake builds
2018-01-20 23:29:21 +01:00
Michał Janiszewski
0494feb0aa
Add boost filesystem as option to cmake
2018-01-20 23:29:21 +01:00