aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler
AgeCommit message (Collapse)Author
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.
2010-12-30Buildsystem: Adjust XCode definition variable for _BUILD_DIRECTIVEclick
Fixes the "Expected ')' before 'Debug'" error during compile for XCode users.
2010-12-20Core/Buildsystem: Adjust the variable so it works on MSVC9 again (danged MS ↵click
and renaming variables) --HG-- branch : trunk
2010-12-20Core/Buildsystem: Resolved quoting problem that caused gcc to spam warnings. ↵leak
Patch by click. --HG-- branch : trunk
2010-11-19Core/Buildsystem: Set up mutliprocess compiles for all buildmodes ↵click
(non-PCH/PCH with and without debugmodes) --HG-- branch : trunk
2010-10-21Buildsystem: Add initial support for Intel C++ Compiler (patch by Leak)click
Note: Intel C++ Compiler for Windows is not supported in this change Closes issue 4361 --HG-- branch : trunk
2010-10-20BuildSystem: Add XCode specific compiler handling in the OSX ↵click
compile-instructions (_BUILD_DIRECTIVE gave error) Update issue #4368 OSX/XCode compilation is not "fixed" as such untill a newew release of G3D is sorted. This is worked on from the G3D developers, and known. --HG-- branch : trunk
2010-09-30BuildSystem: Fix missing variable parameter encapsulation for ↵click
_BUILD_DIRECTIVE (gcc/xcode) --HG-- branch : trunk
2010-09-29Buildsystem: Overhaul of the CMake buildsystem:click
- utilize CMake for completely generating revision.h (kills off genrev and revision.h targets): - pull and set correct revision-ID/hash from Mercurial (hg) when using regular repository sourcetree - pull and set correct revision-ID/hash from archived releases (when pulled from googlecode) - set and use _BUILD_DIRECTIVE definition (earlier part of revision.h) as compiletime definition - delete genrev and related buildsystems (now deprecated) - Move some files around to adhere to buildsystem structure Thanks to Shauren for figuring out the definition-behaviour for MSVC while he was in the shower --HG-- branch : trunk rename : cmake_uninstall.cmake.in => cmake/platform/unix/cmake_uninstall.in.cmake
2010-09-20Buildsystem/Compilers: Adjust buildfiles slightly:click
- Set SSE2 compile-flags only when used on 32-bit platforms (only used on x86 platforms, as x64 / Itanium has this as a standard) - Clean up/merge some of the 64-bit/32-bit compiler options - Clean up use of the PLATFORM variable (now sets PLATFORM 32 or PLATFORM 64, shaving off the CMAKE_SIZEOF_VOID_P test slightly) --HG-- branch : trunk
2010-09-19BuildSystem/Platforms: Move platform-specific settings into respective ↵click
directories, consistent with what is done with compilers. BuildSystem/GCC: Add some additional parameters when using SFMT --HG-- branch : trunk
2010-09-06Fixed win x64 debug build. Thx to click for inspiration.Xanadu
--HG-- branch : trunk
2010-08-31Buildsystem/MSVC: Only use /bigobj on x64 platforms - should solve x86 debug ↵click
compilations (needs feedback) --HG-- branch : trunk
2010-08-30Buildsystem/MSVC: Correct 'bigobj' flag to lowercaseclick
--HG-- branch : trunk
2010-08-30Buildsystem/MSVC: Reinstate regular flags, seems like C++-flags and C-flags ↵click
doesn't mix very well on MSVC --HG-- branch : trunk
2010-08-30Buildsystem/MSVC: Ensure same compileoptions for both CXX and C objectsclick
--HG-- branch : trunk
2010-08-30Buildsystem/MSVC: Enable bigobject support for debug-compilesclick
--HG-- branch : trunk