Ted John
c394a997c8
Update install target and export library so
2017-05-29 22:38:45 +02:00
Ted John
82288f92e6
Add cmake for testpaint
2017-05-29 22:38:44 +02:00
Ted John
a4c06020f1
Add install target to cmake
2017-05-29 22:38:44 +02:00
Ted John
1f8f354e49
Update root cmake and enable tests
2017-05-29 22:38:44 +02:00
X123M3-256
dbd0067091
Remove logging
2017-05-07 01:01:07 +01:00
X123M3-256
edd830293c
Correct path to sprite file
2017-05-07 01:01:07 +01:00
Michał Janiszewski
c9eb2bdf77
Update version information in CMakeLists.txt
2017-05-06 20:43:54 +02:00
Ted John
b8931bd503
Use C++ mutex instead of SDL for server_list.cpp
2017-05-04 17:29:05 +01:00
Michał Janiszewski
da0cadf270
Disable redundant-decls error for mingw
2017-04-16 08:44:37 +02:00
Marijn van der Werf
c7115273da
Allow some warnings on macOS builds
2017-04-07 22:10:14 +02:00
Michał Janiszewski
2dcf33bd42
Ensure set_format_body macro only accepts properly sized arguments
2017-02-16 16:50:35 +01:00
Michał Janiszewski
e09fb6533f
Update C++ standard version to C++14
2017-02-06 23:24:55 +01:00
Michał Janiszewski
39f881e1d7
Update CMakeLists.txt for CPack with 0.0.7 version
2017-01-30 13:54:13 +01:00
Michał Janiszewski
d9f9fcd41a
Fix build names for Travis builds
2017-01-29 23:29:28 +00:00
Ted John
a7edba27aa
Enable light FX in builds
2017-01-21 12:02:41 +00:00
Michał Janiszewski
77a0c141a7
Merge pull request #5044 from janisozaur/ninja
...
Add BUILD_BYPRODUCTS entries to CMakeLists for googletest
2017-01-16 09:38:58 +01:00
Michał Janiszewski
f4eb156c7a
Only enable some of compiler warnings when they are supported
...
ICC does not support all of the new flags
2017-01-13 12:56:33 +01:00
Michał Janiszewski
68b484464a
Make GCC warn about duplicated condition
2017-01-13 11:44:14 +01:00
Michał Janiszewski
411d1fff18
Make GCC suggest final, override keywords
2017-01-13 11:44:14 +01:00
Michał Janiszewski
7d7285cdaa
Add more Warnings to CMakeLists
2017-01-13 11:44:14 +01:00
Michał Janiszewski
d45337464f
Include libzip as system library to fix issues in MinGW build
2017-01-13 10:02:18 +01:00
Michał Janiszewski
dc8aff6274
Extend warning list for CMake
2017-01-13 10:02:17 +01:00
Michał Janiszewski
cf670deb10
Add -Wshadow to CMakeLists and fix offenders
2017-01-13 10:02:17 +01:00
Marijn van der Werf
2d55c3e940
Only link segments with targets that require them
2017-01-12 13:24:09 +01:00
Michał Janiszewski
9aadf6ce42
Fix #5050 Increase required jansson version to 2.5
2017-01-11 22:02:25 +01:00
Ted John
7ca5857307
Isolate cmake sources to openrct2
2017-01-10 17:29:56 +00:00
Ted John
9387891ad3
Convert tabs to spaces
2017-01-10 17:29:56 +00:00
Michał Janiszewski
bd140e78fb
Compile fixes for MinGW ( #4998 )
...
* Fix mismatched condition in CMakeLists.txt
* Fix MinGW release builds
2017-01-06 07:04:25 +01:00
Marijn van der Werf
24a0405345
Update testpaint
2017-01-04 18:28:40 +00:00
Michał Janiszewski
fa51d15c34
Remove fontconfig from TTF-less configuration
2017-01-04 16:09:53 +01:00
Michał Janiszewski
34b8c2034e
Allow building without SDL2_ttf
2017-01-04 13:51:49 +01:00
Michał Janiszewski
da8964efab
Fix CMake warnings about mismatched conditions
2016-12-28 15:44:38 +01:00
David CARLIER
1d17725592
Add FreeBSD support
...
At the moment the platform specific code supports only
FreeBSD as OpenBSD and NetBSD does not support the
full path retrieval for an executable, we intentionally
stop the compilation for those platforms.
2016-12-28 14:18:04 +01:00
Michał Janiszewski
c44c93a627
Fix typo in CMakeLists.txt
2016-12-23 00:26:14 +01:00
Graham Edgecombe
f4f2bb97f8
Obey DESTDIR during title sequence installation ( #4899 )
...
The $ is escaped to delay evaluation of DESTDIR until runtime. It's
typically only specified when `make install` runs - not during the cmake
invocation itself.
2016-12-20 23:00:28 +01:00
Ted John
d1a97cc021
Merge pull request #4887 from IntelOrca/use-external-title-sequences
...
Use external title sequences repository
2016-12-20 12:38:52 +00:00
Michał Janiszewski
d197383dcf
Download and extract title sequence in `make install`
2016-12-19 23:31:53 +00:00
Michał Janiszewski
02ac8fdcee
Add version check for libzip in CMakeLists.txt
2016-12-17 00:04:40 +01:00
Michał Janiszewski
ed7dbb2dbf
Make CMake require and link libzip
2016-12-16 01:25:02 +00:00
Michał Janiszewski
cae3f776f3
Run tests on travis
2016-12-01 16:03:27 +01:00
Michał Janiszewski
33749ccfbe
Lower jansson version requirement to 2.3 for CMake/Debian builds ( #4778 )
...
We still need at least 2.3 for `json_object_foreach`
2016-11-09 12:57:06 +01:00
Max Sandholm
a29bf9912b
Install desktop entry and icons
2016-10-28 12:33:37 +02:00
Michał Janiszewski
03bd98f395
Remove special cases for Launchpad builds
2016-10-22 22:25:30 +02:00
Michał Janiszewski
b1ec40f531
Use -Wno-error=date-time only when compiler supports it
2016-10-22 22:24:19 +02:00
Michał Janiszewski
c70639302c
Add convenience functions to CMakeLists.txt
...
The helper functions allow setting compiler flags only if compiler
supports them.
2016-10-22 22:20:37 +02:00
Michał Janiszewski
f76c7d794c
Make DISABLE_RCT2 imply FORCE32
2016-10-16 00:24:12 +02:00
Michał Janiszewski
53ee6c2e28
Update CMake configuration to produce native, NO_RCT2 builds by default
2016-10-16 00:24:11 +02:00
Marijn van der Werf
d270b2dcb0
Allow unused variables during testing
2016-10-15 13:55:22 +02:00
Michał Janiszewski
599a1cfbcb
Make sure MinGW knows about "%zu" format specifier
2016-10-09 22:43:07 +02:00
Michał Janiszewski
b2e21a0e02
Enable -Wall for CMake targets (with few exceptions)
...
Warnings excluded from -Wall:
* -Wno-unknown-pragmas
* -Wno-unused-function
* -Wno-missing-braces
* -Wno-comment
2016-10-09 22:41:17 +02:00