aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler
AgeCommit message (Collapse)Author
2017-12-20Build: Set the minimum required compiler version to GCC 6.3Naios
* This is the current GCC version of debian 9 (cherry picked from commit 5a9ccae3e1115d6fb1dcc287b1cb2d45779fd39b)
2017-01-02Revert "Build/Clang: Suppress -Wexpansion-to-defined because of rapidjson dep"Shauren
This reverts commit 467e49c1fa3c13d0e574bc15c80e96fa1c560958.
2016-12-30Build/Clang: Suppress -Wexpansion-to-defined because of rapidjson depDDuarte
https://travis-ci.org/TrinityCore/TrinityCore/builds/187588737#L985-L995
2016-08-18Buildsystem: Enforce Visual Studio 2015 Update 3 in CMakeShauren
2016-05-13Build/GCC: Enforce version 4.7.2Vincent-Michael
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-09oops, pushed too soon (now with proper msbuild check)Shauren
2016-04-09Buildsystem: Improved logic for _BUILD_DIRECTIVE in msvc buildsShauren
2016-04-05Buildsystem: Initial changes to support building with vs clang toolsetShauren
2016-03-24Core/Build: Enable /bigobj for most MSVC builds.Naios
* exluding 32 bit when dyynamic linking is disabled.
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
2016-03-19CMake: Disable incremental linking in msvc debug buildsNaios
* Requested by Shauren (cherry picked from commit fbc23c0713e98cb16d601c64e2e3e2a7716d2ab8)
2015-12-19Revert "Build/Clang: Suppress unused-local-typedefs warning."Gacko
This reverts commit 27bb569368363546e3690474320e54266b6d8071 and 98e7ab44615af90d477b845802da04f4f6c4d6cf.
2015-11-15Build/Clang: Suppress unused-local-typedefs warning only for Clang 3.6.0+.Gacko
2015-11-15Build/Clang: Suppress unused-local-typedefs warning.Gacko
2015-10-17Core/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
2015-08-07Buildsystem/MSVC: Added missed changeShauren
2015-08-07Buildsystem/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
2015-07-24Buildsystem/MSVC: Enabled /bigobj for all x64 build typesShauren
2015-07-21Core/Misc: Fixing warnings detected by Visual Studio 2015 compilerShauren
2015-07-03Buildsystem/Clang: Suppress warningjackpoz
Suppress -Wmismatched-tags warnings on clang to avoid false positive warnings reported using gcc 4.8 (cherry picked from commit 879af88d2180ca0655fda87072308f6eb76e70ca)
2015-05-10CMake OS X: Fixed Debug Mode for XcodeJared Jones
On newer versions of Xcode, the preprocessor macro #DEBUG is not defined by default. In order to set the debug flag it has to be set manually. If this does not happen then in the "Common.h" file the preprocessor will assume that we are building under a release mode instead of the debug mode. Ref: ad0cc83c842231fedd1eb9afe962176c17dc72ff
2015-01-06Buildsystem/MSVC: Disabled C4351: new behavior: elements of array 'x' will ↵Shauren
be default initialized for all builds, even when using WITH_WARNINGS
2014-12-30CMake: Fix typo in MSVC_EXPECTED_VERSIONDuarte Duarte
Thanks @Aridev Closes #13820
2014-12-29CMake: Require VS 2013 Update 3Nayd
Update 4 (includes 3) can be downloaded at http://www.microsoft.com/en-us/download/details.aspx?id=44921 Closes #13813
2014-12-28CMake: Ignore MSVC warning C4351Nayd
new behavior: elements of array 'array' will be default initialized "If you want the new behavior, which is likely, because the array was explicitly added to the constructor's member initialization list, use the warning pragma to disable the warning. The new behavior should be fine for most users."
2014-10-29cmake: use CMAKE_BUILD_TYPE instead of CONFIGURATION as BUILD_DIRECTIVEBernd Lörwald
2014-09-28Buildsystem/MSVC: Removed /SAFESEH linker option from x86 debug builds as it ↵Shauren
doesn't make sense in debug builds and interferes with Edit and Continue Closes #13233
2014-07-23Core/Misc: Silenced 500 OS X Warnings and removed deprecated finite() method.Jared P. Jones
*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-19Buildsystem/MSVC: Disable C4512 warningShauren
2014-07-02ACE cleanup on game, now the major issue remains WorldSocketleak
2014-03-28Core/Dependencies: Upgrade to jemalloc-3.5.1jackpoz
2014-03-25Build system: Fix clang buildGacko
See wiki for latest build instructions under Mac OS X!
2014-03-25Buildsystem: Changed required CMake version to 2.8.9 and removed a check for ↵Shauren
version we no longer support in msvc settings
2014-03-24Cmake: Added level restriction for msvc 2013Vincent-Michael
2014-03-23Buildsystem/GCC: Enforce version 4.7.2 and enable c++11 compilationShauren
2013-07-30Revert "CMake/MSVC: Fix VS 2013 compile -- Zm500 hack is no longer required"Nay
This reverts commit ca7377369f603081259adea0ba49cb03e74e609f.
2013-07-19CMake/MSVC: Fix VS 2013 compile -- Zm500 hack is no longer requiredNay
Signed-off-by: Nay <dnpd.dd@gmail.com>
2013-05-19Cmake: Fix typo in msvc/settings.cmakeNay
2013-05-18Buildsystem/MSVC: Fix a minor issue with /Zm heap allocation parameters not ↵click
being used 32-bit environment
2013-03-09Buildsystem: Add support for compiling with MinGW on WindowsNay
Tested with: - Windows 8 x64 - MySQL 5.5.30 win32 - OpenSSL 1.0.1c (32 bits) - No PCH - MinGW with GCC 4.7.0 TODO: - Fix compile/link with PCH enabled - Fix compile with WheatyExceptonionReport enabled (ignored for now) - Fix compile of .rc files (ignored for now) - Test with more platforms
2013-01-29Buildsystem/CMake: Revoke commit 7b49da48f9c3c21406fbe350de170757ea6e285f - ↵click
it creates unwanted results when used with PCh on *nix platforms.
2013-01-29Buildsystem/CMake: Change policy CMP0005 to NEW and corect some ↵click
buildvariables accordingly ** Info from CMake: ** The OLD behavior for this policy is to place definition values given to add_definitions directly in the generated build rules without attempting to escape anything. ** The NEW behavior for this policy is to generate correct escapes for all native build tools automatically. If this breaks build, let us know on irc : irc.rizon.net/#trinity
2012-12-31Buildsystem/MSVC: Enable and treat as errors compilation warning about not ↵Shauren
matching virtual function signatures. This will help scripters who might sometimes use a hook using improper parameters (or miss 'const' for example)
2012-12-31CMake/Buildsystem: CMake adds /Zm1000 to MSVC by default - explicitly ↵click
replace that in the flaglist with the lower boundary
2012-12-29CMake/Buildsystem: Fix a small compiler-problem when using PCH with MSVC - ↵click
the /Ym flag is adjusted by the compiler in MSVC2012, hence we need to set an upper limit to avoid disrupancies Please note that this is not 'very well tested'.
2012-11-27Core/Buildsystem: Clean up compileflags when compiling with warnings fully ↵click
enabled. -Wwrite-strings is default enabled when -Wall is set in clang/gcc, hence removed. -Woverloaded-virtual is now enabled for C++-code only, this removes the useless warnings when dabbling with C-only code.
2012-11-09Core/Build: Enable Clang PCH support and OS X specific featuresSpp
Core: Fix warnings here and there
2012-03-27Core: Remove the MersenneTwiser-library (SFMT is now considered stable ↵click
enough for full deployment)
2011-01-01Buildsystem: Minor correction on the BUILD_DIRECTIVE definition on OSX - now ↵click
with extra testing behind it.