Build: Use interface targets for inheriting flags and definitions

* Remove the usage of global flags and definitions
  set through the CMAKE_CXX_FLAGS variable.
* Use cmake target compile features for setting the
  CXX standard automatically.
* Make C++14 globally available in the project
* Closes #21033

(cherry picked from commit e60c1f84a7)
This commit is contained in:
Naios
2017-10-31 01:29:51 +01:00
parent af7352118b
commit ff35262a3a
22 changed files with 264 additions and 76 deletions

View File

@@ -55,6 +55,7 @@ if( NOPCH )
set(USE_SCRIPTPCH 0)
endif()
include(ConfigureBaseTargets)
include(CheckPlatform)
include(GroupSources)