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
Yehonal
0a376a3e20
improved cmake hook system
2016-07-10 17:12:10 +02:00
Yehonal
cd61ed610a
Implemented dynamic module loading and hooks system for cmake
2016-07-10 17:11:51 +02:00
Yehonal
9fd22872c0
restructured repository based on following standards:
...
https://github.com/HW-Core/directory-structure
2016-07-08 23:58:11 +02:00