* Fix SRC_TBC_SHADOWLABYRINTH_SCRIPTS_FILES (not added)
fix Installing ./libmysql.lib
Delete USE_PCH_INCLUDES
Revert unset()
language version must be global 😉
* Update CheckSystem.cmake
Removed special code on banner for various platforms
Added new #define... AE_PLATFORM, AE_ARCHITECTURE (platform, architecture - defined in cmake
Common.hpp.in - add only values for all architectures... to the file (without "else")
changed codestyle in console (+ now you can use help in different registers (Help, help, ?)
add config.yml - added official links
world, scripts and logon will now use pch with gcc, clang and msvc.
This should reduce the massive build times on travis. (Reference travis build # 4472 - https://travis-ci.org/AscEmu/AscEmu/builds/549168133)
Msvc compiler heap limit is now set by cotire.
Thanks to Naios at this point.
CreatureAIScript.cpp
- std::random_shuffle was marked as deprecated in c++14 and removed in c++17
E.g. max level, game build version is now auto filled by cmake in the .conf files.
NOTE: do not configure these files by hand. The output will appear after CMake has generated the files in "your source dir"/configs
Close#425 (the line endings should now be correct since we generate these files during CMake configuration.
* Removed world config option BackgroundLootLoading
Worldserver actually just overloads cpu by loading this in background...
* Use std::cout instead of printf in Log functions.
Actually its not issue to use printf but std::cout is thread/type safe in c++
* Added missing data cleanups in objectmgr destructor
* Small performance tweak for SysInfo::GetTickCount. Function will use 64 bit based function on 64 bit build
* Build Lua library only if BUILD_LUAENGINE is checked
* Do not build tools for coverity (temporally to reduce compile time (2-4 mins)
* Disabled os x build generally in travis. Linux test is enough for this
* Updated UNIX compilers version checks. Try to detect c++11 compatibility instead of direct version check (version check sometimes fails in unix systems)
* Travis rewritten again to use container based build system. Also forced to gcc again because seems clang still issues with headers when building for coverity analysis
* Added missing header for mmaps extractor
* Fixed many cmake issues
* Added missing change for clang in libmpq library
* Fixed many memory leaks detected by cppcheck and coverity
* Removed Field.cpp, Lfg.cpp sources from "world" project
* Cleaned up StdAfx.h (world project)
* Fixed wrong headers
* Removed cmake preprocessor definition for X64 bit build. Project will use predefined compiler macro instead
* Removed dublicate headers from Common.h
* Corrected Corpse* ObjectMgr::LoadCorpse(uint32 guid)
- Fixed misstake made in pervious commit
- This function actually must return only 1 corpse which is already loaded, in this case function does not need any loops
* Many corrections in ObjectMgr
* Fixed couple possible crashes
* Fixed crash in SOTA
Changes:
* Fixed OS X build
* Splitted worldserver and world projects for OS X build
* Cmake will pass definitions to cmake configuration files for world and
logon projects (to reduce definitions counts in linker)
* Added missing and fixed old include guards
* Added OS X build to travis (to disable just comment osx line in "os"
section in travis)
* Removed tr1 namespace calls - used functions in tr1 namespace are
already handled by C++11 standart
* Added RPATH usage in cmake
* Removed Requirements.cmake and moved base requirement variables to
compilers configurations
* Added many cosmetic cmake changes
* Dependencies for extractors will be built only if BUILD_TOOLS is
enabled
* BUILD_TOOLS_* options were merged into one BUILD_TOOLS (disabled by
default), in addition this option is enabled in travis build
* Added new cmake options: BUILD_WITH_WARNINGS - if enabled, compiler
will output warnings, disabled by default, USE_PCH - enables precompiled
headers usage, enabled by default but works only with MSVC compiler
* Replaced many custom macro definitions by general compilers and system
macros
* Removed some expressions for very outdated compilers in C++/C scripts
Added very basic git ignore to disable some files to be necessary added
to repository
* Removed strange undef calls which undefined standart C/C++ functions
updated travis to use clang instead gcc (to use gcc, just uncomment gcc
lines and comment clang)
base clang requirement is 3.4 version
removed __fastcall redefinition
added addiitonal message that x64 build environment is detected