Ovahlord
dd58d5ec0e
Build: disable missing field initializers warning on clang as well
2025-08-10 11:54:01 +02:00
Shauren
e0766bfc55
Build: Disable maybe-uninitialized warning for GCC that incorrectly triggers with std::optional
...
(cherry picked from commit d93002f9a96a01258500ca7b5f03fe27e50a7155)
2025-08-10 10:19:02 +02:00
Treeston
faef256861
Common/Utilities: ported StringConvert helpers from 335 branch
2025-07-26 00:40:54 +02:00
Ovahlord
1d25eabb4b
Core/Server: restore AuthServer and grunt login
2025-03-08 15:20:14 +01:00
Ovahlord
0927c5af40
Core/Misc: backported most boost changes from master branch
2025-02-27 23:47:52 +01:00
Ovahlord
4d193c29a3
Build: synced FindMySQL macro with master branch
2025-02-26 21:27:28 +01:00
Ovahlord
7769aed49a
CMake: added MySQL 8.3 to FindMySQL macro
2024-02-22 16:30:29 +01:00
Shauren
d02827d228
Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS
2023-12-14 01:06:34 +01:00
Shauren
4bc6115d4e
Build: Fixed finding openssl 3.2 on windows
2023-12-10 03:04:57 +01:00
Ovahlord
1251a781a0
CMake: added MySQL 8.2.0 to FindMySQL macro
2023-12-04 22:17:26 +01:00
Shauren
ffb78a2a30
Build: Fixed msvc version check
2023-10-30 00:36:26 +01:00
coolzoom
2da53c4c1a
CMake: dropped unsupported MySQL versions from FindMySQL macro ( #424 )
2023-10-10 18:33:22 +02:00
Ovahlord
b49f95e1e9
Build: added support for unity builds in most projects except for StormLib, ZLib and Scripts
2023-10-09 21:40:38 +02:00
Shauren
63be5a888c
Build: Support ASAN on msvc
...
# Conflicts:
# src/server/scripts/Commands/cs_debug.cpp
2023-08-22 14:28:24 +02:00
Shauren
7daadf8e2a
Build/GCC: Disable useless warning
2023-08-20 21:19:40 +02:00
Shauren
639acc4eb6
Build: Increase required msvc version slightly
2023-08-20 21:19:26 +02:00
Max Drosdo.www
13b91f5afb
removed legacy cmake libsdir entry ( #24813 )
...
(cherry picked from commit 60e813df6b7dfe599266cf36ddd52ba204917267)
(cherry picked from commit aa409f8993f3ee5e90dd64511f34504ebafec7d1)
2023-08-20 04:35:24 +02:00
Ovahlord
5bc189372b
CMake: fixed FindOpenSSL cmake macro
2023-08-01 10:20:00 +02:00
JustZerooo
2fdd6742b2
Update FindMySQL.cmake
...
Add MySQL 8.1 Server Support
2023-07-29 11:07:51 +02:00
Kargatum
43a19bba2a
Core/Mysql: support MariaDB 10.5 ( #25359 )
2023-07-09 11:18:39 +02:00
Ovahlord
083fb2da32
Build: move MSCV warning C5054 to warning level 3
2023-07-07 23:44:27 +02:00
Ovahlord
6fe9ebbded
CMake: fixed GCC cmake settings file
2023-07-07 21:09:13 +02:00
Daniel S. Reichenbach
a7527a8698
Core/Misc: added support for OpenSSL 3, dropped support for OpenSSL 1.0 and fixed build for Fixed build for MariaDB
2023-07-07 21:01:49 +02:00
Ovahlord
f34534465a
Build: enable C++20 and updated all compiler requirements
...
* ported some header and cmake updates from master branch
2023-07-04 23:49:57 +02:00
Shauren
6eb536f09c
Build: Update required cmake version to 3.18
...
* Remove cotire
# Conflicts:
# dep/PackageList.txt
2023-06-05 14:44:56 +02:00
Ovahlord
d4160ed9eb
Misc: removed some obsolete cmake target checks
2023-06-05 14:43:06 +02:00
Trulsrock
e63f994af6
Added from_hex for OpenSSL version parsing ( #26730 )
...
(cherry picked from commit 657970fb69ddb70b0650bc726a0065b38f6dbd29)
(cherry picked from commit 65521a40d274ce73769371b00d71c4b83e5ec319)
2023-05-19 22:27:07 +02:00
ipriver
408c386830
fixed indentation for cmake files
...
(cherry picked from commit a46d047f9466c6f16597755bb7c771a9d1a147f2)
(cherry picked from commit bde36062b7a0bf621086e73a5d419cd8637e9e96)
2023-05-19 22:26:00 +02:00
Ovahlord
33bc96fcce
CMake: disable unscoped enum type warning C26812 for msvc compilers
2022-02-21 10:36:36 +01:00
Shauren
f4c39d1aa9
Build: Disable Visual Studio 2022 MSBuild resource manager to make compile take only as much time as it does in Visual Studio 2019
2022-01-28 21:14:47 +01:00
Shauren
29fc3d55b4
Build: Enable some msvc warnings that are enabled for other compilers
...
# Conflicts:
# cmake/compiler/msvc/settings.cmake
2022-01-21 13:56:39 +01:00
Roc13x and Shauren
69aeb1e8a7
Build: Update FindOpenSSL.cmake and remove custom FindGit ( #294 )
...
(cherry picked from commit 77596dba67483c8050c3d3ea1c4299360fde6beb)
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2021-10-11 22:50:02 +02:00
Shauren
d255fb3dbd
Build: Fixed branch name displayed by appveyor binaries
...
(cherry picked from commit 85671f20d866797a5a401d714b183d07c55f8d83)
2021-09-10 10:22:18 +02:00
Shauren
8c8111976a
Build: Replace git describe with more script friendly alternative, git rev-parse and git diff-index
...
(cherry picked from commit 29659b4192dc114540379e92a5cc915a465821d8)
2021-09-01 20:33:59 +02:00
Carbenium
831c45b1da
dep: Add catch2 unit test framework and wire it up
...
To enable the test suite, make sure to configure CMake with -DBUILD_TESTING=1 , since it is disabled by default. The catch2 dependency will be downloaded during configure time.
Also add a new target "tests-common", which includes unit tests for the "common" project. To finally run the tests use the "test" target.
CircleCI: Run unit tests
(cherry picked from commit 6a28ee7b2a4269aa7e43265d1cd0067537e3e883)
2021-07-29 19:07:52 +02:00
Shauren
37d67ac8d2
Build: Set correct year in VER_LEGALCOPYRIGHT_STR
...
# Conflicts:
# revision_data.h.in.cmake
2021-05-17 15:06:00 +02:00
Shauren
fbffbbbe14
Dep: Switch to boost process instead of old standalone version
2021-02-19 15:21:15 +01:00
Shauren
b81afb5b92
Build: Fixed finding OpenSSL 1.1.1 installed from .msi packages instead of .exe
...
Closes #24664
2020-09-09 16:18:44 +02:00
Peter Keresztes Schmidt
cbd6fb2315
Build: Enable -Wimplicit-fallthrough on clang ( #25056 )
...
* Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs
Related: #25006
* Misc: Add some missing breaks (no-ops) to satisfy clang
Related: #25006
Closes #25055
* Build: Enable -Wimplicit-fallthrough on clang
Closes #25006
# Conflicts:
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Spells/SpellInfo.cpp
# src/server/scripts/Battlefield/BattlefieldWG.cpp
# src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/instance_blackrock_spire.cpp
# src/server/scripts/EasternKingdoms/ScarletMonastery/boss_high_inquisitor_fairbanks.cpp
# src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp
# src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp
# src/server/shared/DataStores/DBCDatabaseLoader.cpp
2020-07-18 22:47:52 +02:00
Shauren
78e7687a05
Fix warnings related to Vector3::operator= and remove -Wno-deprecated-copy suppression
...
# Conflicts:
# cmake/compiler/clang/settings.cmake
2020-07-13 20:37:26 +02:00
Carbenium
70e84c3e48
CMake: Use target_precompile_headers instead of cotire with CMake >= 3.16.0
...
# Conflicts:
# cmake/macros/FindPCHSupport.cmake
2020-06-16 10:53:42 +02:00
Giacomo Pozzoni
9fdf598792
Cherry-pick some cmake commits ( #24720 )
...
* Build system: Support new in cmake 3.17 Ninja Multi-Config generator
(cherry picked from commit 369b618d4f160816818681ed7e41063e2d9ba5b5)
* Build system: Fixed PCH with MSVC & Ninja generator
(cherry picked from commit d669f46b6d5190dabc686a35656e8b03f5ec325b)
* Core: Fix clang 10 warnings
(cherry picked from commit 7272508cb4b51ec5591b6f0e542ea29091db7546)
* Build system: Set -Wno-deprecated-copy only for clang 10
(cherry picked from commit 7fdeb259ba398d5d9343a5dcd1a89562dfcbe981)
* Core/Misc: GCC build and warning fixes
(cherry picked from commit 4d69cc1c567180b408ddbadb9edf26859cf4c006)
* Build system: Print found git version when warning about it being too old
(cherry picked from commit 1ae72db201189877c1b863fac140eb4b0a45c5bb)
* 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 161944b7643c62f9e7705c64e42d42e5d07f1959)
* Remove some code that was already removed from 335 and then cherry-picked into master
Co-authored-by: Shauren <shauren.trinity@gmail.com >
(cherry picked from commit 8c09b6e58b0e4f33b7a8e376a28709e693cf2914)
2020-06-11 20:24:00 +02:00
Shauren
8e65367d0c
Build system: Print found git version when warning about it being too old
2020-06-11 00:36:41 +02:00
Shauren
9d0bfc0c56
Build/Misc: Removed -DDEBUG from clang compile options
...
(cherry picked from commit b0609757d32cfe256794e354d13f98d5a4c97020)
2020-05-06 00:01:13 +02:00
Giacomo Pozzoni
2e9f4285d9
Build: Add support to MariaDB 10.4 on Windows
...
MariaDB 10.4 (latest stable) is the only supported version.
2020-05-05 16:27:07 +02:00
Ovahlord
6d769330b0
CMake: deprecated all MySQL versions below 5.7
2020-04-15 10:23:03 +02:00
Shauren
5653d4e2de
Core/DBLayer: Support using mysql 8
2020-04-15 10:19:24 +02:00
Shauren
0d84daa39c
Build: Delete FindBoost.cmake and rely on the one that ships with cmake instead
...
# Conflicts:
# cmake/macros/FindBoost.cmake
2020-04-05 21:06:09 +02:00
Giacomo Pozzoni
e69cd41669
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
2020-04-04 18:42:10 +02:00
Giacomo Pozzoni
c2913e608f
Build: Enable and require c++17
2020-03-16 14:14:46 +01:00