aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/msvc
AgeCommit message (Collapse)Author
2022-02-16Build: Partial support for clang-clShauren
2022-02-04Build: Add Clang version guard to CMake (PR #25324)Treeston
(cherry picked from commit 27b1930d97d541c241655d8b820cbaebe6eec44e)
2022-01-28Build: Disable Visual Studio 2022 MSBuild resource manager to make compile ↵Shauren
take only as much time as it does in Visual Studio 2019
2022-01-26Build: Enable /permissive- flag on msvcShauren
(cherry picked from commit c8fed48b161cfff5fa90d8bf4342ede88086ada4)
2022-01-21Build: Enable some msvc warnings that are enabled for other compilersShauren
2022-01-06fixed indentation for cmake filesipriver
(cherry picked from commit a46d047f9466c6f16597755bb7c771a9d1a147f2)
2020-04-16Build system: Support new in cmake 3.17 Ninja Multi-Config generatorShauren
2020-04-04Require Visual Studio 2019 16.4 or greater (#24214)Giacomo Pozzoni
* CI/AppVeyor: Add appveyor.yml file * Build: Require Visual Studio 2019 16.4 or greater * CI/AppVeyor: Upgrade to VS2019 image * Update cmake error message * CI/AppVeyor: Fix appveyor VS 2019 configuration (cherry picked from commit 1df52da0b052654a9b42339fdd22028bfdbf9fc0)
2017-12-20Build: Export a default interface which doesn't hide symbols in unix ↵Naios
automatically
2017-12-20Build: Require Visual Studio 2017 or greaterNaios
* See the deprecation notice at https://community.trinitycore.org/topic/13294-gcc-49-visual-studio-2015-end-of-life/ (cherry picked from commit b9b667f9253cb5c247cf3dd195710bf764f549d6)
2017-12-20Build: Experimentally disable the /Zm workaround for MSVCNaios
(cherry picked from commit 697b4dbef20b5ceacd4c66f365b5ff71c62cb80c)
2017-12-20Build: Use interface targets for inheriting flags and definitionsNaios
* Remove the usage of global flags and definitions set through the CMAKE_CXX_FLAGS variable. * Use cmake target compile features for setting the CXX standard automatically. * Make C++14 globally available in the project * Closes #21033 (cherry picked from commit e60c1f84a7e13577a82046b02b214f9466d20a7c)
2016-08-18Buildsystem: Enforce Visual Studio 2015 Update 3 in CMakeShauren
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-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-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-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-19Buildsystem/MSVC: Disable C4512 warningShauren
2014-07-02ACE cleanup on game, now the major issue remains WorldSocketleak
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
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-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-03-27Core: Remove the MersenneTwiser-library (SFMT is now considered stable ↵click
enough for full deployment)
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-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-06Fixed win x64 debug build. Thx to click for inspiration.Xanadu
--HG-- branch : trunk