Commit Graph

273 Commits

Author SHA1 Message Date
Aokromes
14bb3131eb Cmake: Update outdated string 2018-09-12 10:59:18 +02:00
vincent-michael
404ad18608 Build: Added Boost version 1.67 to FindBoost
https://www.boost.org/users/history/version_1_67_0.html
2018-04-15 12:03:27 +02:00
ariel-
5ff847159c Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources 2018-03-28 04:41:59 -03:00
ariel-
7fff6c424f Compile zmq locally 2018-03-28 03:20:25 -03:00
Aokromes
19fa11cfa6 Increase gcc and clang to c++14 2018-03-08 23:55:48 +01:00
Shauren
dde0239200 Buildsystem: Fixed finding openssl 1.1 libs 2018-03-06 21:06:58 +01:00
Warlockbugs
6a8c0df9a8 Core/Crypto: Transitional Cryptography update for OpenSSL 1.1 (#21534)
Support for both OpenSSL 1.0 LTS and OpenSSL 1.1 versions.

Many Linux distributions are still on 1.0 and will stay on LTS for quite
some time.

Port of CMaNGOS commit: e1b0048f05
2018-03-05 14:54:35 +01:00
jackpoz
bb70a60ba7 Core/Misc: Add PERFORMANCE_PROFILING CMake option
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.
2018-02-18 18:36:32 +01:00
Aokromes
4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
ariel-
99044aaa3a Build: fixed finding Boost 1.66 named libraries... somewhat 2017-12-26 16:59:33 +01:00
ariel-
bbeb109135 Build: fix typo in FindBoost 2017-12-26 16:59:23 +01:00
ariel-
649be219fc Build/Misc: added Boost 1.66 to FindBoost.cmake 2017-12-26 16:59:12 +01:00
Shauren
f7fd109066 Buildsystem: Fixed windows pch build with ninja
(cherry picked from commit a6e46c1c2e)
2017-12-14 09:49:56 +01:00
jackpoz
41469a4161 Dep/Jemalloc: Update to Jemalloc 5.0.1 2017-11-25 14:03:02 +01:00
Aokromes
e21d1ca968 Setup/Misc: add a note abbout ZMQ 2017-11-10 20:18:58 +01:00
vincent-michael
2fffd5d7ad Build: Added 1.65.1 Boost version to FindBoost 2017-09-10 15:43:04 +02:00
vincent-michael
c60c237465 Build: Added 1.65 Boost version to FindBoost
http://www.boost.org/users/history/version_1_65_0.html

(cherry picked from commit cc6ca733d8)
2017-09-10 15:26:26 +02:00
Aokromes
3b324bcb11 Buildsystem: Enforce Visual Studio 2015 Update 1 in CMake
Even if it's for few days, it looks it's absolute minimum needed to compile 3.3.5a for now
2017-06-28 17:48:04 +02:00
Shauren
1808fdd7b2 Buildsystem: Minor PCH building changes
* *PCH.cpp are now only compiled with MSVC, other compilers use custom helper commands to generate the precompiled header
* Don't call the linker for pch helpertargets

(cherry picked from commit 137f5e7887)
2017-06-25 14:16:31 +02:00
Aokromes
25892c603d Fix description default 2017-05-17 08:11:10 +02:00
Aokromes
e50f95092c Build: fix finding VS 2017 compiled boost libs 2017-05-07 09:22:45 +02:00
Aokromes
6871bb1729 Build: Added 1.64 Boost version to FindBoost 2017-04-20 22:25:46 +02:00
Aokromes
df1730a734 Core/ScriptReloadMgr: Fixed scripts hot swapping on OS X 2017-04-01 07:20:43 +02:00
Aokromes
3eebbfc97d Tools: Enable tools compilation by default
(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-10 05:26:56 +01:00
Aokromes
34042dceb5 Update FindOpenSSL.cmake 2017-02-10 05:25:38 +01:00
Aokromes
719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
ariel-
16995799c9 Build: Added 1.62 Boost version to FindBoost 2016-10-03 14:58:55 +02:00
Aokromes
41683c1b7c Cmake: Limit OpenSSL version to 1.0.x client needs RC4 and 1.1.x removes the support 2016-09-11 16:36:23 +02:00
Aokromes
fb7060992b Buildsystem/MSVC: Drop support to VS2013
Upgrade to VS2015 following the steps explained in the wiki
2016-08-18 14:41:19 +02:00
Naios
b64cddabaf Build: Throw a fatal error when the SCRIPTS variable isn't a valid option.
* Catches issues early that are caused through a wrong configuration.

(cherry picked from commit 2b97b32d81)
2016-08-10 09:04:13 +02:00
Aokromes
9078085595 Core/Scripts: Split script subdirectories into independent modules
* 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-08-10 05:14:53 +02:00
Aokromes
4905073101 Buildsystem: Initial changes to support building with vs clang toolset 2016-08-10 04:43:29 +02:00
Naios
3d25c14e74 Core/Build: Enable /bigobj for most MSVC builds.
* exluding 32 bit when dyynamic linking is disabled.

(cherry picked from commit 183f970055)
2016-08-10 01:34:43 +02:00
Aokromes
b96f20c0d4 CMake: Remove the workaround for source groups below CMake 2.8.12
* Set the default option to hierarchical
* Add a new "hierarchical-folders" option which enables folders inside IDE's.
2016-08-09 23:49:31 +02:00
Vincent-Michael
d9f17a6c22 Build/GCC: Enforce version 4.7.2
(cherry picked from commit ede8f0ca0a)
2016-07-20 11:00:26 +02:00
Vincent-Michael
3afec9dc88 Build: Added 1.61 Boost version to FindBoost
(cherry picked from commit e43b871137)
2016-07-20 11:00:13 +02:00
Aokromes
9cf3bdf125 Core/Build: Add the possibility to link libraries dynamically.
* makes it possible to access exported singletons from other shared lib's.
* reduces binary size
2016-07-15 20:35:32 +02:00
Aokromes
41fb7d649d Fix pch run 2016-06-09 07:51:34 +02:00
Naios
071382aac1 CMake: Disable incremental linking in msvc debug builds
* Requested by Shauren
2016-06-01 02:49:23 +02:00
Naios
7cc2825399 CMake: Fix detection of AppleClang
* Since CMake 3.0 CMAKE_<LANG>_COMPILER_ID is set to "AppleClang"
2016-06-01 02:48:51 +02:00
Aokromes
e6d8d31e1e DB/Creature: Missing Flightpath gossip Turida Coldwind
By tkrokli
2016-05-26 04:25:06 +02:00
Aokromes
460a660d4f CMake: Use inherited dependencies in common and tools (partial pick, need help on this) 2016-05-23 06:24:26 +02:00
Naios
beade4616a CMake: Add inherited include directories and definitions to precompiled headers 2016-05-23 05:57:51 +02:00
Aokromes
6564fcffdf CMake: Provide proper interface targets from dependencies 2016-05-23 05:56:48 +02:00
Shauren
cd7537e1f4 Travis: Fixed git version info output
(cherry picked from commit 03917c79cd)
2016-05-12 08:29:21 +02:00
ariel-
65aec5f8f7 Merge remote-tracking branch 'tc/3.3.5' into 4.3.4
Note: additional hand-picked ports from 6.x to fix build

Conflicts:
	sql/updates/world/2016_02_22_00_world.sql
	sql/updates/world/2016_02_22_01_world.sql
	sql/updates/world/2016_02_22_02_world.sql
	sql/updates/world/2016_03_07_00_world.sql
	src/server/authserver/Realms/RealmList.cpp
	src/server/authserver/Realms/RealmList.h
	src/server/authserver/Server/AuthSession.cpp
	src/server/game/Accounts/AccountMgr.cpp
	src/server/game/AuctionHouse/AuctionHouseMgr.cpp
	src/server/game/Chat/Chat.cpp
	src/server/game/Conditions/ConditionMgr.cpp
	src/server/game/Conditions/ConditionMgr.h
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Handlers/CharacterHandler.cpp
	src/server/game/Handlers/MiscHandler.cpp
	src/server/game/Scripting/ScriptLoader.cpp
	src/server/game/Scripting/ScriptLoader.h
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSocket.cpp
	src/server/game/World/World.cpp
	src/server/game/World/World.h
	src/server/scripts/CMakeLists.txt
	src/server/scripts/Commands/cs_gm.cpp
	src/server/scripts/Commands/cs_misc.cpp
	src/server/scripts/Commands/cs_rbac.cpp
	src/server/scripts/Commands/cs_ticket.cpp
	src/server/scripts/Commands/cs_wp.cpp
	src/server/scripts/EasternKingdoms/CMakeLists.txt
	src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp
	src/server/scripts/EasternKingdoms/zone_stormwind_city.cpp
	src/server/scripts/Kalimdor/CMakeLists.txt
	src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp
	src/server/scripts/Kalimdor/zone_orgrimmar.cpp
	src/server/scripts/OutdoorPvP/CMakeLists.txt
	src/server/scripts/Spells/spell_dk.cpp
	src/server/scripts/Spells/spell_hunter.cpp
	src/server/shared/CMakeLists.txt
	src/server/worldserver/CMakeLists.txt
	src/server/worldserver/Main.cpp
	src/tools/mmaps_generator/CMakeLists.txt
2016-03-11 18:32:07 -03:00
Naios
a974574d6e CMake: Add the possibility to pass an arbitrary count of targets to add_cxx_pch.
* 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-22 16:25:54 +01:00
Bernd Lörwald
b53b81d8a6 cmake: use CMAKE_BUILD_TYPE instead of CONFIGURATION as BUILD_DIRECTIVE
(cherry picked from commit 06391e5e9d)
2016-02-21 21:55:50 -03:00
ariel-
5195b823ad Buildsystem: Sync CMake options with current TC 2016-01-11 23:27:42 -03:00
ariel-
5723f54a44 Sync FindZMQ.cmake, also fix CMake unable to find ZeroMQ if Visual Studio 2015 is used. 2016-01-09 10:06:23 -03:00