aboutsummaryrefslogtreecommitdiff
path: root/cmake/macros
AgeCommit message (Collapse)Author
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 (cherry picked from commit 42eeb28a8b9c1f3ae2d667e4238e956a4a95bd6c)
2016-04-12Core/Build: Workarround for different path handling in CMake < 3.2Naios
* Closes #16951 (cherry picked from commit 81cee237758e5e83ae58efbb5bf7e6ca819dfe0e)
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-04-05Buildsystem: Initial changes to support building with vs clang toolsetShauren
2016-03-22Buildsystem: Removed unneeded FindZMQ scriptShauren
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-03-19CMake: Use inherited dependencies in common and toolsNaios
(cherry picked from commit abda7a910a760687f9c1b9e0893314e04982c0f1)
2016-03-19CMake: Add inherited include directories and definitions to precompiled headersNaios
(cherry picked from commit 2413a82b9343178b613bc6309125eecec8aa9123)
2016-03-19CMake: Provide proper interface targets from dependenciesNaios
* to make use of cmakes inherited link dependencies which imports all include directories/ definitions from the link library (cherry picked from commit 1a572d242593124f986d3ed08710b96a142a6763)
2016-02-22CMake: Add the possibility to pass an arbitrary count of targets to add_cxx_pch.Naios
* A PCH is still generated for every target which was passed to the macro * Resolves naming conflicts when using the same PCH header from multiple projects * Ref #15671 (cherry picked from commit a974574d6e810799298e82776ccd85be0ae6d4d5)
2016-01-21Buildsystem: Try picking up zmq lib for VS 2013 if using VS 2015Shauren
2016-01-14Buildsystem: Updated required boost versionShauren
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-12-22Build: Added 1.60 Boost version to FindBoostVincent-Michael
2015-11-12Buildsystem: Fixed building on windows 10 with cmake 3.4Shauren
2015-08-30Core/Players: Implemented serverside validation of reserved/profane namesShauren
Closes #15357 New library dependency: Boost.Regex
2015-08-15Build: Add 1.59 Boost version to FindBoostDDuarte
2015-08-15Buildsystem: Fix Boost not found targeting VS2015 with pre-built binariesjackpoz
Fix Boost libraries not being found by CMake when targeting Visual Studio 2015 with Boost installed using the binaries. Fixes #15277 (cherry picked from commit ca940548bfbeff585983aa537da036f75d3f0f7b)
2015-07-27Build/CMake: Partially revert recent changes to FindMySQL.cmakeDDuarte
Looking for folders like ".../MySQL/*/include" matches the MySQL Connector C libs which caused some problems. Related #15072, #15068 P.S ".../MySQL/MySQL Server*/include" doesn't work
2015-07-24Correctly displaying error message at cmake's configure stage when libZMQ ↵David Carlos Manuelda
has not been found
2015-06-29Build/CMake: Fix finding MySQL installDDuarte
2015-06-02Merge pull request #14723 from TrinityCore/findmysql-updateDuarte Duarte
Update FindMySQL.cmake
2015-05-29Buildsystem: Removed handling for -DPREFIX shortcut for ↵Shauren
-DCMAKE_INSTALL_PREFIX cmake option, it an internal cmake variable since version 3.2
2015-05-19Update FindMySQL.cmakeDuarte Duarte
Replace hardcoded paths to C:/Program Files
2015-05-19Update FindMySQL.cmakeDuarte Duarte
Simplify path lookups of the MySQL installation on Windows
2015-04-27Buildsystem: Updated FindBoost macro, now finds versions 1.57 and 1.58 as wellShauren
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-03-21Core/Updates: Add an automatic database update system. Automatically detects ↵Naios
new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp Make sure you re-run cmake, because boost::iostreams was added as dependency. Maybe you need to install libboost-iostreams1.55-dev on unix as well. Import every update manual until (included) those INSERT IGNORE updates for each database. Thanks DDuarte and Shauren for your amazing ideas, help and advises. In hope that nobody gets a "Your database structure is not up to date..." anymore ,-) Signed-off-by: Naios <naios-dev@live.de> Signed-off-by: Nayd <dnpd.dd@gmail.com>
2015-03-08FindOpenSSL: fix detection of OpenSSL 1.0.2Guillaume Belz
Closes #14284
2015-02-19CMake: Allow specifying the mysql location by environment variable.leak
2015-01-19Line ending fix, sorry.Nayd
2015-01-01Update copyright note for 2015Vincent-Michael
Happy new year
2014-11-14CMake/FindBoost: Fix policy CMP0054 warning (added in 3.1)Nayd
2014-11-11Build/CMake: Use BOOST_NO_SCOPED_ENUMS if Boost version is less than 1.51DDuarte
http://www.boost.org/doc/libs/1_57_0/libs/config/doc/html/boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.boost_deprecated_macros
2014-11-04CMake: Improve FindZMQ on WindowsDDuarte
When ZMQ version is not found in the registry it will enumerate possible .lib names and try to find those
2014-10-30Build: Fixup 428d510f7664. Use check_cxx_source_compiles instead of try_compileDDuarte
2014-10-30Build: Support boost versions compiled in C++11 as well as C++03 modebloerwald
Issues related to boost::filesystem and scoped enums
2014-10-28Tools/connection_patcher: remove c# code, add c++ code with minor ↵bloerwald
modification, move to tools, integrate into cmake note: no longer downloads nonexistent modules note: now throws on not finding patterns new dependency: boost.filesystem Closes #13471
2014-10-18Buildsystem/CMake: Fixed FindZMQ macro on x86 WindowsShauren
2014-10-18Buildsystem/CMake: Fixed FindZMQ macro on x86 WindowsShauren
2014-10-17Core: Implemented IPC (Inter-process communication) between worldserver and ↵Shauren
bnetserver using ZeroMQ library. * Implemented ToonReady and ToonLoggedOut battle.net packets
2014-09-20Core: Fix build for msvc14Vincent-Michael
2014-09-03CMake: Add a few more MySQL search paths to FindMySQL.cmake, including x86Duarte Duarte
Ref https://github.com/TrinityCore/TrinityCore/issues/12969#issuecomment-54322244
2014-08-27Core: Remove whitespaceVincent-Michael
2014-07-17Buildsystem: Removed debugging message from cmake outputShauren
2014-07-16Update related files to lowered Boost version requirementleak
2014-07-15[Auth\Worldserver] Use boost to load console arguments. (Added a few style ↵Chaplain
changes and cmake fix) Conflicts: src/server/worldserver/Main.cpp
2014-07-12Remove the need of manually declaring BOOST_ROOT in Linux systems if Boost ↵Subv
was installed to the default locations
2014-07-11Buildsystem: Lowered required boost version to 1.49Shauren
2014-07-06Added a missing definitionSubv