aboutsummaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
2025-09-06Dep/MySQL: Ignore MySQL Workbench installations when searching for mysql.exeShauren
(cherry picked from commit 31beaf0ba1b4ba9742b86e29d0aeef4fbbaf4983)
2025-08-30Dep/MySQL: Remove hardcoded mariadb search locationsShauren
Closes #31242 (cherry picked from commit ceb9aed4e2fe2038063d2487766d863d04846974)
2025-08-30Dep/MySQL: Move required version checks to CMake, raise required version to ↵Shauren
8.0.34 and remove strict compiled<->runtime version match requirement from non-Windows platforms (cherry picked from commit b386971229f5ad389be9e22cbb96c39d79ac7beb)
2025-08-30Build: Enable more msvc standard conformance optionsShauren
(cherry picked from commit c5425196fd5bd04ce22aad377959e7f4376cafb1)
2025-08-30Core/Misc: Fix revision_data.h and boost/predef preprocessor macro conflictShauren
(cherry picked from commit 1f5f245c02e92b967abfcd74858669be98a49333)
2025-08-30Build: Remove -fpch-instantiate-templates detection, it is enabled by ↵Shauren
default since CMake 3.19 (cherry picked from commit 55a19f15d01b5f06c158f1dfbd2c43e4f5d6837c)
2025-08-30Build: enable MSVC warning C5038 - member initialization order to get closer ↵Ovahlord
to the warning behavior of the other compilers (cherry picked from commit e36a66d6322f51a201bb394a9fd4b7943cdd805f) (cherry picked from commit 2b1ad96be1c102b1d681b7205ec38d2c5de28d9d)
2025-08-30Build: Disable -Wmissing-field-initializers for clang, it now mirrors ↵Shauren
unwanted gcc behavior since version 18 (cherry picked from commit 93c8993314cde7f45f1b0be32152a318aee51999)
2025-08-30Build: Handle localized "Microsoft" name returned from Get-CimInstanceShauren
(cherry picked from commit bfb6c9551870d2fadf789223e52c7799828b3f1b)
2025-08-30Build: Add more detailed windows release name to revision_data.h (#30310)Keramat Jokar
(cherry picked from commit 83ca87d39eca0fdb71895d4774189bbb5fa89b3e)
2025-08-30Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings ↵Shauren
into compile errors (cherry picked from commit 7ac0c685dd01bdce2d1ee0bb878e5044b3c1fffa)
2025-08-30Build: Automatically include WindowsSettings.manifest in all executables ↵Shauren
instead of listing it separately as source file in every target (cherry picked from commit a21e7c738e3f03347a3e96bda11e29e090ad71b6)
2025-08-30Core/Misc: CompilerDefs/GitRevision improvementsShauren
* Removed INTEL as a separate platform (it does not belong there) * Removed BORLAND from known compilers list (it was never supported) * Simplified TRINITY_PLATFORM_WINDOWS detection (_WIN32 is always defined) * Rename revision_data.h macros that begin with a underscore * Added processor architecture to --version string * Added Linux distribution name to .server debug * Fixed some revision_data.h macros missing/wrong values when regenerated during compilation * Removed manual adding of _WIN64 macro from cmake (it is predefined internally by compiler) (cherry picked from commit e8740fb2e125b308493aeab49ddd7b0cc6a53c97)
2025-05-11Build: Replace hardcoded mysql search paths with pattern based approachShauren
2025-05-11Build: Extract hardcoded list of mysql paths to shared cmake variableShauren
2025-04-13Build: Disable maybe-uninitialized warning for GCC that incorrectly triggers ↵Shauren
with std::optional (cherry picked from commit d93002f9a96a01258500ca7b5f03fe27e50a7155)
2025-04-13Build: CMake cleanupShauren
* 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 (cherry picked from commit 77fe2745febab9e4362b09750093d831325e6091)
2025-04-13Build: Decouple compiler specific settings from os settingsShauren
(cherry picked from commit 12d1f4448c30d313e8f0e70d89f29b709f5dd70d)
2025-04-13Build: Normalize executable locations in build directory for all platformsShauren
(cherry picked from commit a7c42f1ed55e586d0d817dd99865aa7c024b0140)
2025-04-13Build: Unify setting _BUILD_DIRECTIVE preprocessor macro for all compilersShauren
(cherry picked from commit 078bc6fe3fc764eaa2d528a19fe6d40972ee3537)
2025-04-13Build: Remove unneccessary /MP compile option when using ninjaShauren
(cherry picked from commit 1083e89da3f8182d377a48d0c46cf2308795f974)
2025-04-13Build: Silence cmake warning about newline in variableShauren
(cherry picked from commit 0e01b72df87d9bff4675df710b8bbd57254beb7e)
2025-04-13Build: Replaced deprecated exec_program with execute_processShauren
(cherry picked from commit 8eac6224c029c8384f962bb56c768ee5b9c685b9)
2025-04-13Build: Perform CMake check_cxx_source_compiles checks using the same C++ ↵Shauren
standard as used in the project (cherry picked from commit 34308dd6decd7011ba7ff1196db49b961577c608)
2024-06-02Build: Allow efsw to be built independently of WITH_DYNAMIC_LINKING option ↵Foe
(#30019)
2024-04-10Build: Update required GCC version to 11.1Shauren
(cherry picked from commit 16853af7c84b1204357333db399100604ab6cb29)
2024-03-27Build: Fix Linux aarch64 GCC build (#29831)lee
2024-03-13Core/Misc: Fixed windows nopch buildShauren
(cherry picked from commit 261a237cfa159e52dbb7ec4ab9ae5a5c6257b9ef)
2024-02-26Build: Reuse PCH file between all script modulesShauren
(cherry picked from commit eac4bf825ab7cc0f423dd11a6dea85ad3563af66)
2024-02-26Build: Improve ARM target detection in cmake (needed by MSVC)Shauren
(cherry picked from commit 7e51d17a0aa06c7aaf25a836d90487b17383fca7)
2024-02-26CMake: added MySQL 8.3 to FindMySQL cmake macroOvahlord
(cherry picked from commit 7199ccf156e806f967471e24677d265b525aeb11)
2024-02-26CMake: added MySQL 8.2 to FindMySQL cmake macroOvahlord
(cherry picked from commit b6a35c79200e0a9bccc10fd3d5ec9bf1d5af6ebe)
2024-02-26Build: Fixed msvc version checkShauren
(cherry picked from commit eb847ff53767c4c88a54f893b002843166a9ffea)
2024-02-26Dep: Support mysql 8.1 on windowsShauren
(cherry picked from commit c489e2620759819b79a728ffaf62bc144b8e0438)
2024-02-26Build/GCC: Disable useless warningShauren
(cherry picked from commit 0aa644287cf0e085f21a8ffdae6c6e985e64e961)
2024-02-26Build: Increase required msvc version slightlyShauren
(cherry picked from commit 1ed8bfa08017b69d59f2cb7703f59ab4a0a3bf79)
2024-02-26Build: moved MSVC warning C5054 from warning level 4 to 3Ovahlord
(cherry picked from commit d535977c6d8e3ef3463dfc461c94590988cf5b1f)
2024-02-26Build: Fixed copypaste mistake in appleclang version checkShauren
(cherry picked from commit 8d353f20fdc3b2e0b19bf2dd2634701852cb07a0)
2024-02-26Core/Misc: Fix build with libc++Shauren
Closes #28909 (cherry picked from commit 083b8d6c846cfdf75abb1fae481a3eeb25c13c56)
2024-02-26Build: Update required cmake version to 3.18Shauren
* Remove cotire (cherry picked from commit add53fb3ef410812b73a9143cb1a32d09b43002a)
2024-02-26Build: Make genrev more resilient to invalid source code checkoutsShauren
(cherry picked from commit 03837b252579bdacdb8a128e52a12a748855e2fe)
2024-02-26Build: Fixed finding mysql binary on first cmake runShauren
Closes #28133 (cherry picked from commit e9152679d78c456e05be3743d7fed308c8304555)
2024-02-26Build: Modernize mysql finding scriptShauren
(cherry picked from commit ae6b9e6c41f882f6c0a48a6352b73b3ae098e012)
2024-02-26Build: Improve automatic finding of libraries on macShauren
(cherry picked from commit 091e71502c58b824e1b04517907a2a449f3b168f)
2024-02-26Build: Partial support for clang-clShauren
(cherry picked from commit 0b846b2107569209d6bb0106f3075b624c713244)
2024-02-26Build: Enable some msvc warnings that are enabled for other compilersShauren
(cherry picked from commit 73b4b1733a49430b2288417d26f96c24a19c8c28)
2023-12-05Build: Fixed finding openssl 3.2 on windowsShauren
(cherry picked from commit 94aed6896873179b284b8b1911590ed9587466d6)
2023-12-02Core/Misc: Added windows version checks during startup to avoid confusion ↵Shauren
about crashes when running on unsupported OS (cherry picked from commit 333630b7de15c4090392fcbbc1bc58da4d5fb138)
2023-08-23Build: Support ASAN on msvcShauren
(cherry picked from commit 0a0b420d866f070d4b1208bb3c4451398797c6ef)
2023-08-15Core/DBLayer: Relaxed restrictions on which Field class member function can ↵Shauren
be used to access column value from "strict match" to "must not truncate" (cherry picked from commit eadafb0347d606e5e3e660d21227aa15378bdb21)