Commit Graph

147 Commits

Author SHA1 Message Date
Shauren
ab046bdc32 Build: Replace hardcoded mysql search paths with pattern based approach 2024-08-20 14:23:34 +02:00
Shauren
15209a9cfe Build: Extract hardcoded list of mysql paths to shared cmake variable 2024-08-20 13:48:10 +02:00
Shauren
77fe2745fe Build: CMake cleanup
* Migrate all add_definitions to target_compile_definitions
* Remove -D from preprocessor definitions added by target_compile_definitions (unneccessary, cmake strips it anyway)
* Fixed NO_BUFFERPOOL not being set on g3d if jemalloc is used
* Moved library/compiler specific compile flag settings spread all over various CMakeLists to their related library/compiler file
* Remove ancient manual link flag settings for worldserver
2024-07-15 15:24:35 +02:00
Shauren
12d1f4448c Build: Decouple compiler specific settings from os settings 2024-06-15 17:07:25 +02:00
Shauren
078bc6fe3f Build: Unify setting _BUILD_DIRECTIVE preprocessor macro for all compilers 2024-06-15 13:34:44 +02:00
Ovahlord
728e7c7fcf Core/Cryptography: dropped support for OpenSSL 1.1
OpenSSL 1.1 has been deprecated for quite some time now so it is time to put it to rest. Please upgrade to OpenSSL 3.x
2024-05-12 15:48:39 +02:00
lee
5c4b1ace41 Build: Fix Linux aarch64 GCC build (#29831)
(cherry picked from commit 370685457e)
2024-03-27 10:50:42 +01:00
Shauren
0e01b72df8 Build: Silence cmake warning about newline in variable 2024-03-01 15:18:08 +01:00
Shauren
8eac6224c0 Build: Replaced deprecated exec_program with execute_process 2024-03-01 11:36:10 +01:00
Shauren
34308dd6de Build: Perform CMake check_cxx_source_compiles checks using the same C++ standard as used in the project 2024-02-29 23:20:37 +01:00
Shauren
eac4bf825a Build: Reuse PCH file between all script modules 2024-02-25 00:05:19 +01:00
Shauren
7e51d17a0a Build: Improve ARM target detection in cmake (needed by MSVC) 2024-02-17 01:13:36 +01:00
Ovahlord
7199ccf156 CMake: added MySQL 8.3 to FindMySQL cmake macro 2024-02-07 09:16:12 +01:00
Ovahlord
b6a35c7920 CMake: added MySQL 8.2 to FindMySQL cmake macro 2023-12-22 16:40:43 +01:00
Shauren
94aed68968 Build: Fixed finding openssl 3.2 on windows 2023-12-05 18:04:30 +01:00
Shauren
c489e26207 Dep: Support mysql 8.1 on windows 2023-08-07 19:25:33 +02:00
Shauren
989f84c5f2 Build: Enable C++20 2023-01-01 00:26:53 +01:00
Shauren
add53fb3ef Build: Update required cmake version to 3.18
* Remove cotire
2022-09-06 19:27:50 +02:00
Shauren
b8f18fad29 Core/Crypto: Remove support for OpenSSL 1.0 2022-09-06 12:51:08 +02:00
Shauren
e9152679d7 Build: Fixed finding mysql binary on first cmake run
Closes #28133
2022-07-19 00:33:07 +02:00
Shauren
ae6b9e6c41 Build: Modernize mysql finding script 2022-06-20 22:43:22 +02:00
Shauren
091e71502c Build: Improve automatic finding of libraries on mac 2022-06-17 18:04:02 +02:00
vconcat
675af93f13 Dep: Support MySQL installations from vcpkg (#27780)
(cherry picked from commit f47bd13db3)
2022-06-10 15:18:39 +02:00
Shauren
370dd97998 Build: Prioritize manually selected openssl location over default installed one 2022-05-03 19:02:48 +02:00
Shauren
bc87f7b337 Core/Crypto: Switch away from most deprecated openssl functions and removed upper version limit 2022-05-03 17:03:57 +02:00
Trulsrock
65521a40d2 Added from_hex for OpenSSL version parsing (#26730)
(cherry picked from commit 657970fb69)
2022-03-11 19:08:48 +01:00
Carbenium
548e5bf0c3 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

(cherry picked from commit 0ea73a2905)
2022-03-11 13:53:43 +01:00
Kargatum
373ed8f46b Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf

(cherry picked from commit a32b6b8ac4)
2022-03-05 20:07:57 +01:00
Kargatum
c3bd803da3 Core/Mysql: support MariaDB 10.5 (#25359)
(cherry picked from commit 277b401df4)
2022-02-04 21:34:01 +01:00
ipriver
bde36062b7 fixed indentation for cmake files
(cherry picked from commit a46d047f94)
2022-01-06 23:40:39 +01:00
Giacomo Pozzoni
63e5092f14 Build: Add support to MariaDB 10.4 on Windows
MariaDB 10.4 (latest stable) is the only supported version.

(cherry picked from commit 7c91c423d0)
2022-01-01 20:16:37 +01:00
Aokromes
9d70595957 Misc: Deprecate mysql 5.6
(cherry picked from commit 0fa366cbda)
2022-01-01 13:29:04 +01:00
Giacomo Pozzoni
fe489e2be1 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

(cherry picked from commit 726d5e91b5)
2021-12-21 01:20:51 +01:00
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
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
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