aboutsummaryrefslogtreecommitdiff
path: root/cmake/options.cmake
AgeCommit message (Collapse)Author
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-06fixed indentation for cmake filesipriver
(cherry picked from commit a46d047f9466c6f16597755bb7c771a9d1a147f2)
2022-01-06Additional cmake entry for configsipriver
Closes #24812 Co-authored-by: Carbenium <carbenium@outlook.com> (cherry picked from commit dc467ee0f6d0a49be4bd20b621f141228dfec736)
2021-09-06Buildsystem: Separate strict database type checks from ↵Shauren
TRINITY_DEBUG/WITH_COREDEBUG option (cherry picked from commit ddd60a948c432aaac1d9a9ff05c9cf22ada35813)
2020-01-02New YearAokromes
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-02-09Tools: Enable tools compilation by defaultAokromes
(the time diff is small and it will help starters, advanced users can disable it at any time on cmake guy/compilation script)
2017-02-05Update options.cmakeAokromes
(cherry picked from commit e3de0ef531bf89a2f4193cf1beecf4bce05971af)
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-06-23Build: Throw a fatal error when the SCRIPTS variable isn't a valid option.Naios
* Catches issues early that are caused through a wrong configuration.
2016-04-11Core/Scripts: Split script subdirectories into independent modulesNaios
* Makes it possible to define the linkage for every module * Move the ScriptPCH into the root directory * Changes the SCRIPTS cmake variable to a string type: -> -DSCRIPTS=0 is -DSCRIPTS="minimal-static" now (builds commands and spells statically) -> -DSCRIPTS=1 is -DSCRIPTS="static" now (builds all modules statically) -> -DSCRIPTS="dynamic" (builds all modules dynamically) -> Also the default value which is provided by the SCRIPTS variable is overwriteable through the SCRIPTS_COMMANDS, SCRIPTS_SPELLS... variable.
2016-03-24Core/Build: Add the possibility to link libraries dynamically.Naios
* makes it possible to access exported singletons from other shared lib's. * reduces binary size
2016-03-19CMake: Remove the workaround for source groups below CMake 2.8.12Naios
* Set the default option to hierarchical * Add a new "hierarchical-folders" option which enables folders inside IDE's. (cherry picked from commit bf773ccc417b47d01502c8151cea6188e33e16aa)
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-03-29CMake: Use source_groups to represent the source treeNaios
* It let ide's (like vs) display the source tree. * Disabled by default. * Soft requirement is cmake >= 2.8.12 . * Offers 2 modes: flat & hierarchical. * For detailed description see #14471 * Thanks @click for help and advises. * Closes #14471 (cherry picked from commit c386711972260aa7b877cdc8cb49d24576ce1902) Conflicts: src/server/authserver/CMakeLists.txt
2015-01-25Tools: Remove mesh_extractorNayd
mesh_extractor is not ready for production and it will be developed in a different branch
2015-01-01Update copyright note for 2015Vincent-Michael
Happy new year
2014-11-10Core: Nuke authserverDDuarte
It has been replaced by bnetserver since grunt was deprecated
2014-01-01Update more copyright note for 2014.Vincent_Michael
I have no excuse for my fail :/
2013-09-27Fix silly " that snuck in.click
2013-09-27Buildsystem/CMake: Add support for building meshextractor-project from CMake GUIclick
2013-02-11Buildsystem/CMake: Fix an issue with MSVC not finding git-binary when ↵click
updating the revisionhash/revisiondate + rename DISABLEGITCHECK parameter to WITHOUT_GIT (to adhere to our standard) Also cleaned up the checks slightly + moved git-specific testing to its own macro (minor changes to shaurens original patch applied)
2013-02-11Buildsystem/CMake: Allow building the core without the gitchecks, this is ↵click
done in the GUI, or through the DISABLEGITCHECK parameter on *nix-platforms. DO NOTE THAT WE WILL NOT GIVE SUPPORT ON ANY CORE-VERSION COMPILED WITH THIS FLAG, AS WE CAN NOT EFFECTIVELY FIND OUT WHAT REVISION YOU ARE ON
2013-01-01Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmapsVincent_Michael
Conflicts: src/server/game/Movement/MovementGenerators/HomeMovementGenerator.cpp
2013-01-01Update more copyright note for 2013. (alcohol sucks)Vincent_Michael
2012-09-28Tools: Added an experimental tool (still WIP) to replace the current mmaps ↵Subv
generator
2012-03-27Core: Remove the MersenneTwiser-library (SFMT is now considered stable ↵click
enough for full deployment)
2012-03-11update forgotten copyright-headers for 2012thomas33
2012-03-04Buildsystem/CMake: Changed TOOLS building back to off by defaultShauren
2012-03-04Buildsystem/CMake: Enable SFMT as default random number generator (required ↵click
to get more feedback from community) Also update the revisionheader with the correct year :P
2011-04-04Core/BuildSystem: Removed -WITH_SQL Cmake option as it was confusing some users.runningnak3d
2010-12-26Buildsystem: Turn off SFMT being the default RNG - it's not cooking right (yet)click
--HG-- branch : trunk
2010-12-21Core/Buildsystem: Turn on SFMT by default, as we believe it is fixed. Please ↵silinoron
do test it for us! Note: Computers with processors older than Pentium 4 will need to have this turned off. --HG-- branch : trunk
2010-11-19Core/Buildsystem: Remove now deprecated WITH_SQLDEBUG option from CMake ↵click
options (it's handled by the command added in r8ecf6a8816) --HG-- branch : trunk
2010-09-17Buildsystem/Core: Add new build-flag WITH_SQLDEBUG - adds support for ↵click
enabling/disabling SQL-query logging --HG-- branch : trunk
2010-09-12BuildSystem: Make dep/* sources muted during compile (3rd party sources ↵click
should not show messages during compile, as we're not responsible for them) Note: Certain functions called within the main src/ subdir will warn due to that we do not ignore them in the CMakeLists.txt yet. This will be properly handled at an opportune moment. Buildsystem/CMake: Set default warninglevel to 0 (no warnings shown during compile) - some warnings will still show while we create the "mutelist" --HG-- branch : trunk
2010-09-08BuildSystem/Macros: Revert FindMySQL.cmake changes from ea96a5d888 - handled ↵click
with simple if-tests instead BuildSystem: Adjust buildfiles so that they reflect their proper parameters (will change when we've cleaned it up even more) --HG-- branch : trunk
2010-09-07BuildSystem/Windows: * Added 5.1.50 (GA) MySQL client sources for ↵Xanadu
crosscompiling (or lazy) windows people. * Added an option to autosearch for your own installed MySQL as before. Note that default setting is to use the internal MySQL. * You can now build 32-bit even if your MySQL is x64 and vice versa. * Recommended MySQL server version for use with provided MySQL client sources is 5.1.x. * If your server version is different, let CMake autofind and use it instead (check EXTERNAL_MYSQL option) --HG-- branch : trunk
2010-08-28Buildsystem: Split out the resultlist from the options, and print it AFTER ↵click
we've grabbed all the settings --HG-- branch : trunk
2010-08-28Buildsystem: Make options load BEFORE platformchecks, so they are preloaded ↵click
correctly + add some more output to make it easier to find possible issues with the new layout --HG-- branch : trunk
2010-08-28Buildsystem: Change over to a little more flexible method of using the CMake ↵click
buildsystem (partially WIP) - REQUIRES RERUNNING CMAKE! For finding out the "standard" parameters examine the cmake/options.cmake file and adjacent files for your platform/compiler. For platform settings -> cmake/platform/*/settings.cmake For compiler settings -> cmake/compiler/*/settings.cmake Some more testing and changes IS required, but I don't have OSX/XCode to kill off the main issues --HG-- branch : trunk rename : cmake/FindPlatform.cmake => cmake/macros/CheckPlatform.cmake rename : cmake/FindACE.cmake => cmake/macros/FindACE.cmake rename : cmake/FindMySQL.cmake => cmake/macros/FindMySQL.cmake rename : cmake/FindOpenSSL.cmake => cmake/macros/FindOpenSSL.cmake rename : cmake/FindPCHSupport.cmake => cmake/macros/FindPCHSupport.cmake rename : cmake/FindReadline.cmake => cmake/macros/FindReadline.cmake rename : cmake/cmake_uninstall.cmake.in => cmake_uninstall.cmake.in