aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2024-09-20Build: Remove temporarily lowered cmake version requirement for circle-ciShauren
2024-08-20Build: Reduce required cmake version on linuxShauren
2024-08-20Build: Increase required CMake version to 3.24 and removed unneccessary ↵Shauren
cmake_policy() calls that are already handled by cmake_minimum_required()
2024-03-01Build: Replaced deprecated exec_program with execute_processShauren
2024-02-29Build: Perform CMake check_cxx_source_compiles checks using the same C++ ↵Shauren
standard as used in the project
2023-09-20Build: Set CMake policy CMP0144 to NEWShauren
2023-05-20Docker: Fixed files being missing from circleci built imagesShauren
2022-09-06Build: Update required cmake version to 3.18Shauren
* Remove cotire
2022-07-19Build: Fixed finding mysql binary on first cmake runShauren
Closes #28133
2022-06-23Build: Removed duplicate find_package(MySQL) callShauren
2022-02-04Build: Prevent Catch from messing with user cmake preferencesShauren
Closes #25348 (cherry picked from commit 822a1a86d1b504b54a8623b6899b3c23e9486a39)
2022-01-23dep: Add catch2 unit test framework and wire it upCarbenium
To enable the test suite, make sure to configure CMake with -DBUILD_TESTING=1 , since it is disabled by default. The catch2 dependency will be downloaded during configure time. Also add a new target "tests-common", which includes unit tests for the "common" project. To finally run the tests use the "test" target. CircleCI: Run unit tests (cherry picked from commit 6a28ee7b2a4269aa7e43265d1cd0067537e3e883)
2022-01-06fixed indentation for cmake filesipriver
(cherry picked from commit a46d047f9466c6f16597755bb7c771a9d1a147f2)
2021-12-31Build/CMake: Code cleanupjackpoz
(cherry picked from commit 404dbcdcf6bd09202cf58a4064a127e7f303b9b2)
2021-10-01Build: Update FindOpenSSL.cmake and remove custom FindGitShauren
(cherry picked from commit 77596dba67483c8050c3d3ea1c4299360fde6beb)
2020-06-16CMake: Use target_precompile_headers instead of cotire with CMake >= 3.16.0Carbenium
2020-06-16CMake: Remove guards around CMP0043 and CMP0054Carbenium
We require CMake >= 3.8 which includes the policies. CMP0043 OLD behaviour is still required by cotire.
2020-06-16Build/CMake: Increase minimum version to 3.8jackpoz
(cherry picked from commit 965ac6fb08623b13c2486f9d09967dd00f3d396f)
2020-06-16Build/CMake: Set some policies to NEW (#23779)Giacomo Pozzoni
* Build/CMake: Set CMP0005 to NEW See https://cmake.org/cmake/help/v3.2/policy/CMP0005.html * Build/CMake: Set CMP0043 to NEW See https://cmake.org/cmake/help/v3.2/policy/CMP0043.html * Build/CMake: Set CMP0074 to NEW See https://cmake.org/cmake/help/v3.12/policy/CMP0074.html (cherry picked from commit 18cc36bc67023dc9ca58e77733c2b8c74655cf86)
2020-04-16Build system: Support new in cmake 3.17 Ninja Multi-Config generatorShauren
2020-01-02New YearAokromes
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-12-20Build: Use the cotire library for precompiled header handlingNaios
* Required for handling flags inherited by linked projects correctly in the corresponding precompiled header. * Reduces the maintenance effort for precompiled headers (cherry picked from commit 92f96fc10e70b2d62cce832837477d958e2afbe3)
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-10-16Build: Require CMake 3.2Naios
* This is below current package version of debian stretch stable CMake on which we orientate at. * Required for CMake target features (cherry picked from commit e5e7919b64f8b6dc1c872871175ae1e30e25c555)
2017-10-16Build: Fix the in-source build preventionNaios
(cherry picked from commit 4aa476cbcc3530be937f79696fd6d5d69d7e7dce)
2017-08-31Buildsystem: Default to RelWithDebInfo instead of ReleaseShauren
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
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-05Buildsystem: Initial changes to support building with vs clang toolsetShauren
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: Use inherited dependencies in common and toolsNaios
(cherry picked from commit abda7a910a760687f9c1b9e0893314e04982c0f1)
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)
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-10-05CMake: Fix bad generation of "revision_data.h" not including MYSQL_EXECUTABLE.Naios
* was caused through invoking "FindMySQL" after using ${MYSQL_EXECUTABLE}. * better re-run CMake if you are affected by the mysql exe wasn't found issue. (cherry picked from commit 45a60c2d22a93f6196491a0eb0478d05795e310f)
2015-08-21Core/Build: Merge common library and move database out of sharedStormBytePP
2015-03-29CMake: Use source_groups to represent the source treeNaios
* It let ide's (like vs) display the source tree. * Disabled by default. * Soft requirement is cmake >= 2.8.12 . * Offers 2 modes: flat & hierarchical. * For detailed description see #14471 * Thanks @click for help and advises. * Closes #14471 (cherry picked from commit c386711972260aa7b877cdc8cb49d24576ce1902) Conflicts: src/server/authserver/CMakeLists.txt
2015-01-01Update copyright note for 2015Vincent-Michael
Happy new year
2014-10-17Core: Implemented IPC (Inter-process communication) between worldserver and ↵Shauren
bnetserver using ZeroMQ library. * Implemented ToonReady and ToonLoggedOut battle.net packets
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-30Build/CMake: Fix build on older cmakes that don't support the recently added ↵DDuarte
policy
2014-07-30Build/CMake: Mute a CMake Warning (dev) in mysqllite projectDDuarte
2014-07-06Completely remove ACE as dependency for TC - kkthxbyeleak
2014-05-13Enabling Boost by default as it seems to work under linux aswell (Gentoo ↵leak
13.0 that is)
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-01-01Update copyright note for 2014.Vincent_Michael
Happy new year.
2013-08-28Core/Build: Force minimum ACE (5.8.3) and OpenSSL (1.0.0) version detectionSpp
Core/Build: Do not ignore command line cmake options: ACE_INCLUDE_DIR, ACE_LIBRARY and OPENSSL_INCLUDE_DIR
2013-05-21Core/Build: Fix compile under Ubuntu 13.04 and openSUSE 12.3 (and probably ↵Spp
other new distros) Closes #9832 Closes #9740
2013-02-11Buildsystem/CMake: Correct a few mistakes regarding WITHOUT_GIT, and add a ↵click
better warning during configure-phase.