Commit Graph

306 Commits

Author SHA1 Message Date
Shauren
203f1197b4 Build: Modernize readline finding script 2021-10-01 18:54:52 +02:00
Shauren
4d153b6cb9 Build: Update FindOpenSSL.cmake and remove custom FindGit
(cherry picked from commit 77596dba67)
2021-10-01 13:02:03 +02:00
Shauren
629ec3a14d Build: Check -Wno-deprecated-copy existence using check_cxx_source_compiles instead of hardcoding clang version number 2021-10-01 11:19:39 +02:00
Shauren
376ac0eeba Buildsystem: Separate strict database type checks from TRINITY_DEBUG/WITH_COREDEBUG option
(cherry picked from commit ddd60a948c)
2021-09-06 21:01:48 +02:00
Shauren
85671f20d8 Build: Fixed branch name displayed by appveyor binaries 2021-09-05 14:49:02 +02:00
Shauren
29659b4192 Build: Replace git describe with more script friendly alternative, git rev-parse and git diff-index 2021-08-31 11:29:07 +02:00
jackpoz
89a232de3a Core/Misc: Add PERFORMANCE_PROFILING CMake option
Add a new CMake option called PERFORMANCE_PROFILING that should be used only when profiling the performance.
This option is unsupported, do not report any issue happening when enabling this option.

(cherry picked from commit db5c9867e2)
2021-08-08 21:21:34 +02:00
jackpoz
65f4666063 Dep/Jemalloc: Update to Jemalloc 5.0.1
(cherry picked from commit 92cd9bd70d)
2021-02-15 19:13:25 +01:00
Shauren
53abc254c7 Build: Fixed finding OpenSSL 1.1.1 installed from .msi packages instead of .exe
Closes #24664

(cherry picked from commit aba07047a0)
2020-09-09 22:27:41 +02:00
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
4d69cc1c56 Core/Misc: GCC build and warning fixes 2020-05-21 22:15:58 +02:00
Shauren
7fdeb259ba Build system: Set -Wno-deprecated-copy only for clang 10 2020-04-26 01:48:41 +02:00
Shauren
7272508cb4 Core: Fix clang 10 warnings 2020-04-26 01:25:50 +02:00
Shauren
369b618d4f Build system: Support new in cmake 3.17 Ninja Multi-Config generator 2020-04-16 17:53:36 +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
Giacomo Pozzoni
77154e0c03 Require Visual Studio 2019 16.4 or greater (#24214)
* CI/AppVeyor: Add appveyor.yml file

* Build: Require Visual Studio 2019 16.4 or greater

* CI/AppVeyor: Upgrade to VS2019 image

* Update cmake error message

* CI/AppVeyor: Fix appveyor VS 2019 configuration

(cherry picked from commit 1df52da0b0)
2020-04-04 18:35:58 +02:00
Aokromes
b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
Shauren
aa64226b64 Core/Misc: Suppress openssl random generator uninitialized variable errors under valgrind 2019-11-08 20:17:59 +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
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