Michał Janiszewski
5f97637d5e
Only suggest final when using non-LTO builds
...
In LTO builds GCC issues the suggestion-warning from linking stage,
when pragmas are already gone and do nothing.
2020-04-21 13:31:01 +02:00
Michał Janiszewski
4f85810c14
Fix setting extended warning options
2020-04-21 13:31:01 +02:00
duncanspumpkin
cdcb76228d
Update replay version
2020-04-18 08:14:42 +01:00
Michael Steenbeek
03785b4b24
Update objects to v1.0.14 ( #11314 )
2020-04-17 14:29:45 +02:00
duncanspumpkin
064f6f7b30
Bump replays version
2020-04-12 10:54:17 +01:00
Michael Steenbeek
82e5ceb30d
Update objects to v1.0.13 ( #11011 )
2020-03-24 15:37:54 +01:00
Ted John
091eaf8ba2
Try setting rpath on binary during compile ( #10957 )
2020-03-18 10:39:42 +01:00
Gymnasiast
35a2534adf
Bump replays version
2020-02-15 10:37:35 +01:00
Ted John
5925d5fc10
Improve cmake config for Windows and Visual Studio ( #10361 )
...
- Ensure static CRT is used when compiling.
- Allow Ninja generator to work (remove use of CMAKE_VS_PLATFORM_NAME).
- Move CMakeSettings.json to new standard location for VS.
2020-01-25 22:42:27 +00:00
Conrad Kostecki
9df66b1f1f
CMakeLists.txt: don't install desktop and icon files without GUI ( #10206 )
...
If OpenRCT2 is compiled without GUI (for example as a dedicated server),
it does not make sense to install the desktop and icon files.
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
2019-11-10 20:05:51 +01:00
Conrad Kostecki
fef1906d0d
CMakeLists.txt: make discord-rpc and google benchmark optional ( #10208 )
...
For a package maintainer, it should be possible to disable the support
for discord-rpc and google benchmark, as it currently always includes them,
when the library if found.
2019-11-09 21:20:16 +01:00
Michał Janiszewski
bf18bb8161
Fixup MSVC CMake targets ( #10100 )
2019-10-15 23:14:00 +02:00
Gymnasiast
7919e91716
Update objects to v1.0.12
2019-08-18 11:59:56 +02:00
Michał Janiszewski
209c6d0513
Make replays only downloadable when configured with tests ( #9868 )
2019-08-13 21:04:08 +02:00
ζeh Matt
0a5777f11a
Merge pull request #9791 from ZehMatt/replays-v0.0.3
...
Update replays to v0.0.4
2019-08-12 19:24:49 +02:00
Matt
51eb86aed9
Update replays to v0.0.4
2019-08-12 01:40:12 +02:00
Ted John
056ebc23d6
Update title sequences to v0.1.2c ( #9854 )
2019-08-11 19:03:29 +01:00
duncanspumpkin
5b1aedede4
Update replay url
2019-07-29 19:14:15 +01:00
duncanspumpkin
39b1a9568f
Adjust makefile
2019-07-17 20:19:43 +01:00
duncanspumpkin
c9ac156973
Actually use the correct hash and url
2019-07-15 18:59:00 +01:00
duncanspumpkin
38d97a6ee3
Add cmake download replays. fix win download
2019-07-15 18:50:52 +01:00
Michael Steenbeek
8ff0cf9546
Update objects to 1.0.11 ( #9529 )
2019-07-06 16:50:58 +02:00
Michael Steenbeek
c00c8056ce
Update title sequences to v0.1.2b ( #9480 )
2019-06-25 22:41:10 +02:00
Michael Steenbeek
9ed3c39aef
Fix #7913 : RCT1/RCT2 title sequence timing is off ( #8980 )
2019-03-27 21:56:12 +01:00
Gymnasiast
80c57f3804
Bump objects version to 1.0.10
2019-03-20 13:02:32 +01:00
Michael Steenbeek
1b39c97412
Update objects to version 1.0.9 ( #8844 )
2019-03-10 21:19:08 +01:00
Tom Lankhorst
af25da940b
include platform.cmake
2019-02-05 20:16:51 +01:00
Michał Janiszewski
4192ffe57e
Improve cmake for MSVC ( #8581 )
...
* Improve cmake for MSVC
* Fix mingw builds
2019-02-05 16:12:58 +01:00
Tom Lankhorst
ce6e08c633
Introduce SET_CHECK_CXX_FLAGS
2019-02-03 23:32:51 +01:00
Tom Lankhorst
b1bc3d9322
Make build type check case insensitive
2019-01-27 13:44:16 +01:00
Tom Lankhorst
87d9932792
Conditionally enable IPO
...
Put corresponding functionality in `cmake/ipo.cmake`. This directory
allows for future further separation of build concerns.
2019-01-27 12:58:19 +01:00
Tom Lankhorst
06600440fe
Enable LTO/IPO on Clang and GCC
2019-01-27 12:58:19 +01:00
dchokola
d4a3feca29
Introduce DISABLE_GUI for headless build (Fixes OpenRCT2#8542) ( #8566 )
2019-01-07 06:08:31 +01:00
Michał Janiszewski
322be796e3
Add -Wextra ( #8556 )
...
Oops, no idea how it was missing all this time.
Additionally adds:
* `-Wno-clobbered` (conditionally)
* `-Wno-unused-parameter`
2019-01-05 00:15:06 +01:00
Michael Steenbeek
16b9c533d4
Update used objects version to v1.0.8
2018-12-23 13:12:28 +01:00
Ted John
74793a3931
Update objects version
2018-12-09 23:30:40 +00:00
Michał Janiszewski
92b556352b
Allow compilation of testpaint on non-x86 targets ( #7989 )
...
This will enable compilation of testpaint on targets different than x86.
It won't function the way it does on x86, but it should provide a way of
tackling various compilation errors that can only be seen in the very
specific environment required by testpaint proper.
2018-09-15 23:37:45 +02:00
Michael Steenbeek
8e276b9820
Require objects version 1.0.6
2018-08-26 21:37:41 +02:00
Michael Steenbeek
674b2a628a
Require new version of objects
2018-07-30 21:22:33 +02:00
TheAssassin
3ffc3fa6d8
Remove redundant VS C++ flag
2018-06-30 21:31:05 +02:00
TheAssassin
c01a669ca4
Replace more custom flags with CMake options
2018-06-30 21:25:23 +02:00
TheAssassin
73c158fc63
Remove redundant and unnecessary CMake CXX flag
2018-06-30 21:24:48 +02:00
TheAssassin
843f3a61ae
Make CMake require C++17
...
Requires CMake 3.8+ which is the first version to support C++17 (see https://cmake.org/cmake/help/v3.8/prop_tgt/CXX_STANDARD.html ).
Fixes #7749 .
2018-06-30 15:13:25 +02:00
Gymnasiast
2172902b47
Update required objects version
2018-06-23 17:39:38 +02:00
Michał Janiszewski
65d1c7f490
Fix and enable -Wtautological-unsigned-zero-compare ( #7706 )
2018-06-17 22:48:45 +02:00
Aaron van Geffen
d5eb1c504d
Fix #7685 : Disable warning due to problems compiling OpenSSL on macOS. ( #7704 )
2018-06-17 09:29:05 +02:00
Aaron van Geffen
56250b43ab
Use git describe
to express version in terms of closest tag.
2018-06-12 00:25:04 +02:00
Michał Janiszewski
1d28826b79
Fix -Wdocumentation and add it to default warnings
2018-06-11 09:52:54 +02:00
Aaron van Geffen
3ac32fc433
Add -Wrange-loop-analysis flag to CMakeLists as well. ( #7646 )
2018-06-10 10:08:35 +02:00
Michał Janiszewski
e0dd51cc5d
Add -Wlogical-op compiler warning
2018-06-06 22:31:23 +02:00