Commit Graph

11 Commits

Author SHA1 Message Date
longchair
d25d77797f Cmake : allow to use a toolchain cmake file if any
This allows a bit painless dev env on Embedded version.
2016-04-19 19:56:17 +02:00
Tobias Hieta
fbb795dd46 Don't assume cflags test for them instead.
Instead of maintaining lists per compiler of flags that should
be enabled / disabled we now test for them instead. If they are
able to be used we append them.

Same with linker flags we test for them before assuming they work.
2016-04-01 16:31:23 +02:00
Tobias Hieta
da3ec01ac2 Better integrate cmake and clang-tidy 2016-03-29 10:28:08 +02:00
Niclas Berglind
3e7a28de65 Make QT modules build with fPIC flag if required
When building on Ubuntu (14.04 with cmake 3.2.2) the -fPIC flag needs to be added when compiling. This change fixes that issue, but I don't know how it will affect building on other systems.

Plex-CLA-1.0-signed-off-by: Niclas Berglind <nb@kjam.se>
2016-03-27 09:33:30 +02:00
Tobias Hieta
9abf240e18 Add tidy target to run clang-tidy 2016-03-22 10:27:04 +01:00
Tobias Hieta
81924d2e89 CMake fix for Clang 3.8 on OSX
For whatever cmake reason we need to call cmake_minimum_version before
project() when dealing with non-apple clang on OSX.
2016-03-22 08:40:43 +01:00
Tobias Hieta
546ed96bfa Add new target install_app_bundle
This makes it possible to trigger a install and upload from CLion
2016-02-22 09:01:47 +01:00
Tobias Hieta
4638151bfd WIP: qhttpserver->qhttp 2016-02-22 09:01:47 +01:00
Tobias Hieta
e24e5ef359 Expose dependencies and qt dependencies hash version to the debug overlay 2015-12-11 11:22:42 +01:00
Tobias Hieta
063e870ecc Bump required CMake version to 3.1.0.
Earlier versions did not include CXX_STANDARD that we use to figure out
what compiler flags needs to be used.
2015-10-26 08:16:31 +01:00
Tobias Hieta
3d4859f1b1 Initial public commit of Plex Media Player 2015-10-13 11:05:27 +02:00