Commit Graph

27 Commits

Author SHA1 Message Date
Yehonal
eb78254579 Bash: Various improvement for compiler and db_assembler
Now db_assembler also creates the users specified in conf.sh files if not exists

+ Simplified some paths for compilation
2017-09-26 12:53:46 +02: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
c42ec97bb0 Various fixes for installer script and db_assembler 2017-09-25 02:15:22 +02:00
Yehonal
421def048f Bash: fixed mysql default conf 2017-09-21 21:52:17 +02:00
Yehonal
22c6ba9fa6 Bash: implemented installer script for server and modules (beta)
+ minor fixes
2017-09-21 18:52:20 +02:00
Yehonal
afebf1a1ca Improved db assembler, now can create DBs 2017-09-21 17:04:08 +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
c592aca103 Implemented sql importing for db_assembler script
It includes a backup system that saves your day if you
push the "red button" (importing bases on a production db)
2017-09-20 00:02:24 +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
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
b86f955f8d cleaning config.sh.dist file 2016-09-02 00:21:08 +02:00
Yehonal
41f64fb287 Crossplatform header for bash files 2016-08-26 16:23:25 +02:00
Yehonal
5b3c776f9c fixed and updated db_assembler to even support old bash v3 ( osx )
we're emulating associative array
2016-08-25 19:06:51 +02:00
Yehonal
1c9eb7e52f change default bash compiler to clang 2016-08-20 09:49:55 +02:00
Yehonal
c36b4f384f removed CC compiler from conf 2016-08-19 09:30:55 +02:00
Yehonal
0d31040fbd [CMAKE] More compatible definitions 2016-08-17 09:43:34 +02:00
Yehonal
3da352a076 implemented db_exporter 2016-08-13 20:32:23 +02:00
Yehonal
991eed3b5a Using more appropriate NS prefixes for our macro and cmake vars 2016-08-11 20:10:08 +02:00
Yehonal
e5f8ecd7ec [BASH] allow additional custom config for cmake 2016-08-07 12:26:30 +02:00
Yehonal
5d5718905a fixed db_assembler script 2016-08-07 12:23:11 +02:00
Yehonal
2c6264915e fixed cmake and compilation 2016-08-07 12:11:23 +02:00
Yehonal
765fad6133 some fixes to bash config files 2016-08-07 12:10:51 +02:00
Yehonal
42ad4da954 starting bash rewriting job [WIP] 2016-08-07 12:10:05 +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