Commit Graph

181 Commits

Author SHA1 Message Date
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
90c53e8c84 Core: Nuke authserver
It has been replaced by bnetserver since grunt was deprecated
2014-11-10 20:57:39 +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
Duarte Duarte
6156a541f5 Merge pull request #13478 from bloerwald/cmake/use_CMAKE_BUILD_TYPE_with_clang_as_well
cmake: use $CMAKE_BUILD_TYPE instead of $CONFIGURATION as BUILD_DIRECTIVE
2014-10-30 00:18:01 +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
Bernd Lörwald
06391e5e9d cmake: use CMAKE_BUILD_TYPE instead of CONFIGURATION as BUILD_DIRECTIVE 2014-10-29 23:59:28 +01: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
Bernd Lörwald
dfe0bbd0e8 cmake: platform: also detect clang by C_COMPILER_ID: C_COMPILER may vary 2014-10-23 00:08:46 +02:00
jackpoz
ced4fc6347 Build/CMake: CMake options cleanup after febb26d4b7 2014-10-19 12:15:30 +02: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
Shauren
48b7e0c60c Buildsystem/MSVC: Removed /SAFESEH linker option from x86 debug builds as it doesn't make sense in debug builds and interferes with Edit and Continue
Closes #13233
2014-09-28 12:03:34 +02:00
jackpoz
a209fc30ff Core/Misc: Avoid Helgrind reporting libstdc++ false positive race conditions 2014-09-20 22:35:13 +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
Shauren
febb26d4b7 Core/Deps: MySQL sources out.
Windows users are now required to download and install mysql server with headers and libraries
2014-08-26 18:45:54 +02:00
Jared P. Jones
11ecd851a1 Core/Misc: Silenced 500 OS X Warnings and removed deprecated finite() method.
*Mac OS X fires off over 200 warnings related to gsoap about the deprecated register method. CMake has been patched to remove this warning.
*Updated all occurences of finite() to std::isfinite. The method finite() is not standardized by anyone aside from BSD. std::isfinite() however is standarized by C++
*Removed -ncurses and -pthread from OS X compilation. Now that we use Boost and C++11 there is no longer a need for pthread in OS X. All it does is throw a warning. However, ncurses isn't needed either as it's built into the OS X SDK and linked by default.

Note: There are only 5 remaining warnings left when compiling on OS X. I did not attempt to fix these as they were related to 3rd party libraries statically linked into the code. The 5 warnings left are all related to unused variables.
2014-07-23 17:30:45 -05:00
Shauren
99dd35da14 Buildsystem/MSVC: Disable C4512 warning 2014-07-19 13:31:17 +02:00
Shauren
0a3d1a35cd Buildsystem: Removed debugging message from cmake output 2014-07-17 15:43:39 +02:00
leak
e2fed64550 Update related files to lowered Boost version requirement 2014-07-16 18:42:17 +02:00
Chaplain
68398a559e [Auth\Worldserver] Use boost to load console arguments. (Added a few style changes and cmake fix)
Conflicts:
	src/server/worldserver/Main.cpp
2014-07-15 18:15:55 +02:00
Subv
9ccce98661 Remove the need of manually declaring BOOST_ROOT in Linux systems if Boost was installed to the default locations 2014-07-12 16:27:55 -05:00
Shauren
302169fd12 Buildsystem: Lowered required boost version to 1.49 2014-07-11 22:28:28 +02:00
Subv
9872162835 Added a missing definition 2014-07-06 17:41:47 -05:00
Subv
77caf33deb Removed some unneeded boost dependencies.
Ensure that the correct packet sizes are read in the authserver.
Added some try catch to the authserver to deal with boost exceptions (this part is not finished)
2014-07-06 17:04:42 -05:00
leak
da3f6e923a Completely remove ACE as dependency for TC - kkthxbye 2014-07-06 01:42:35 +02:00
leak
e0aed65c8c ACE cleanup on game, now the major issue remains WorldSocket 2014-07-02 02:20:53 +02:00
Subv
fa1da7a921 BuildSystem/CMake: Fixed cmake configuring when building in 32 bits. 2014-06-22 12:54:10 -05:00
leak
5a363ee0e1 Replace authserver ACE related code with Boost/C++11 2014-05-30 14:54:56 +02:00
leak
3ba49277d9 Add support for Boost 1.55 2014-05-12 21:27:44 +02:00
jackpoz
a3e56b0689 Core/Dependencies: Upgrade to jemalloc-3.5.1 2014-03-28 22:34:39 +01:00
Gacko
ef1bb6290a Build system: Fix clang build
See wiki for latest build instructions under Mac OS X!
2014-03-25 21:22:49 +01:00
Shauren
f357597ec1 Buildsystem: Changed required CMake version to 2.8.9 and removed a check for version we no longer support in msvc settings 2014-03-25 16:40:22 +01:00
Vincent-Michael
b4dec55b96 Cmake: Added level restriction for msvc 2013 2014-03-24 15:54:40 +01:00
Shauren
3affa3a824 Buildsystem/GCC: Enforce version 4.7.2 and enable c++11 compilation 2014-03-23 20:35:30 +01:00
Vincent_Michael
e773c9a693 Update more copyright note for 2014.
I have no excuse for my fail :/
2014-01-01 18:20:16 +01:00
jackpoz
0895cdc8ad Buildsystem: Fix GCC not being recognized on Ubuntu
Fix CMake not recognizing /usr/bin/cc as GCC on Ubuntu ( 13.10 x64 ) .
2013-12-30 16:50:16 +01:00
Gacko
53cc37bcec CMake: Fix typo
Running cmake threw a warning because of this.
2013-10-15 20:23:13 +02:00
jackpoz
d897b55e9b Core/Build: Handle USE_SCRIPTPCH cmake flag when SCRIPTS flag is set to FALSE
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 780ed1b01c .
2013-10-04 21:18:18 +02:00
click
64f1324725 Fix silly " that snuck in. 2013-09-27 22:48:29 +02:00
click
33fcd36c7b Buildsystem/CMake: Add support for building meshextractor-project from CMake GUI 2013-09-27 22:12:53 +02:00
Spp
3e2e210890 Core/Build: Force minimum ACE (5.8.3) and OpenSSL (1.0.0) version detection
Core/Build: Do not ignore command line cmake options: ACE_INCLUDE_DIR, ACE_LIBRARY and OPENSSL_INCLUDE_DIR
2013-08-28 15:44:06 +02:00
Nay
1b0c604848 Revert "CMake/MSVC: Fix VS 2013 compile -- Zm500 hack is no longer required"
This reverts commit ca7377369f.
2013-07-30 13:50:29 +01:00
Nay
ca7377369f CMake/MSVC: Fix VS 2013 compile -- Zm500 hack is no longer required
Signed-off-by: Nay <dnpd.dd@gmail.com>
2013-07-19 01:13:26 +01:00
Spp
d58a037512 Build: Set _BUILD_DIRECTIVE even if the compiler is not properly detected 2013-06-27 10:47:30 +02:00
Nay
c33a198f62 Cmake: Fix typo in msvc/settings.cmake 2013-05-19 17:04:57 +02:00