aboutsummaryrefslogtreecommitdiff
path: root/cmake/platform
AgeCommit message (Collapse)Author
2024-09-15Build: Automatically include WindowsSettings.manifest in all executables ↵Shauren
instead of listing it separately as source file in every target
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: Decouple compiler specific settings from os settingsShauren
2024-06-15Build: Normalize executable locations in build directory for all platformsShauren
2024-06-15Build: Unify setting _BUILD_DIRECTIVE preprocessor macro for all compilersShauren
2023-12-01Core/Misc: Added windows version checks during startup to avoid confusion ↵Shauren
about crashes when running on unsupported OS
2022-06-17Build: Improve automatic finding of libraries on macShauren
2022-03-08CONF_DIR (#26360)Jan Van Buggenhout
(cherry picked from commit d8940f35a954a66f9fa0dc0595fab8532edce29f)
2022-02-16Build: Partial support for clang-clShauren
2022-01-23Build: Add WITH_LD_GOLD option to use gold linker on unixCarbenium
gold is an ELF-only linker which has a better performance than the default ld. (cherry picked from commit 796e2b32e03e7b1a56e44bd4b8988f9156bbb026)
2022-01-06fixed indentation for cmake filesipriver
(cherry picked from commit a46d047f9466c6f16597755bb7c771a9d1a147f2)
2022-01-06removed legacy cmake libsdir entry (#24813)Max Drosdo.www
(cherry picked from commit 60e813df6b7dfe599266cf36ddd52ba204917267)
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)
2017-05-11Core/Common: Include cleanupShauren
2016-04-05Buildsystem: Initial changes to support building with vs clang toolsetShauren
2016-03-19CMake: Fix detection of AppleClangNaios
* Since CMake 3.0 CMAKE_<LANG>_COMPILER_ID is set to "AppleClang" (cherry picked from commit 174efd0b6b04b243b58bc533999ad2d7b45f383d)
2016-03-19CMake: Provide proper interface targets from dependenciesNaios
* to make use of cmakes inherited link dependencies which imports all include directories/ definitions from the link library (cherry picked from commit 1a572d242593124f986d3ed08710b96a142a6763)
2015-06-26Core/Misc: Disable G3D buffer pools if jemalloc is enabledjackpoz
(cherry picked from commit d78eae1eafc2319144a28f8447578e6ebdfca39e)
2015-05-29Buildsystem: Removed handling for -DPREFIX shortcut for ↵Shauren
-DCMAKE_INSTALL_PREFIX cmake option, it an internal cmake variable since version 3.2
2015-04-15Fix indentation in unix cmake settingsDaniel M. Weeks
2014-10-23cmake: platform: also detect clang by C_COMPILER_ID: C_COMPILER may varyBernd Lörwald
2014-08-26Core/Deps: MySQL sources out.Shauren
Windows users are now required to download and install mysql server with headers and libraries
2014-07-06Completely remove ACE as dependency for TC - kkthxbyeleak
2013-12-30Buildsystem: Fix GCC not being recognized on Ubuntujackpoz
Fix CMake not recognizing /usr/bin/cc as GCC on Ubuntu ( 13.10 x64 ) .
2013-06-27Build: Set _BUILD_DIRECTIVE even if the compiler is not properly detectedSpp
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
2012-11-26Core/Buildsystem: Start cleaning up the mess created after "implementing" ↵click
support for clang/OSX-based compiles - initial cleanup, more will come If OSX-compile fucks up because of this, then report fixes on the tracker as usual, not through hotpatches going through other lead devs.
2012-11-09Core/Build: Enable Clang PCH support and OS X specific featuresSpp
Core: Fix warnings here and there
2012-03-25Buildsystem/CMake: Add the ability to avoid linking the core with jemalloc ↵click
on linux through using the -DNOJEM parameter. WARNING: This is a developer flag only, and as such NOT documented elsewhere - we need this for valgrind and related tools. Again : YOU HAVE BEEN WARNED! DO NOT USE THIS FLAG UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
2010-12-18Buildsystem/Linux: Fix linking of a long lost little child : jemalloc (yes, ↵click
it has returned, and is now actively linked again) --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-10-07Buildsystem: Fix minor typoclick
--HG-- branch : trunk
2010-10-07Buildsystem: Clean up uninstall-target files a bitclick
--HG-- branch : trunk
2010-10-07Buildsystem: Move uninstall-target for UNIX and OSX platformsclick
--HG-- branch : trunk rename : cmake/platform/unix/cmake_uninstall.in.cmake => cmake/platform/cmake_uninstall.in.cmake
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-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-08BuildSystem: Sort out issues with mysql-libraries under *nix (and should now ↵click
also work properly for Win32) - Rename the "EXTERNAL_MYSQL" flag to "USE_MYSQL_SOURCES" to reflect it's PROPER use (and ensure that it's ONLY used on Win32) - Remove a lingering "scripts" definition (the "scripts"-target is always included, but only from compiled parts (broke builds with -DSCRIPTS=0) --HG-- branch : trunk
2010-09-08BuildSystem/Linux: Fix using internal MySQL headers when EXTERNAL_MYSQL notrunningnak3d
specified --HG-- branch : trunk
2010-09-08BuildSystem: Fix another logic-error in the Win32-specific settingsclick
--HG-- branch : trunk
2010-09-08BuildSystem/Macros: Revert FindMySQL.cmake changes from ea96a5d888 - handled ↵click
with simple if-tests instead BuildSystem: Adjust buildfiles so that they reflect their proper parameters (will change when we've cleaned it up even more) --HG-- branch : trunk
2010-08-30Buildsystem: Clean up target link-definitions a bitclick
--HG-- branch : trunk
2010-08-30Buildsystem/OSX: Properly set CONF_DIR and LIBSDIR (feedback needed)click
Fixes issue 3703 --HG-- branch : trunk
2010-08-28Buildsystem: Make options load BEFORE platformchecks, so they are preloaded ↵click
correctly + add some more output to make it easier to find possible issues with the new layout --HG-- branch : trunk
2010-08-28Buildsystem: Change over to a little more flexible method of using the CMake ↵click
buildsystem (partially WIP) - REQUIRES RERUNNING CMAKE! For finding out the "standard" parameters examine the cmake/options.cmake file and adjacent files for your platform/compiler. For platform settings -> cmake/platform/*/settings.cmake For compiler settings -> cmake/compiler/*/settings.cmake Some more testing and changes IS required, but I don't have OSX/XCode to kill off the main issues --HG-- branch : trunk rename : cmake/FindPlatform.cmake => cmake/macros/CheckPlatform.cmake rename : cmake/FindACE.cmake => cmake/macros/FindACE.cmake rename : cmake/FindMySQL.cmake => cmake/macros/FindMySQL.cmake rename : cmake/FindOpenSSL.cmake => cmake/macros/FindOpenSSL.cmake rename : cmake/FindPCHSupport.cmake => cmake/macros/FindPCHSupport.cmake rename : cmake/FindReadline.cmake => cmake/macros/FindReadline.cmake rename : cmake/cmake_uninstall.cmake.in => cmake_uninstall.cmake.in