aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/msvc
AgeCommit message (Collapse)Author
2025-07-07Build: Enable more msvc standard conformance optionsShauren
2025-02-04Build: enable MSVC warning C5038 - member initialization order to get closer ↵Ovahlord
to the warning behavior of the other compilers (cherry picked from commit e36a66d6322f51a201bb394a9fd4b7943cdd805f)
2024-09-03Core/Misc: CompilerDefs/GitRevision improvementsShauren
* Removed INTEL as a separate platform (it does not belong there) * Removed BORLAND from known compilers list (it was never supported) * Simplified TRINITY_PLATFORM_WINDOWS detection (_WIN32 is always defined) * Rename revision_data.h macros that begin with a underscore * Added processor architecture to --version string * Added Linux distribution name to .server debug * Fixed some revision_data.h macros missing/wrong values when regenerated during compilation * Removed manual adding of _WIN64 macro from cmake (it is predefined internally by compiler)
2024-07-15Build: CMake cleanupShauren
* Migrate all add_definitions to target_compile_definitions * Remove -D from preprocessor definitions added by target_compile_definitions (unneccessary, cmake strips it anyway) * Fixed NO_BUFFERPOOL not being set on g3d if jemalloc is used * Moved library/compiler specific compile flag settings spread all over various CMakeLists to their related library/compiler file * Remove ancient manual link flag settings for worldserver
2024-06-15Build: Normalize executable locations in build directory for all platformsShauren
2024-06-15Build: Unify setting _BUILD_DIRECTIVE preprocessor macro for all compilersShauren
2024-06-01Build: Remove unneccessary /MP compile option when using ninjaShauren
2024-03-11Core/Misc: Fixed windows nopch buildShauren
2023-10-29Build: Fixed msvc version checkShauren
2023-08-22Build: Support ASAN on msvcShauren
2023-07-25Build: Increase required msvc version slightlyShauren
2023-07-11Build: moved MSVC warning C5054 from warning level 4 to 3Ovahlord
2023-01-01Build: Update required compilers to current debian stable and VS 2022Shauren
GCC: 10 Clang: 11 MSVC: 2022
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