Commit Graph

284 Commits

Author SHA1 Message Date
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
b095c4cd30 Core/Misc: Removed obsolete NO_CORE_FUNCS 2018-04-02 20:05:08 +02:00
Shauren
b0609757d3 Build/Misc: Removed -DDEBUG from clang compile options 2018-03-16 21:13:09 +01: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
891960edbe Build: Require Visual Studio 2017 or greater
* See the deprecation notice at
  https://community.trinitycore.org/topic/13294-gcc-49-visual-studio-2015-end-of-life/

(cherry picked from commit b9b667f925)
2017-12-20 04:04:28 +01:00
Naios
edafb45b79 Build: Experimentally disable the /Zm workaround for MSVC
(cherry picked from commit 697b4dbef2)
2017-12-20 04:04:27 +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
Naios
af7352118b Build: Set the minimum required compiler version to GCC 6.3
* This is the current GCC version of debian 9

(cherry picked from commit 5a9ccae3e1)
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
Aokromes
7445670314 Update showoptions.cmake 2017-05-17 08:09:11 +02:00
Shauren
3a418a0bbc Core/Common: Include cleanup 2017-05-11 22:29:51 +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
48724ada69 Tools: Enable tools compilation by default
(the time diff is small and it will help starters, advanced users can disable it at any time on cmake guy/compilation script)
2017-02-09 09:46:05 +01:00
Aokromes
14f1504991 Update FindBoost.cmake
(cherry picked from commit 9790cb5762)
2017-02-05 00:57:17 +01:00
Aokromes
de16ff14de Update options.cmake
(cherry picked from commit e3de0ef531)
2017-02-05 00:02:16 +01:00
vincent-michael
2bc17e0880 Build: Added 1.63 Boost version to FindBoost 2017-01-15 22:33:27 +01:00
Shauren
a6d29d4058 Revert "Build/Clang: Suppress -Wexpansion-to-defined because of rapidjson dep"
This reverts commit 467e49c1fa.
2017-01-02 17:16:15 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
DDuarte
467e49c1fa Build/Clang: Suppress -Wexpansion-to-defined because of rapidjson dep
https://travis-ci.org/TrinityCore/TrinityCore/builds/187588737#L985-L995
2016-12-30 02:15:40 +00: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
Shauren
650ab693a8 Buildsystem: Enforce Visual Studio 2015 Update 3 in CMake 2016-08-18 17:45:49 +02:00
Naios
2b97b32d81 Build: Throw a fatal error when the SCRIPTS variable isn't a valid option.
* Catches issues early that are caused through a wrong configuration.
2016-06-23 22:19:37 +02:00
Vincent-Michael
ede8f0ca0a Build/GCC: Enforce version 4.7.2 2016-05-13 18:06:00 +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
3ebec1e2ce oops, pushed too soon (now with proper msbuild check) 2016-04-09 00:40:43 +02:00
Shauren
509a27fd51 Buildsystem: Improved logic for _BUILD_DIRECTIVE in msvc builds 2016-04-09 00:37:41 +02:00
Shauren
4a3a178d7f Buildsystem: Initial changes to support building with vs clang toolset 2016-04-05 22:43:41 +02:00
Shauren
03917c79cd Travis: Fixed git version info output 2016-03-31 23:39:53 +02:00
Naios
183f970055 Core/Build: Enable /bigobj for most MSVC builds.
* exluding 32 bit when dyynamic linking is disabled.
2016-03-24 01:28:56 +01:00