aboutsummaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
2024-03-01Build: Silence cmake warning about newline in variableShauren
2024-03-01Build: Replaced deprecated exec_program with execute_processShauren
2024-02-29Build: Perform CMake check_cxx_source_compiles checks using the same C++ ↵Shauren
standard as used in the project
2024-02-28Core/Misc: Allow formatting optionals with Trinity::StringFormatShauren
2024-02-25Build: Reuse PCH file between all script modulesShauren
2024-02-17Build: Improve ARM target detection in cmake (needed by MSVC)Shauren
2024-02-07CMake: added MySQL 8.3 to FindMySQL cmake macroOvahlord
2023-12-22CMake: added MySQL 8.2 to FindMySQL cmake macroOvahlord
2023-12-05Build: Fixed finding openssl 3.2 on windowsShauren
2023-12-01Core/Misc: Added windows version checks during startup to avoid confusion ↵Shauren
about crashes when running on unsupported OS
2023-10-29Build: Fixed msvc version checkShauren
2023-08-22Build: Support ASAN on msvcShauren
2023-08-07Dep: Support mysql 8.1 on windowsShauren
2023-07-30Build/GCC: Disable useless warningShauren
2023-07-25Build: Increase required msvc version slightlyShauren
2023-07-11Build: moved MSVC warning C5054 from warning level 4 to 3Ovahlord
2023-05-14Core/DBLayer: Relaxed restrictions on which Field class member function can ↵Shauren
be used to access column value from "strict match" to "must not truncate"
2023-04-10Build: Fixed copypaste mistake in appleclang version checkShauren
2023-04-10Core/Misc: Fix build with libc++Shauren
Closes #28909
2023-02-03Build: Make genrev more resilient to invalid source code checkoutsShauren
2023-01-01Build: Enable C++20Shauren
2023-01-01Build: Update required compilers to current debian stable and VS 2022Shauren
GCC: 10 Clang: 11 MSVC: 2022
2022-09-06Build: Update required cmake version to 3.18Shauren
* Remove cotire
2022-09-06Core/Crypto: Remove support for OpenSSL 1.0Shauren
2022-07-19Build: Fixed finding mysql binary on first cmake runShauren
Closes #28133
2022-06-20Build: Modernize mysql finding scriptShauren
2022-06-17Build: Improve automatic finding of libraries on macShauren
2022-06-10Dep: Support MySQL installations from vcpkg (#27780)vconcat
(cherry picked from commit f47bd13db30ba4ae335f3f800843a33a7f357c32)
2022-05-03Build: Prioritize manually selected openssl location over default installed oneShauren
2022-05-03Core/Crypto: Switch away from most deprecated openssl functions and removed ↵Shauren
upper version limit
2022-03-11Added from_hex for OpenSSL version parsing (#26730)Trulsrock
(cherry picked from commit 657970fb69ddb70b0650bc726a0065b38f6dbd29)
2022-03-11Build: Remove fine-grained CXX feature checksCarbenium
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 0ea73a29050493f53efa2101dc94c2bab302ac06)
2022-03-10Build: Set correct year in VER_LEGALCOPYRIGHT_STRShauren
(cherry picked from commit 68a490923d183c438fd852dde73f3054554d023a)
2022-03-08CONF_DIR (#26360)Jan Van Buggenhout
(cherry picked from commit d8940f35a954a66f9fa0dc0595fab8532edce29f)
2022-03-06CMake: Add WITH_BOOST_STACKTRACE option to use libbacktrace (#26119)Giacomo Pozzoni
* CMake: Add WITH_BOOST_STACKTRACE option to use libbacktrace * Allow to specify where backtrace.h header is with cmake option -DBOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE="/usr/lib/gcc/x86_64-linux-gnu/10/include/backtrace.h" Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com> (cherry picked from commit dc78b5a6a7410092df7ac426fbb2f2551072c889)
2022-03-05Core: whitespace cleanup, reduce double blank line to single (#25795)Kargatum
* Core/Misc: fix double empty line * worldserver.conf (cherry picked from commit a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
2022-02-16Build: Partial support for clang-clShauren
2022-02-11Build: New CMake option -DBUILD_TIME_ANALYSIS=1 for clang (enables detailed ↵Shauren
compile time statistics that can be later viewed with ClangBuildAnalyzer)
2022-02-11Build: Instantiate templates during PCH generation with clang 11+ (this ↵Shauren
should make PCH more effective in reducing compile times, closer to MSVC)
2022-02-04Core/Mysql: support MariaDB 10.5 (#25359)Kargatum
(cherry picked from commit 277b401df45879fa33345878be8864e3ba5aa8c3)
2022-02-04Common/Utilities: Centralize string -> T conversion in StringConvert.h (PR ↵Treeston
#25335) (cherry picked from commit cd30e0b86ce6ee88386a91cebdf353fc55805c57)
2022-02-04Build: Add Clang version guard to CMake (PR #25324)Treeston
(cherry picked from commit 27b1930d97d541c241655d8b820cbaebe6eec44e)
2022-02-04Build/GCC: Raise required version to 8.3.0 (#25297)Giacomo Pozzoni
Even when building with Clang, make sure to have libstdc++ >= 8 (cherry picked from commit 41d70a5905c152d26217cc152a1748c337cfd81e)
2022-01-28Build: Disable Visual Studio 2022 MSBuild resource manager to make compile ↵Shauren
take only as much time as it does in Visual Studio 2019
2022-01-26Build: Enable /permissive- flag on msvcShauren
(cherry picked from commit c8fed48b161cfff5fa90d8bf4342ede88086ada4)
2022-01-24Core/Metric: Add new cmake option WITH_DETAILED_METRICS to enable more ↵Giacomo Pozzoni
metrics (#25136) * Core/Metric: Add new cmake option WITH_DETAILED_METRICS to enable more metrics Add more detailed metrics in World::UpdateSessions(). * Attempt using C++17 features * Fix cmake typo Co-authored-by: NoName <322016+Faq@users.noreply.github.com> * Fix build with WITHOUT_METRICS * Update Performance profiling dashboard with Update sessions panel * Add panel to show sessions with update time above 100 ms * Move legends on the right and add max update time diff in the legend of sessions Co-authored-by: NoName <322016+Faq@users.noreply.github.com> (cherry picked from commit 36ef487a90d0d14c4da8ce7e19b5916b8b15056c)
2022-01-23Build: Add WITH_LD_GOLD option to use gold linker on unixCarbenium
gold is an ELF-only linker which has a better performance than the default ld. (cherry picked from commit 796e2b32e03e7b1a56e44bd4b8988f9156bbb026)
2022-01-23dep: Add catch2 unit test framework and wire it upCarbenium
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)
2022-01-23Core/Metric: Add more metrics about World::Update() loop (#25098)Giacomo Pozzoni
* Core/Metric: Add more metrics about World::Update() loop * Add new Performance profiling grafana dashboard * Add new cmake setting WITHOUT_METRICS that disables all metrics As new metrics are added, someone might want to disable them if unused. * Add more metrics about World::Update() loop * Remove old performance profiling features Remove "server set difftime" command, "-RecordUpdateTimeDiffInterval" and "MinRecordUpdateTimeDiff" worldserver config settings and their related code. The whole UpdateTime class could be removed too. * Update and rename 2020_07_99_99_world.sql to 2020_07_24_00_world.sql (cherry picked from commit 3c0ac7302f902d1811d2c215217a3d701f8b5b19)
2022-01-23Build: Enable -Wimplicit-fallthrough on clang (#25056)Peter Keresztes Schmidt
* 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