Commit Graph

12 Commits

Author SHA1 Message Date
Carbenium
70e84c3e48 CMake: Use target_precompile_headers instead of cotire with CMake >= 3.16.0
# Conflicts:
#	cmake/macros/FindPCHSupport.cmake
2020-06-16 10:53:42 +02:00
Giacomo Pozzoni
c2913e608f Build: Enable and require c++17 2020-03-16 14:14:46 +01:00
ariel-
5ff847159c Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources 2018-03-28 04:41:59 -03:00
Shauren
f7fd109066 Buildsystem: Fixed windows pch build with ninja
(cherry picked from commit a6e46c1c2e)
2017-12-14 09:49:56 +01:00
Shauren
1808fdd7b2 Buildsystem: Minor PCH building changes
* *PCH.cpp are now only compiled with MSVC, other compilers use custom helper commands to generate the precompiled header
* Don't call the linker for pch helpertargets

(cherry picked from commit 137f5e7887)
2017-06-25 14:16:31 +02:00
Aokromes
4905073101 Buildsystem: Initial changes to support building with vs clang toolset 2016-08-10 04:43:29 +02:00
Aokromes
41fb7d649d Fix pch run 2016-06-09 07:51:34 +02:00
Naios
beade4616a CMake: Add inherited include directories and definitions to precompiled headers 2016-05-23 05:57:51 +02:00
Naios
a974574d6e CMake: Add the possibility to pass an arbitrary count of targets to add_cxx_pch.
* A PCH is still generated for every target which was passed to the macro
* Resolves naming conflicts when using the same PCH header from multiple projects
* Ref #15671
2016-02-22 16:25:54 +01:00
Spp
51287930cb Core/Build: All include directories are quoted to support path with spaces
Closes #9504
2013-03-26 13:45:47 +01:00
Spp
333b8e5159 Core/Build: Enable Clang PCH support and OS X specific features
Core: Fix warnings here and there
2012-11-09 13:13:45 +01:00
click
dcaeceaf6b Buildsystem: Change over to a little more flexible method of using the CMake buildsystem (partially WIP) - REQUIRES RERUNNING CMAKE!
For finding out the "standard" parameters examine the cmake/options.cmake file and adjacent files for your platform/compiler.
For platform settings -> cmake/platform/*/settings.cmake
For compiler settings -> cmake/compiler/*/settings.cmake
Some more testing and changes IS required, but I don't have OSX/XCode to kill off the main issues

--HG--
branch : trunk
rename : cmake/FindPlatform.cmake => cmake/macros/CheckPlatform.cmake
rename : cmake/FindACE.cmake => cmake/macros/FindACE.cmake
rename : cmake/FindMySQL.cmake => cmake/macros/FindMySQL.cmake
rename : cmake/FindOpenSSL.cmake => cmake/macros/FindOpenSSL.cmake
rename : cmake/FindPCHSupport.cmake => cmake/macros/FindPCHSupport.cmake
rename : cmake/FindReadline.cmake => cmake/macros/FindReadline.cmake
rename : cmake/cmake_uninstall.cmake.in => cmake_uninstall.cmake.in
2010-08-28 18:49:17 +02:00