Commit Graph

82 Commits

Author SHA1 Message Date
Aokromes
14f1504991 Update FindBoost.cmake
(cherry picked from commit 9790cb5762)
2017-02-05 00:57:17 +01:00
vincent-michael
2bc17e0880 Build: Added 1.63 Boost version to FindBoost 2017-01-15 22:33:27 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
ariel-
ed53439d9d Build: Added 1.62 Boost version to FindBoost
(cherry picked from commit 7906bdc15e)
2016-10-03 09:26:59 -03:00
Vincent-Michael
604a06eb36 Cmake: Added OpenSSL version required 2016-09-09 00:59:38 +02:00
Vincent-Michael
e43b871137 Build: Added 1.61 Boost version to FindBoost 2016-05-13 17:54:53 +02:00
Naios
2038c31100 Core/Scripting: Disallow the build directory to contain spaces
* 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 42eeb28a8b)
2016-04-14 21:30:43 +02:00
Naios
86344e1843 Core/Build: Workarround for different path handling in CMake < 3.2
* Closes #16951

(cherry picked from commit 81cee23775)
2016-04-12 23:12:01 +02:00
Naios
848b8a4136 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-04-11 21:13:58 +02:00
Shauren
4a3a178d7f Buildsystem: Initial changes to support building with vs clang toolset 2016-04-05 22:43:41 +02:00
Shauren
fb8f66f936 Buildsystem: Removed unneeded FindZMQ script 2016-03-22 00:07:04 +01:00
Naios
90274d0337 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.

(cherry picked from commit bf773ccc41)
2016-03-19 23:19:56 +01:00
Naios
0db4f018e8 CMake: Use inherited dependencies in common and tools
(cherry picked from commit abda7a910a)
2016-03-19 23:19:52 +01:00
Naios
853eee75b0 CMake: Add inherited include directories and definitions to precompiled headers
(cherry picked from commit 2413a82b93)
2016-03-19 23:19:51 +01:00
Naios
b0ac332d58 CMake: Provide proper interface targets from dependencies
* to make use of cmakes inherited link dependencies which
  imports all include directories/ definitions from the link library

(cherry picked from commit 1a572d2425)
2016-03-19 23:19:50 +01:00
Naios
44223e1af1 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

(cherry picked from commit a974574d6e)
2016-02-22 16:57:55 +01:00
Shauren
f4ebab2a73 Buildsystem: Try picking up zmq lib for VS 2013 if using VS 2015 2016-01-21 17:50:37 +01:00
Shauren
e1d2d60ec3 Buildsystem: Updated required boost version 2016-01-14 17:45:11 +01:00
Vincent-Michael
478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Vincent-Michael
c63d515643 Build: Added 1.60 Boost version to FindBoost 2015-12-22 11:33:06 +01:00
Shauren
b5fbf773a5 Buildsystem: Fixed building on windows 10 with cmake 3.4 2015-11-12 16:59:07 +01:00
Shauren
b564c10b13 Core/Players: Implemented serverside validation of reserved/profane names
Closes #15357

New library dependency: Boost.Regex
2015-08-30 00:17:08 +02:00
DDuarte
519ba47429 Build: Add 1.59 Boost version to FindBoost 2015-08-15 17:48:00 +01:00
jackpoz
e70290d558 Buildsystem: Fix Boost not found targeting VS2015 with pre-built binaries
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 ca940548bf)
2015-08-15 17:46:19 +01:00
DDuarte
e2fb3bbd46 Build/CMake: Partially revert recent changes to FindMySQL.cmake
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-27 01:10:42 +01:00
David Carlos Manuelda
934498e86c Correctly displaying error message at cmake's configure stage when libZMQ has not been found 2015-07-24 06:09:01 +02:00
DDuarte
d4deb17a2f Build/CMake: Fix finding MySQL install 2015-06-29 14:03:52 +01:00
Duarte Duarte
fb4a9823c4 Merge pull request #14723 from TrinityCore/findmysql-update
Update FindMySQL.cmake
2015-06-02 14:13:56 +01:00
Shauren
1987d3187d Buildsystem: Removed handling for -DPREFIX shortcut for -DCMAKE_INSTALL_PREFIX cmake option, it an internal cmake variable since version 3.2 2015-05-29 22:29:16 +02:00
Duarte Duarte
0a2351ac44 Update FindMySQL.cmake
Replace hardcoded paths to C:/Program Files
2015-05-19 02:36:42 +01:00
Duarte Duarte
c31a6c0853 Update FindMySQL.cmake
Simplify path lookups of the MySQL installation on Windows
2015-05-19 02:32:23 +01:00
Shauren
5acc4b14aa Buildsystem: Updated FindBoost macro, now finds versions 1.57 and 1.58 as well 2015-04-27 12:44:37 +02:00
Naios
ed4722b6e6 CMake: Use source_groups to represent the source tree
* 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 c386711972)

Conflicts:
	src/server/authserver/CMakeLists.txt
2015-03-29 16:13:22 +02:00
Naios
352012e531 Core/Updates: Add an automatic database update system. Automatically detects 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-21 14:09:38 +00:00
Guillaume Belz
9ffeb58d09 FindOpenSSL: fix detection of OpenSSL 1.0.2
Closes #14284
2015-03-08 05:23:45 +01:00
leak
f9e5f216b7 CMake: Allow specifying the mysql location by environment variable. 2015-02-19 10:23:37 +01:00
Nayd
08a98c6237 Line ending fix, sorry. 2015-01-19 00:07:10 +00:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
Nayd
7e6dadfea6 CMake/FindBoost: Fix policy CMP0054 warning (added in 3.1) 2014-11-14 00:48:38 +00:00
DDuarte
1034b4d460 Build/CMake: Use BOOST_NO_SCOPED_ENUMS if Boost version is less than 1.51
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-11 18:26:25 +00:00
DDuarte
62759880a7 CMake: Improve FindZMQ on Windows
When ZMQ version is not found in the registry it will enumerate possible .lib names and try to find those
2014-11-04 14:19:51 +00:00
DDuarte
386b97c485 Build: Fixup 428d510f76. Use check_cxx_source_compiles instead of try_compile 2014-10-30 01:57:54 +00:00
bloerwald
428d510f76 Build: Support boost versions compiled in C++11 as well as C++03 mode
Issues related to boost::filesystem and scoped enums
2014-10-30 00:17:41 +00:00
bloerwald
ff0f84e3aa Tools/connection_patcher: remove c# code, add c++ code with minor 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-28 18:33:19 +00:00
Shauren
1d1b3269c1 Buildsystem/CMake: Fixed FindZMQ macro on x86 Windows 2014-10-18 14:57:49 +02:00
Shauren
55e7879aec Buildsystem/CMake: Fixed FindZMQ macro on x86 Windows 2014-10-18 14:05:55 +02:00
Shauren
f773a9e053 Core: Implemented IPC (Inter-process communication) between worldserver and bnetserver using ZeroMQ library.
* Implemented ToonReady and ToonLoggedOut battle.net packets
2014-10-17 22:48:06 +02:00
Vincent-Michael
bd522a3853 Core: Fix build for msvc14 2014-09-20 05:39:26 +02:00
Duarte Duarte
b5397a9748 CMake: Add a few more MySQL search paths to FindMySQL.cmake, including x86
Ref https://github.com/TrinityCore/TrinityCore/issues/12969#issuecomment-54322244
2014-09-03 17:38:11 +01:00
Vincent-Michael
a52135f276 Core: Remove whitespace 2014-08-27 23:22:16 +02:00