54 Commits

Author SHA1 Message Date
Winfidonarleyan
b78f83c6ec
fix(Cmake): using policy 0153 if exist (#18416) 2024-02-26 20:02:02 +07:00
Winfidonarleyan
d72a71a4b2
feat(Cmake): add support old policy 0153 (#18384) 2024-02-25 12:07:25 -03:00
Foereaper
4f395d12bb
fix(CMake/Module): module related cmake error (#14569) 2023-01-28 10:59:54 +01:00
Kargatum
4fbec972a8
refactor(Cmake): add support build selected applications and tools (#11836) 2022-05-31 17:05:39 +07:00
Kargatum
51adbffae4
feat(Core/Modules): add separated lib for modules (#9281) 2021-12-02 20:28:58 +07:00
Kargatum
ba031ed0a3
feat(CMake): support version 3.22 (#8773) 2021-10-27 20:43:44 +02:00
Kargatum
52aa0e9966
feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-09-30 13:40:52 +07:00
Kitzunu
afb5db6535
fix(CMake/Build): set default build type to RelWithDebInfo (#7445) 2021-08-24 19:14:39 +02:00
Kargatum
96c51317f5
feat(Deps/ACE): remove ACE library (part 1/2) (#6980) 2021-07-16 15:05:39 +02:00
Kargatum
5991b2769a
feat(Core/Scripts): split the huge scriptloader into smaller pieces (#5346)
* feat(Core/Scripts): split the huge scriptloader into smaller pieces

* AddSC_swamp_of_sorrows del

* 1

* add mod info

* 1

* 039f0e0faa081352d19f34b6f0abaa4e74414988

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-22 23:19:02 +02:00
Yehonal
380f406248
Feat(Docker/bash): docker-compose system rework (#4488)
## ⚠️ATTENTION! ⚠️ Upgrading procedure:

**Database:** After this PR will be merged you need to backup your DB first (you can use the db-assembler or any mysql client to generate the dump) and restore it after.  The reason is that we use now docker named volumes instead of binded ones to improve performance.

**Conf & client data**: if you use the default configuration, both the etc and the data folder are now available inside the **/env/docker**. 

Finally, you can cleanup the /docker folder previously used by our system.

## Changes Proposed:

This PR will implement the [devcontainer ](https://code.visualstudio.com/docs/remote/containers) feature for VSCode. Allowing us to develop and debug directly within the container in the same way on all OSes.

* Implemented support for vscode dev-container feature by remote-extension suite
* Docker performance optimizations for MacOS and non-linux hosts
* Bash system improvements
* Implemented first command using Deno runtime environment (typescript) and [commander.js]
* Implemented wait mechanism for db_assembler
* Implemented db migration command
* possibility to run the authserver and worldserver with GDB using the integrated simple-restarter
* Implemented docker multi-stage mechanism to use one single Dockerfile for all the services
* client-data downloader now creates a placeholder to avoid downloading the same version of data files multiple times
* deployment of pre-compiled docker images on [docker hub](https://hub.docker.com/u/acore), you can test them [here](https://github.com/azerothcore/acore-docker)
2021-04-22 09:57:05 +02:00
Kargatum
325dcfc9a6
feat(Core/Build): add the possibility to link libraries dynamically (#5348) 2021-04-21 22:16:12 +02:00
Kargatum
e0b953b186
feat(Cmake/PCH): use target_precompile_headers instead of cotire (#5082) 2021-04-02 12:29:33 +02:00
Kargatum
dbefa17a53
feat(Core/Config): rework config and delete ACE inherited (#4608) 2021-02-28 14:37:03 +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ì
b1f108900d
fix(CMake): Deprecation warning #3814 2020-12-07 14:50:45 -06:00
Francesco Borzì
53d28ce500
feat(CMake): show version when running cmake (#3813) 2020-11-30 18:10:10 +01:00
Francesco Borzì
c838b371dd
chore(CMake/Tests): use conventional CMake flag to enable tests (#3809) 2020-11-29 19:28:47 +01:00
Francesco Borzì
2ad98c573a
feat(CI): add macOS to our CI (#3321)
Co-Authored-By: Meerd <meerd@users.noreply.github.com>
2020-08-21 12:19:02 +02:00
Erdem MEYDANLI
9e5c3f78af
test: add code coverage report (#3312) 2020-08-18 16:34:45 +02:00
Francesco Borzì
da61bf3a42
test: fix some cmake params (#3308) 2020-08-17 15:17:21 +02:00
Francesco Borzì
c2b40b126d
feature(testing-automation): unit tests with Google Framework (#3273) 2020-08-15 22:34:45 +02:00
Yehonal
ad6ad094de
feat(bash): support for derivated distro + refactor conf (#3259)
* feat(bash): support for derivated distro

* refactor: refactoring for dist files
2020-08-06 02:37:14 +02:00
Kargatum
7afaf743c6 feat(Cmake): set policy CMP005 to NEW (#2294) 2019-09-22 14:02:40 +02:00
Kargatum
3518c9e9f5
feat(Cmake): set minimal support version 3.8 and added interface libs for world and auth (#2295)
* Added interface library authserver-interface
* Added interfaca library worldserver-interface
* Added Copyright's in auth and world server Cmake's files
2019-09-21 18:25:56 +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
Kargatum
ba0ec5875a
feat(Cmake): Add new hook AFTER_LOAD_CMAKE_MODULES (#1670) 2019-04-02 22:49:04 +07:00
Kargatum
eae9affec9 feat(Cmake): Rewrite build and use inherited dependencies (#1652) 2019-04-01 22:41:08 +02:00
Kargatum
c00d5fe0ab CMake: Use source_groups to represent the source tree (#1247) 2019-01-10 07:20:32 +03:00
ayase
69e663510e
fix: config.cmake not work. 2018-07-29 00:27:38 +08:00
ayase
00777a80ae Eluna implementation (#847)
* azerothcore + eluna done.

* Remove the Eluna single thread limit.

* Read Eluna Settings file.

* submodule change.

* fix(test)  Ubuntu - Cant Link Library after Compile

* The ELUNA is disabled by default.

* remove submodule luaEngine.

* some change

* fix a error

* change cmake

* fix: some onplayerchat does not have hooks.

* Eluna: Add BG event Hooks.

* fix:cmake hook AFTER_LOAD_CONF not work.

* Remove the eluna switch.

* Remove some define in the core.

* fix conf file not read in the linux.

* eluna : change bg hook parameter type

* Remove TC log function call

* change bg hook OnBGEnd parameter type.


Note: to enable Eluna, the module is required
2018-05-22 20:22:11 +02:00
Yehonal
685a89e03f fixed cmake 2017-12-21 00:48:33 +01:00
Yehonal
c64f8d8e82 Fixed compilation after dir rework 2017-10-13 19:22:53 +02:00
Yehonal
603753dfff CMAKE: implemented method to disable a module via cmake
use -DDISABLED_AC_MODULES or config.cmake file to define it
2017-03-26 01:09:44 +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
Yehonal
693dc56bf1 Moved uwd modules under drassil 2017-03-26 01:09:42 +01:00
Yehonal
85b8aa7ce8 Project restructuring [PART.3] 2016-08-23 13:30:41 +02:00
Yehonal
0355064321 Project restructuring [PART.2] 2016-08-23 12:11:46 +02:00
Yehonal
e1c87e7510 Some minor changes 2016-08-19 09:29:26 +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
dec72dddca Fixed paths for cmake 2016-08-12 02:38:30 +02:00
Yehonal
80453e215e Rewritten cmakes allowing compilation with new structure 2016-08-11 20:25:42 +02:00
Yehonal
991eed3b5a Using more appropriate NS prefixes for our macro and cmake vars 2016-08-11 20:10:08 +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
2c6264915e fixed cmake and compilation 2016-08-07 12:11:23 +02:00
Yehonal
548d0db9d5 skip inclusion of modules without CMakeLists
+ added hook for after load conf
2016-08-07 12:09:56 +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
mik1893
74507831e0 Force CMAKE to check for MYSQL libraries - do not use mysql sources 2016-07-10 17:16:36 +02:00