aboutsummaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
2016-08-18Buildsystem/MSVC: Drop support to VS2013jackpoz
Upgrade to VS2015 following the steps explained in the wiki
2016-07-08Update FindBoost.cmakeAokromes
2016-07-06Update options.cmakeAokromes
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. (cherry picked from commit 2b97b32d810d105070124b1008723c756589c719)
2016-05-14Build/GCC: Enforce version 4.7.2Vincent-Michael
(cherry picked from commit ede8f0ca0a28d059c1356c6970ac87f53c72a424)
2016-05-14Build: Added 1.61 Boost version to FindBoostVincent-Michael
(cherry picked from commit e43b871137e4b6063e62a5945dd9cbc9f70def4e)
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-12Core/Build: Workarround for different path handling in CMake < 3.2Naios
* Closes #16951
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-04-09Buildsystem: Improved logic for _BUILD_DIRECTIVE in msvc buildsShauren
(cherry picked from commit 509a27fd51a2f88c5c72c264d2a546229c9c0e00)
2016-04-09Buildsystem: Initial changes to support building with vs clang toolsetShauren
(cherry picked from commit 4a3a178d7fe9d2d7e8fde2fe915cf5cec5223502)
2016-04-09Travis: Fixed git version info outputShauren
(cherry picked from commit 03917c79cdecb906912d9a94ac5ccdaecc8f62e1)
2016-03-24Core/Build: Enable /bigobj for most MSVC builds.Naios
* exluding 32 bit when dyynamic linking is disabled. (cherry picked from commit 183f97005573f499d486613119e7bbb3d5d5318b)
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: Fix detection of AppleClangNaios
* Since CMake 3.0 CMAKE_<LANG>_COMPILER_ID is set to "AppleClang"
2016-03-18CMake: Disable incremental linking in msvc debug buildsNaios
* Requested by Shauren
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-03-18CMake: Use inherited dependencies in common and toolsNaios
2016-03-18CMake: Add inherited include directories and definitions to precompiled headersNaios
2016-03-18CMake: Provide proper interface targets from dependenciesNaios
* to make use of cmakes inherited link dependencies which imports all include directories/ definitions from the link library
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
2016-02-21cmake: use CMAKE_BUILD_TYPE instead of CONFIGURATION as BUILD_DIRECTIVEBernd Lörwald
(cherry picked from commit 06391e5e9dff58a265d42a8a8093d0a57b8e2775)
2016-01-05Build/Misc: Clarify the meaning of one settingAokromes
2016-01-01Update copyright note for 2016Rushor
2015-12-25Build: Added 1.60 Boost version to FindBoostVincent-Michael
2015-11-12Buildsystem: Fixed building on windows 10 with cmake 3.4Shauren
(cherry picked from commit b5fbf773a5071fc4c88f8e0112ffe8a9f2f760e3)
2015-10-31Core/Players: Implemented serverside validation of reserved/profane namesShauren
Closes #15357 New library dependency: Boost.Regex (cherry picked from commit b564c10b13effed63c7b7dae25117e2e0a2c64e4)
2015-10-29Core/Build: Never overwrite the msvc cxx flags in the cacheNaios
* Setting all compiler flags in the cache led to circular bloating of msvc cxx parameters (was visible in console) which caused MSVC to rebuild the whole solution even on a small CMake change. It's not neccessary anyway to set the cxx parameters to the cache to take effect. * I'm not sure if the workarround is still needed for MSVC 12+. * Cleaning the CMake cache is recommended! * ref #15671 (cherry picked from commit 0946fcf2aa35ebe0b8db07813315e3d6546b9d31)
2015-09-27Buildsystem/MSVC: Added missed changeShauren
(cherry picked from commit 7732ad5153783ca31d32c6812f21c2b723fd589a)
2015-09-27Buildsystem/MSVC: Enabled /Zc:throwingNew for Visual Studio 2015 buildsShauren
More info here: http://blogs.msdn.com/b/vcblog/archive/2015/08/06/new-in-vs-2015-zc-throwingnew.aspx Closes #15230 (cherry picked from commit dcb1990e93bb879c88f1b43eb13292afa6baac86)
2015-08-16Core/Build: Removed obsolete SystemConfig.h and made genrev be part of ↵StormBytePP
shared library, which allows cache hits to happen more likely
2015-08-15Build: Add 1.59 Boost version to FindBoostDDuarte
2015-08-14Buildsystem: 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
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 (cherry picked from commit e2fb3bbd466641c794438933e636d63ebf19432e)
2015-07-25Buildsystem/MSVC: Enabled /bigobj for all x64 build typesShauren
(cherry picked from commit 52127197ec3ab3c77397867a9ab674fe6c0d8aeb)
2015-07-24Core/Misc: Fixing warnings detected by Visual Studio 2015 compilerShauren
(cherry picked from commit a22e4e121a1e54b2f4154d59623ee4a94a449176) Conflicts: cmake/compiler/msvc/settings.cmake src/server/game/DataStores/DBCStores.cpp src/server/game/Entities/GameObject/GameObject.cpp src/server/game/Entities/Object/Object.cpp src/server/game/Entities/Object/Object.h src/server/game/Entities/Pet/Pet.cpp src/server/game/Entities/Player/Player.cpp src/server/game/Entities/Unit/Unit.cpp src/server/game/Garrison/Garrison.cpp src/server/game/Garrison/GarrisonMgr.cpp src/server/game/Globals/ObjectMgr.cpp src/server/game/Globals/ObjectMgr.h src/server/game/Guilds/GuildMgr.cpp src/server/game/Handlers/CharacterHandler.cpp src/server/game/Handlers/QueryHandler.cpp src/server/game/Handlers/QuestHandler.cpp src/server/game/Handlers/SpellHandler.cpp src/server/game/Server/Packets/ChannelPackets.h src/server/game/Server/Packets/PartyPackets.cpp src/server/game/Server/WorldSession.h src/server/game/Spells/Spell.cpp src/server/game/Spells/SpellInfo.cpp src/server/game/Spells/SpellScript.cpp src/server/scripts/Commands/cs_list.cpp
2015-07-10CRLF to LFDDuarte
Seriously....
2015-06-29Buildsystem/Clang: Suppress warningjackpoz
Suppress -Wmismatched-tags warnings on clang to avoid false positive warnings reported using gcc 4.8
2015-06-29Build/CMake: Fix finding MySQL installDDuarte
(cherry picked from commit d4deb17a2f94d06b7eab232b90e874fa58675b36)
2015-06-26Merge pull request #14723 from TrinityCore/findmysql-updateDuarte Duarte
Update FindMySQL.cmake (cherry picked from commit fb4a9823c41b31158f6b5d68fc2ffc1608051984)
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-06-08Core/Misc: Disable G3D buffer pools if jemalloc is enabledjackpoz
2015-06-01Buildsystem: Removed handling for -DPREFIX shortcut for ↵Shauren
-DCMAKE_INSTALL_PREFIX cmake option, it an internal cmake variable since version 3.2 (cherry picked from commit 1987d3187d1f14cf6dfcaf4f63861db806ad06cc)
2015-05-19Merge pull request #14674 from jaredjones/patch-1Duarte Duarte
CMake OS X: Fixed Debug Mode for Xcode (cherry picked from commit b96e70af71a1cc87a33a79c71618697cd8f7ca9f)
2015-04-27Buildsystem: Updated FindBoost macro, now finds versions 1.57 and 1.58 as wellShauren
(cherry picked from commit 5acc4b14aa81a5e9a946d11cfa9034d334ea7144) Conflicts: cmake/macros/FindBoost.cmake Signed-off-by: Naios <naios-dev@live.de>
2015-04-21Core/CMake: Fix line endingsleak
2015-04-15Fix indentation in unix cmake settingsDaniel M. Weeks
(cherry picked from commit 71ba35a6cd4446d7f2a39c7eb41fa17aac4e6c5c)
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
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 ,-) (cherry picked from commit 352012e53173372ebc82898e1b6854c983b01b25) (cherry picked from commit 1f7f9feafc3f5017d617634ae993d2cdf4430920) For 3.3.5: * Synchronized ConfigureBoost.cmake with 6.x, libboost-filesystem1.55-dev also added as dependency! Signed-off-by: Naios <naios-dev@live.de> Signed-off-by: Nayd <dnpd.dd@gmail.com>
2015-03-15FindOpenSSL: fix detection of OpenSSL 1.0.2Guillaume Belz
Closes #14284 (cherry picked from commit 9ffeb58d094ddba9bffb33a79b33ade9af9f5c00)