Commit Graph

111 Commits

Author SHA1 Message Date
Carbenium
f387673aa3 CMake: Use target_precompile_headers instead of cotire with CMake >= 3.16.0 2020-06-16 09:29:31 +02:00
Shauren
1ae72db201 Build system: Print found git version when warning about it being too old 2020-05-30 17:42:14 +02:00
Shauren
e5b12a76dc Build: Delete FindBoost.cmake and rely on the one that ships with cmake instead 2020-04-05 01:41:35 +02:00
Aokromes
b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
Shauren
c3a9d56b56 Core/DBLayer: Support using mysql 8 2019-11-01 16:21:14 +01:00
vincent-michael
5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Aokromes
5e115c620b Misc: Deprecate any mysql under 5.6
Mysql 5.5 is deprecated on few hours.
5.5	December 3, 2010; 8 years ago[50]	5.5.61	2018-07-27	December 2018
https://en.wikipedia.org/wiki/MySQL#Release_history
closes #22874
2018-12-31 18:12:26 +01:00
vincent-michael
9ffa906feb Build: Added Boost version 1.68 to FindBoost 2018-10-04 18:04:10 +02:00
vincent-michael
878496f871 Build: Added Boost version 1.67 to FindBoost
https://www.boost.org/users/history/version_1_67_0.html
2018-04-15 11:44:46 +02:00
Shauren
413cf257cd Buildsystem: Fixed finding openssl 1.1 libs 2018-03-06 21:06:34 +01:00
Warlockbugs
87bd1126ff Core/Crypto: Transitional Cryptography update for OpenSSL 1.1 (#21534)
Support for both OpenSSL 1.0 LTS and OpenSSL 1.1 versions.

Many Linux distributions are still on 1.0 and will stay on LTS for quite
some time.

Port of CMaNGOS commit: e1b0048f05
2018-03-04 15:26:08 +01:00
ariel-
cabb352c33 Build: fixed finding Boost 1.66 named libraries... somewhat 2018-01-03 20:51:19 +01:00
ariel-
47fce87927 Build: fix typo in FindBoost 2018-01-03 20:51:13 +01:00
ariel-
0c6a5f9981 Build/Misc: added Boost 1.66 to FindBoost.cmake 2018-01-03 20:51:07 +01:00
vincent-michael
7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Naios
18ab645781 Build: Re-enable the /Zm workaround for MSVC (cotire version)
* Thanks Spec for reporting this issue
* See https://community.trinitycore.org/topic/120-compile-or-cmake-problems/?do=findComment&comment=83912
* Ref 697b4dbef2

(cherry picked from commit d3d003d69e)
2017-12-23 02:17:19 +01:00
Naios
db5d5a03be Build: Export a default interface which doesn't hide symbols in unix automatically 2017-12-20 04:04:28 +01:00
Naios
964d6bd1b2 Build: Use the cotire library for precompiled header handling
* Required for handling flags inherited by linked projects
  correctly in the corresponding precompiled header.
* Reduces the maintenance effort for precompiled headers

(cherry picked from commit 92f96fc10e)
2017-12-20 04:04:27 +01:00
Naios
ff35262a3a 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)
2017-12-20 04:04:27 +01:00
vincent-michael
22d784aaa8 Revert "Build/Boost: Added support for finding vs 15.3 libraries"
This reverts commit e6393a3f7c.
2017-09-08 22:07:45 +02:00
vincent-michael
e6393a3f7c Build/Boost: Added support for finding vs 15.3 libraries 2017-09-08 20:03:13 +02:00
vincent-michael
3abfd66018 Build: Added 1.65.1 Boost version to FindBoost 2017-09-08 19:04:14 +02:00
vincent-michael
cc6ca733d8 Build: Added 1.65 Boost version to FindBoost
http://www.boost.org/users/history/version_1_65_0.html
2017-08-22 09:28:43 +02:00
Shauren
a6e46c1c2e Buildsystem: Fixed windows pch build with ninja 2017-07-19 21:37:42 +02:00
ariel-
5734643cec Build: fix finding VS 2017 compiled boost libs 2017-06-26 00:31:48 +02:00
Shauren
0f7b263eac Buildsystem: Fixed linking to both release and debug versions of openssl libs on windows
Closes #19941
2017-06-24 00:06:52 +02:00
Shauren
137f5e7887 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
2017-06-08 00:37:15 +02:00
vincent-michael
5233caf092 Build: Added 1.64 Boost version to FindBoost
Note: Currently no support for boost 1.64
2017-04-20 19:53:34 +02:00
S.V
886e9e839b Core/ScriptReloadMgr: Fixed scripts hot swapping on OS X (#19365) 2017-04-05 22:02:34 +02:00
Aokromes
14f1504991 Update FindBoost.cmake
(cherry picked from commit 9790cb5762)
2017-02-05 00:57:17 +01:00
vincent-michael
2bc17e0880 Build: Added 1.63 Boost version to FindBoost 2017-01-15 22:33:27 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
ariel-
ed53439d9d Build: Added 1.62 Boost version to FindBoost
(cherry picked from commit 7906bdc15e)
2016-10-03 09:26:59 -03:00
Vincent-Michael
604a06eb36 Cmake: Added OpenSSL version required 2016-09-09 00:59:38 +02:00
Vincent-Michael
e43b871137 Build: Added 1.61 Boost version to FindBoost 2016-05-13 17:54:53 +02:00
Naios
2038c31100 Core/Scripting: Disallow the build directory to contain spaces
* I wasn't able to work arround a path which contains spaces,
  since it seems like a CMake specific issue.
* Closes #16947

(cherry picked from commit 42eeb28a8b)
2016-04-14 21:30:43 +02:00
Naios
86344e1843 Core/Build: Workarround for different path handling in CMake < 3.2
* Closes #16951

(cherry picked from commit 81cee23775)
2016-04-12 23:12:01 +02:00
Naios
848b8a4136 Core/Scripts: Split script subdirectories into independent modules
* Makes it possible to define the linkage for every module
* Move the ScriptPCH into the root directory
* Changes the SCRIPTS cmake variable to a string type:
  -> -DSCRIPTS=0 is -DSCRIPTS="minimal-static" now
     (builds commands and spells statically)
  -> -DSCRIPTS=1 is -DSCRIPTS="static" now
     (builds all modules statically)
  -> -DSCRIPTS="dynamic"
     (builds all modules dynamically)
  -> Also the default value which is provided by the SCRIPTS
     variable is overwriteable through the SCRIPTS_COMMANDS,
     SCRIPTS_SPELLS... variable.
2016-04-11 21:13:58 +02:00
Shauren
4a3a178d7f Buildsystem: Initial changes to support building with vs clang toolset 2016-04-05 22:43:41 +02:00
Shauren
fb8f66f936 Buildsystem: Removed unneeded FindZMQ script 2016-03-22 00:07:04 +01:00
Naios
90274d0337 CMake: Remove the workaround for source groups below CMake 2.8.12
* Set the default option to hierarchical
* Add a new "hierarchical-folders" option which enables folders inside IDE's.

(cherry picked from commit bf773ccc41)
2016-03-19 23:19:56 +01:00
Naios
0db4f018e8 CMake: Use inherited dependencies in common and tools
(cherry picked from commit abda7a910a)
2016-03-19 23:19:52 +01:00
Naios
853eee75b0 CMake: Add inherited include directories and definitions to precompiled headers
(cherry picked from commit 2413a82b93)
2016-03-19 23:19:51 +01:00
Naios
b0ac332d58 CMake: Provide proper interface targets from dependencies
* to make use of cmakes inherited link dependencies which
  imports all include directories/ definitions from the link library

(cherry picked from commit 1a572d2425)
2016-03-19 23:19:50 +01:00
Naios
44223e1af1 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

(cherry picked from commit a974574d6e)
2016-02-22 16:57:55 +01:00
Shauren
f4ebab2a73 Buildsystem: Try picking up zmq lib for VS 2013 if using VS 2015 2016-01-21 17:50:37 +01:00
Shauren
e1d2d60ec3 Buildsystem: Updated required boost version 2016-01-14 17:45:11 +01:00
Vincent-Michael
478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Vincent-Michael
c63d515643 Build: Added 1.60 Boost version to FindBoost 2015-12-22 11:33:06 +01:00
Shauren
b5fbf773a5 Buildsystem: Fixed building on windows 10 with cmake 3.4 2015-11-12 16:59:07 +01:00