Shauren
320bf3755b
Build: Prioritize manually selected openssl location over default installed one
...
(cherry picked from commit 370dd97998 )
2022-06-16 12:37:00 +02:00
Shauren
77091ed599
Core/Crypto: Switch away from most deprecated openssl functions and removed upper version limit
...
(cherry picked from commit bc87f7b337 )
2022-06-16 12:37:00 +02:00
vconcat
f47bd13db3
Dep: Support MySQL installations from vcpkg ( #27780 )
2022-04-05 11:45:29 +02:00
Shauren
e073e09b86
Build: Modernize readline finding script
...
(cherry picked from commit 203f1197b4 )
2021-10-06 10:36:33 +02:00
Shauren
77596dba67
Build: Update FindOpenSSL.cmake and remove custom FindGit
2021-09-22 18:49:33 +02:00
Trulsrock
657970fb69
Added from_hex for OpenSSL version parsing ( #26730 )
2021-07-21 20:00:49 +02:00
Carbenium
0ea73a2905
Build: Remove fine-grained CXX feature checks
...
With C++17 enabled these don't serve an purpose anymore.
See https://cmake.org/cmake/help/latest/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.html
2021-06-28 00:43:39 +02:00
Kargatum
a32b6b8ac4
Core: whitespace cleanup, reduce double blank line to single ( #25795 )
...
* Core/Misc: fix double empty line
* worldserver.conf
2021-01-03 11:47:07 +01:00
Shauren
aba07047a0
Build: Fixed finding OpenSSL 1.1.1 installed from .msi packages instead of .exe
...
Closes #24664
2020-09-09 13:44:46 +02:00
Kargatum
277b401df4
Core/Mysql: support MariaDB 10.5 ( #25359 )
2020-08-30 22:47:48 +02:00
ipriver
a46d047f94
fixed indentation for cmake files
2020-06-24 14:42:02 +02:00
Peter Keresztes Schmidt
cb5694607d
CP of CMake: Prepare for target_precompile_headers ( #24810 ) for 3.3.5 ( #24816 )
...
* CMake: Remove guards around CMP0043 and CMP0054
We require CMake >= 3.8 which includes the policies.
CMP0043 OLD behaviour is still required by cotire.
(cherry picked from commit 18ad767226 )
* CMake: Use target_precompile_headers instead of cotire with CMake >= 3.16.0
(cherry picked from commit f387673aa3 )
2020-06-16 13:38:37 +02:00
Giacomo Pozzoni
8c09b6e58b
Cherry-pick some cmake commits ( #24720 )
...
* Build system: Support new in cmake 3.17 Ninja Multi-Config generator
(cherry picked from commit 369b618d4f )
* Build system: Fixed PCH with MSVC & Ninja generator
(cherry picked from commit d669f46b6d )
* Core: Fix clang 10 warnings
(cherry picked from commit 7272508cb4 )
# Conflicts:
# src/common/Utilities/Util.h
# src/server/bnetserver/REST/LoginRESTService.cpp
# src/server/game/Entities/Object/Position.h
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Guilds/GuildFinderMgr.h
# src/server/game/Movement/Spline/MoveSplineFlag.h
# src/server/shared/Dynamic/LinkedList.h
* Build system: Set -Wno-deprecated-copy only for clang 10
(cherry picked from commit 7fdeb259ba )
* Core/Misc: GCC build and warning fixes
(cherry picked from commit 4d69cc1c56 )
# Conflicts:
# src/common/Utilities/Util.cpp
# src/server/database/Database/MySQLConnection.cpp
# src/server/game/Battlefield/Zones/BattlefieldTB.cpp
# src/server/game/DataStores/M2Stores.cpp
# src/server/game/DungeonFinding/LFGMgr.cpp
# src/server/game/DungeonFinding/LFGPlayerData.cpp
# src/server/game/Entities/GameObject/GameObject.cpp
# src/server/game/Entities/Item/Item.cpp
# src/server/game/Entities/Object/Updates/UpdateFields.h
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Entities/Player/RestMgr.cpp
# src/server/game/Entities/Unit/Unit.cpp
# src/server/game/Handlers/PetHandler.cpp
# src/server/game/Server/Packets/GuildPackets.h
# src/server/game/Spells/Auras/SpellAuraEffects.cpp
# src/server/game/Spells/Auras/SpellAuras.cpp
# src/server/game/Spells/Spell.cpp
# src/server/game/Spells/SpellInfo.cpp
# src/server/game/Spells/SpellMgr.cpp
# src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp
# src/server/scripts/Kalimdor/HallsOfOrigination/instance_halls_of_origination.cpp
# src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp
# src/server/scripts/Northrend/Ulduar/Ulduar/boss_mimiron.cpp
# src/server/scripts/Northrend/zone_sholazar_basin.cpp
# src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp
# src/server/scripts/Outland/GruulsLair/instance_gruuls_lair.cpp
# src/server/scripts/Outland/HellfireCitadel/BloodFurnace/instance_blood_furnace.cpp
# src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/shattered_halls.cpp
# src/tools/vmap4_extractor/gameobject_extract.cpp
# src/tools/vmap4_extractor/model.cpp
# src/tools/vmap4_extractor/vec3d.h
* Build system: Print found git version when warning about it being too old
(cherry picked from commit 1ae72db201 )
* Build system: Removed hard requirement on BOOST_ROOT being set as environment variable, it can now be also passed as command line argument to cmake and fix compile warning with boost 1.73
(cherry picked from commit 161944b764 )
# Conflicts:
# dep/boost/CMakeLists.txt
* Remove some code that was already removed from 335 and then cherry-picked into master
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2020-05-31 14:17:26 +02:00
Giacomo Pozzoni
7c91c423d0
Build: Add support to MariaDB 10.4 on Windows
...
MariaDB 10.4 (latest stable) is the only supported version.
2020-04-24 19:35:40 +02:00
Aokromes
0fa366cbda
Misc: Deprecate mysql 5.6
2020-04-10 18:08:18 +02:00
Shauren
2a2867cdc0
Build: Delete FindBoost.cmake and rely on the one that ships with cmake instead
...
(cherry picked from commit e5b12a76dc )
# Conflicts:
# cmake/macros/FindBoost.cmake
2020-04-05 15:14:28 +02:00
Giacomo Pozzoni
726d5e91b5
Build: Enable and require c++17 ( #23868 )
...
* Build: Enable and require c++17
* Build: Raise Visual Studio version from 2017 15.2 to 2017 15.9
* Build: Raise GCC version from 6.3.0 to 7.1.0
* Reduce branch differences
* Fix build after latest merge
* Cleanup after latest merge
2020-02-08 18:14:09 +01:00
Aokromes
ed93932537
New year
...
Say bye bye to every year changing dates
2020-01-02 06:25:50 +01:00
vincent-michael
5c0aa2f2bd
Build: Updated Find Boost versions
2019-12-20 19:58:35 +01:00
Shauren
5f06c476f6
Core/DBLayer: Support using mysql 8
...
(cherry picked from commit c3a9d56b56 )
2019-11-09 13:49:27 +01:00
jackpoz
3d3b7f438c
Buildsystem: Fix finding VS 2019 compiled boost libs
2019-04-19 22:37:50 +02:00
Treeston
fcfcb0eb6f
Happy New Year, folks. It's 2019!
2019-01-01 15:45:25 +01:00
Aokromes
33c723685f
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:11:29 +01:00
vincent-michael
234e1166d7
Build: Added Boost version 1.68 to FindBoost
2018-10-04 18:28:13 +02:00
Aokromes
6f39c71903
Cmake: Update outdated string
2018-09-12 10:56:58 +02:00
vincent-michael
f3833b426d
Build: Added Boost version 1.67 to FindBoost
...
https://www.boost.org/users/history/version_1_67_0.html
2018-04-15 12:36:37 +02:00
Shauren
1dd44207bd
Buildsystem: Fixed finding openssl 1.1 libs
...
(cherry picked from commit 413cf257cd )
2018-03-20 17:55:22 +01:00
Warlockbugs
efef6b5e36
Core/Crypto: Transitional Cryptography update for OpenSSL 1.1 ( #21533 )
...
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:53:41 +01:00
tkrokli
f6b6f57a6d
Update copyright note for 2018
...
Best wishes for the new year.
2018-01-01 01:55:29 +01:00
Naios
d3d003d69e
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
2017-12-23 02:14:05 +01:00
Naios
9d0400211d
Build: Export a default interface which doesn't hide symbols in unix automatically
...
(cherry picked from commit db5d5a03be )
2017-12-21 23:31:11 +01:00
ariel-
b1ad5df1ee
Build: fixed finding Boost 1.66 named libraries... somewhat
2017-12-21 03:24:08 -03:00
ariel-
d8faa089e4
Build: fix typo in FindBoost
2017-12-21 03:05:23 -03:00
ariel-
42cc93b940
Build/Misc: added Boost 1.66 to FindBoost.cmake
2017-12-21 02:46:47 -03:00
Naios
92f96fc10e
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
2017-12-17 20:22:34 +01:00
Naios
e60c1f84a7
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
2017-12-17 20:22:33 +01:00
Shauren
57c13c539b
Buildsystem: Fixed windows pch build with ninja
...
(cherry picked from commit a6e46c1c2e )
2017-12-13 13:41:47 +01:00
vincent-michael
9e521fd77d
Build: Added 1.65.1 Boost version to FindBoost
2017-09-10 15:20:31 +02:00
vincent-michael
c9437ba4cd
Build: Added 1.65 Boost version to FindBoost
...
http://www.boost.org/users/history/version_1_65_0.html
(cherry picked from commit cc6ca733d8 )
2017-08-29 19:40:20 +02:00
Shauren
5024813fe3
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-22 02:33:12 -03:00
ariel-
3049d19b53
Build: fix finding VS 2017 compiled boost libs
2017-04-22 18:16:23 -03:00
ariel-
caf0b209d5
Build: Added support for boost 1.64
...
Build: Added 1.64 Boost version to FindBoost
(cherry-picked from commit 5233caf092 )
Build: Fixed build with boost 1.64
(cherry-picked from commit a3dec5cb75 )
2017-04-22 18:16:22 -03:00
S.V
f3d795d8dd
Core/ScriptReloadMgr: Fixed scripts hot swapping on OS X ( #19365 )
2017-03-31 23:10:18 +02:00
Aokromes
00889ba009
Update FindOpenSSL.cmake
2017-02-07 10:46:52 +01:00
Aokromes
3bfaa0eac8
Build: Added 1.63 Boost version to FindBoost
2017-01-24 10:30:00 +01:00
tkrokli
6a51a88767
Update Copyright notice for 2017
...
Happy new year!
2017-01-02 19:52:45 +01:00
ariel-
7906bdc15e
Build: Added 1.62 Boost version to FindBoost
2016-10-03 09:25:24 -03:00
Aokromes
12a6ade3ee
Update FindOpenSSL.cmake
2016-09-11 16:28:51 +02:00
Aokromes
3772561ae4
Cmake: Clarify OpenSSL version required
2016-09-11 16:25:47 +02:00
Aokromes
5c92f5ba5e
Cmake: Added OpenSSL version required
...
Cherry pick from 604a06eb36
2016-09-11 14:05:59 +02:00