aboutsummaryrefslogtreecommitdiff
path: root/cmake/showoptions.cmake
AgeCommit message (Collapse)Author
2020-07-27Core/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>
2020-07-24dep: 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
2020-07-24Core/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
2020-07-15Dep: Switch to boost process instead of old standalone versionShauren
2020-06-24fixed indentation for cmake filesipriver
2020-06-19Additional cmake entry for configsipriver
Closes #24812 Co-authored-by: Carbenium <carbenium@outlook.com>
2020-06-16removed legacy cmake libsdir entry (#24813)Max Drosdo.www
2019-10-19Build/Misc: Add ASan CMake flagjackpoz
Allow to enable/disable Address Sanitizer in Clang and GCC from CMake flag "ASAN" of type Boolean. It can be enabled passing -DASAN=TRUE to CMake.
2018-03-14Buildsystem: Separate strict database type checks from ↵Shauren
TRINITY_DEBUG/WITH_COREDEBUG option
2018-02-17Core/Misc: Add PERFORMANCE_PROFILING CMake optionjackpoz
Add a new CMake option called PERFORMANCE_PROFILING that should be used only when profiling the performance. This option is unsupported, do not report any issue happening when enabling this option.
2017-11-25Dep/Jemalloc: Update to Jemalloc 5.0.1jackpoz
2017-05-17Update showoptions.cmakeAokromes
2016-04-14Core/Scripting: Disallow the build directory to contain spacesNaios
* I wasn't able to work arround a path which contains spaces, since it seems like a CMake specific issue. * Closes #16947
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. (cherry picked from commit 848b8a4136a4b395bfab74899520c74812d7f08e)
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 (cherry picked from commit f4e0945b13a70225684e7421d9542efae6a47c89)
2016-03-18CMake: 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.
2016-01-05Build/Misc: Clarify the meaning of one settingAokromes
2015-06-20Core/Misc: Add valgrind support for jemallocjackpoz
Set CMake option VALGRIND to add valgrind support to jemalloc. Set CMake parameter VALGRIND_INCLUDE_DIR to the valgrind include directory.
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
2014-10-19Build/CMake: CMake options cleanup after ↵jackpoz
febb26d4b711762b1ee605705e7fa949b9871df1
2014-09-20Core/Misc: Avoid Helgrind reporting libstdc++ false positive race conditionsjackpoz
2013-10-04Core/Build: Handle USE_SCRIPTPCH cmake flag when SCRIPTS flag is set to FALSEjackpoz
Don't ignore USE_SCRIPTPCH cmake flag if SCRIPTS is set to FALSE; in this case "script" project has only source files related to scripted spells and command scripts and it must be built with precompiled headers if USE_SCRIPTPCH flag is set. This partially reverts 780ed1b01c77ac142e1da5851ff7deb832413b11 .
2013-02-27Buildsystem: Show the revision info as a full string during ↵click
configurationphase as well (additional minichange to previous commit by shauren)
2013-02-11Buildsystem/CMake: Correct a few mistakes regarding WITHOUT_GIT, and add a ↵click
better warning during configure-phase.
2013-01-22Tools/Extractors: Mmap extractors no longer depend on shared and MySQL librariesShauren
2012-03-27Core: Remove the MersenneTwiser-library (SFMT is now considered stable ↵click
enough for full deployment)
2012-03-25Buildsystem/CMake: Add the ability to avoid linking the core with jemalloc ↵click
on linux through using the -DNOJEM parameter. WARNING: This is a developer flag only, and as such NOT documented elsewhere - we need this for valgrind and related tools. Again : YOU HAVE BEEN WARNED! DO NOT USE THIS FLAG UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
2011-08-04Buildsystem/Windows: Add support for reading commithash and commitdate ↵click
directly from the executable binaries. To view this information, check the "Product Version" field in Properties on the respective daemon. + Fix worldserver/authserver .rc file layouts and content (now adheres to MS standards *sighs*) + Change .serv info output to show corename followed by the commit date and hash + Include showing the versionstring on worldserver startup completion (on Aokromes' request) Thanks to Paradox for bugging me enough about it and the initial pull-request.
2011-05-09Buildsystem: Remove an old remnant not removed in be6b73145bdaf (no use in ↵click
showing a report about installing SQL-files when it's not available anymore...)
2011-04-28Core: get rid of the revision-id once and for all - it's not useful in a ↵click
DVCS at all
2011-01-11Buildsystem: Fix a logical error in git revision-detection, and alsoclick
make the warning text a little bit more "Hello Cpt.Obvious" obvious for users that can't read. (It now includes the word WARNING in the warnings)
2010-11-19Core/Commands: Enable SQL query logging by config and command )patch by leak)click
Closes issue 4853. --HG-- branch : trunk
2010-10-14BuildSystem: Clean up the revision.h generation a tad bitclick
--HG-- branch : trunk
2010-09-29Buildsystem: Overhaul of the CMake buildsystem:click
- utilize CMake for completely generating revision.h (kills off genrev and revision.h targets): - pull and set correct revision-ID/hash from Mercurial (hg) when using regular repository sourcetree - pull and set correct revision-ID/hash from archived releases (when pulled from googlecode) - set and use _BUILD_DIRECTIVE definition (earlier part of revision.h) as compiletime definition - delete genrev and related buildsystems (now deprecated) - Move some files around to adhere to buildsystem structure Thanks to Shauren for figuring out the definition-behaviour for MSVC while he was in the shower --HG-- branch : trunk rename : cmake_uninstall.cmake.in => cmake/platform/unix/cmake_uninstall.in.cmake
2010-09-17Buildsystem/Core: Add new build-flag WITH_SQLDEBUG - adds support for ↵click
enabling/disabling SQL-query logging --HG-- branch : trunk
2010-09-08BuildSystem: Sort out issues with mysql-libraries under *nix (and should now ↵click
also work properly for Win32) - Rename the "EXTERNAL_MYSQL" flag to "USE_MYSQL_SOURCES" to reflect it's PROPER use (and ensure that it's ONLY used on Win32) - Remove a lingering "scripts" definition (the "scripts"-target is always included, but only from compiled parts (broke builds with -DSCRIPTS=0) --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