Commit Graph

53 Commits

Author SHA1 Message Date
Malte Grave
2010308b7c fix(Build/Cmake): CMake now uses the Windows env vars (#3419)
* CMake wasn't able to find the enviroment variables which are noted in
the Wiki e.g MYSQL_INCLUDE_DIR or MYSQL_LIBRARY. Further I added
another variable for OpenSSL which is OPENSSL_ROOT_DIR.
This change allows .zip installations with a custom PATH.
2021-01-11 22:50:07 +01:00
Kargatum
ea93a5c1a1 feat(CI/Codestyle): added codestyle check (#3668) 2021-01-09 11:59:50 +01:00
Kitzunu
f16aad0ad4 chore(MySQL): Deprecate 5.6 (#4070) 2021-01-03 03:14:06 +01:00
Francesco Borzì
1b156ef7eb chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
Francesco Borzì
c838b371dd chore(CMake/Tests): use conventional CMake flag to enable tests (#3809) 2020-11-29 19:28:47 +01:00
Kargatum
c141be8684 feat(Deps/MySQL): add support MariaDB 10.5 (#3452) 2020-09-11 10:16:41 +07:00
Francesco Borzì
c2b40b126d feature(testing-automation): unit tests with Google Framework (#3273) 2020-08-15 22:34:45 +02:00
Kitzunu
12c00e9149 chore(CMake)!: Drop support for MariaDB 10.1
BREAKING CHANGE: Building with MariaDB 10.1 will no longer be supported since we use code that exceeds its limits
2020-07-06 16:12:33 +02:00
Kitzunu
468398d51d fix(CMake/FindMySQL): Allow MySQL 8.0 in Windows (#3087) 2020-05-31 22:50:13 +02:00
Viste
e22d78ecd6 refactor(Core): rename namespaces and macros to acore (#2454) 2019-12-01 13:13:31 +01:00
Stoabrogga
0a9202a829 feat(cmake/macro): Allow scripts to lower prioritize other scripts (#2329) 2019-10-07 10:25:22 +02:00
Stoabrogga
8689903f58 fix(CMake): Use cmake-generator-expressions for escaping quotes (#2307) 2019-09-25 02:11:13 +07:00
Kargatum
0e6c9a18f4 feat(Cmake/Build): Use interface targets for inheriting flags and definitions (#2255)
Co-authored-by: Naios Naios@users.noreply.github.com
2019-09-18 20:04:48 +07:00
Francesco Borzì
3a43e8c415 feat(Core): enable C++17 (#2234)
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
2019-09-02 13:54:10 +07:00
Kargatum
6150b4b948 feat(Cmake/MYSQL): Correct support MariaDB for windows (#1674)
* Delete CMake option MARIADB
* Delete definitions (-DMARIADB)
* Replace macro MariaDB support 10.2+
2019-04-17 23:42:31 +07:00
Kargatum
eae9affec9 feat(Cmake): Rewrite build and use inherited dependencies (#1652) 2019-04-01 22:41:08 +02:00
Francesco Borzì
c4835d8099 Switch to C++14 to solve compilation issues (#1595) 2019-03-21 11:14:07 +03:00
Francesco Borzì
e7ace60e59 feat(cpp): enable C++17 support (#1553) 2019-03-05 04:41:36 -03:00
Francesco Borzì
01c6d32ac9 feat(Core/Misc): compatibility with 10.2+ versions of MariaDB library (#1284) (#1437) 2019-02-09 21:51:05 +01:00
Viste(Кирилл)
e7dafc18d2 MySQL: fix MySQL 5.6 find mistake (#1268) 2019-01-12 16:02:59 +03:00
Kargatum
c00d5fe0ab CMake: Use source_groups to represent the source tree (#1247) 2019-01-10 07:20:32 +03:00
Viste(Кирилл)
aa949479d7 MySQL: refuse any version of MySQL, below 5.6 (#1227) 2019-01-05 02:22:54 +03:00
Viste(Кирилл)
4a52df6375 Core/Build: Fix windows build for recent OpenSSL versions (#1065)
Closes #1047
2018-12-17 20:09:53 -03:00
ayase
d29a1a3300 Core: Easy module conf creation & reload (#931)
* Change the read method of the config of the module.Developers can now easily read the config file in cmake.

e.g. AC_ADD_CONFIG_FILE("${CMAKE_CURRENT_LIST_DIR}/conf/my_first_module.conf.dist")

* Update Master.h

* Update cs_reload.cpp

Command: `.reload config` can now reload the config file of all modules #981
2018-07-19 21:50:29 +02:00
Yehonal
403ed2600f Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk into dir-restructure 2017-12-21 11:26:43 +01:00
Yehonal
b9e82c3bf0 Fixed linux compilation 2017-12-21 01:27:53 +01:00
Yehonal
685a89e03f fixed cmake 2017-12-21 00:48:33 +01:00
Yehonal
e687d223ff Revert "Cmake: Compiling with warnings by default"
It generates compile errors on windows
Maybe we should separate warning cmake define for each compiler (?)

This reverts commit 8ad3c15d63.
2017-09-25 10:37:22 +02:00
Yehonal
8ad3c15d63 Cmake: Compiling with warnings by default
Forcing all contributors to fix all warnings before push a commit (i hope)
2017-09-20 01:23:20 +02:00
Yehonal
c1586e0d99 changed DISABLED_ cmake variable to ENABLED_ and implemented for all disabled logs 2017-08-19 19:42:48 +02:00
Yehonal
f888e8c86b Preprocessor option for logging functions (#567)
* Update showoptions.cmake

* Update config.cmake.dist

* Example of preprocessor usage

Other work must continue for PR https://github.com/azerothcore/azerothcore-wotlk/pull/519
2017-08-19 18:37:47 +02:00
Yehonal
2f71abc6c6 implemented cmake options to disable extra features for performances optimization
can be easily extended to all features that can be optional
but have high performance impact
2017-03-26 01:09:45 +01:00
Yehonal
b522a0cb72 Implemented gperftools support
it allows you to profile cpu/memory under unix systems
2017-03-26 01:09:42 +01:00
Rival
7760bf753c Fix Cmake revision. (#91)
Closes #90
2016-08-14 22:20:27 +02:00
ShinDarth
5357c8ce19 Core/CMake: show branch name in server info 2016-08-12 12:01:46 +02:00
Yehonal
c1a76e07ff Another big repo refactoring, should be latest
I've restored old paths for scripts and flattened the src structure
2016-08-12 02:40:23 +02:00
Yehonal
b0c8eceb08 Refactoring part 2 [W.I.P] 2016-08-12 02:38:26 +02:00
Yehonal
80453e215e Rewritten cmakes allowing compilation with new structure 2016-08-11 20:25:42 +02:00
Yehonal
0f85ce1c54 Big re-organization of repository [W.I.P] 2016-08-11 20:25:27 +02:00
Yehonal
991eed3b5a Using more appropriate NS prefixes for our macro and cmake vars 2016-08-11 20:10:08 +02:00
Yehonal
4330b759b7 always set cmake $CONF_DIR and add in preprocessor defines 2016-08-11 20:09:10 +02:00
Yehonal
34d4accb5b [CMake] impl. ADD_SCRIPTS macro for modules
and renamed old to ADD_SCRIPT_LOADER
2016-08-11 14:57:25 +02:00
Yehonal
8c8f8f5577 Merge branch 'master' of git@github.com:azerothcore/azerothcore-wotlk.git 2016-08-10 12:41:06 +02:00
Yehonal
fc8599299e [CORE] Allowing compilation with c++11 2016-08-10 12:39:53 +02:00
ShinDarth
7e14d05f71 CMake: fixed git informations 2016-08-09 16:09:37 +02:00
Yehonal
47c2b72123 Merging 2016-08-07 12:47:10 +02:00
Yehonal
1aef789c85 [Core/Cmake] Scripts are now added dynamically
You can now add your scripts using cmake inside your module
instead patch core cpp files
2016-08-07 12:21:52 +02:00
Yehonal
d1b8eea42f configuration system for cmake
- moved cmake options under conf
and created default/custom configuration system for cmake
2016-08-07 12:02:55 +02:00
ShinDarth
b618b6a56f Added AzerothCore labels 2016-07-24 15:55:38 +02:00
Yehonal
c170910cc2 fixed path inclusion 2016-07-10 17:12:36 +02:00