Tom Lankhorst
8f9c8f38ff
Clean-up CMakeLists openrct2-cli
2019-02-07 11:04:36 +01:00
Tom Lankhorst
94758bccf6
Link with platform libraries
2019-02-05 20:17:14 +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
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
Michał Janiszewski
24c2fcbb6c
Add threading library to CLI
2018-03-22 20:16:58 +00:00
Michał Janiszewski
6eeda1ec77
Perform more cleanup of CMakeLists.txt files
...
This moves setting of compilation flags to common file to be used by all
subprojects and explicitly enables only C++ support, skipping whole C
support in CMake.
2018-02-15 23:51:49 +01:00
Aaron van Geffen
c8b5cbb3e4
Fix cmake build for openrct2-cli on macOS.
...
This also removes the globbing for *.m files. As the platform files for macOS
now all use Objective C++ (.mm) instead of Objective C (.m), this is no longer needed.
2018-02-12 23:15:41 +01:00
Michał Janiszewski
e602162fdb
Include openrct2-cli in default `all` target
2018-01-08 13:15:11 +01:00
Michał Janiszewski
63e246938f
Make sure PORTABLE option is honoured globally
2017-11-16 23:08:03 +01:00
Michał Janiszewski
8ec5f3ae82
Move FORCE32 option to top-level CMakeLists.txt
2017-11-15 22:32:51 +01:00
Michał Janiszewski
1df22c889d
Update minimum required CMake version to 3.1
2017-08-09 23:30:18 +02:00
Ted John
acf3b0cf83
Only include FindPkgConfig once
2017-06-25 14:28:25 +01:00
Ted John
95514b9cbc
Remove SDL2 dependency from libopenrct2
2017-06-25 12:03:20 +01:00
Michał Janiszewski
79d76759bb
Fix #5516 : Update copyrights for 2017
...
Not all files were necessarily _changed_, but all were touched, see
https://github.com/OpenRCT2/OpenRCT2/pull/4932
2017-06-01 21:55:10 +02:00
Richard Jenkins
8d3b7f8c27
Set CMAKE_INSTALL_RPATH to $ORIGIN on CLI build
2017-05-31 20:29:37 +01:00
Michał Janiszewski
de9adf5445
Allow building headless version as a separate target
2017-05-29 22:39:19 +02:00
Ted John
06bba09b43
Fix various issues with the cmake projects
2017-05-29 22:38:42 +02:00
Ted John
c7b1feea07
Add back most of the cmake options
2017-05-29 22:38:42 +02:00
Ted John
89780363ee
Add openrct2-ui cmake project
2017-05-29 22:38:42 +02:00
Ted John
f856510a15
Get openrct2-cli linking successfully
2017-05-29 22:38:42 +02:00
Ted John
644634220a
Update cmakelists for lib and cli
2017-05-29 22:38:42 +02:00
Ted John
fedb8917c7
Create new CMake project for libopenrct2
2017-05-29 22:38:42 +02:00
Ted John
5c59b743fd
Add new CLI and UI builds for non Windows platforms
2017-05-29 22:38:42 +02:00