Age | Commit message (Collapse) | Author |
|
* Makes it possible to define the linkage for every module
* Move the ScriptPCH into the root directory
* Changes the SCRIPTS cmake variable to a string type:
-> -DSCRIPTS=0 is -DSCRIPTS="minimal-static" now
(builds commands and spells statically)
-> -DSCRIPTS=1 is -DSCRIPTS="static" now
(builds all modules statically)
-> -DSCRIPTS="dynamic"
(builds all modules dynamically)
-> Also the default value which is provided by the SCRIPTS
variable is overwriteable through the SCRIPTS_COMMANDS,
SCRIPTS_SPELLS... variable.
(cherry picked from commit 848b8a4136a4b395bfab74899520c74812d7f08e)
|
|
(cherry picked from commit 509a27fd51a2f88c5c72c264d2a546229c9c0e00)
|
|
(cherry picked from commit 4a3a178d7fe9d2d7e8fde2fe915cf5cec5223502)
|
|
* exluding 32 bit when dyynamic linking is disabled.
(cherry picked from commit 183f97005573f499d486613119e7bbb3d5d5318b)
|
|
* makes it possible to access exported singletons from other shared lib's.
* reduces binary size
(cherry picked from commit f4e0945b13a70225684e7421d9542efae6a47c89)
|
|
* Requested by Shauren
|
|
(cherry picked from commit 06391e5e9dff58a265d42a8a8093d0a57b8e2775)
|
|
* Setting all compiler flags in the cache led to circular bloating of
msvc cxx parameters (was visible in console) which caused MSVC to
rebuild the whole solution even on a small CMake change.
It's not neccessary anyway to set the cxx parameters to the cache
to take effect.
* I'm not sure if the workarround is still needed for MSVC 12+.
* Cleaning the CMake cache is recommended!
* ref #15671
(cherry picked from commit 0946fcf2aa35ebe0b8db07813315e3d6546b9d31)
|
|
(cherry picked from commit 7732ad5153783ca31d32c6812f21c2b723fd589a)
|
|
More info here: http://blogs.msdn.com/b/vcblog/archive/2015/08/06/new-in-vs-2015-zc-throwingnew.aspx
Closes #15230
(cherry picked from commit dcb1990e93bb879c88f1b43eb13292afa6baac86)
|
|
(cherry picked from commit 52127197ec3ab3c77397867a9ab674fe6c0d8aeb)
|
|
(cherry picked from commit a22e4e121a1e54b2f4154d59623ee4a94a449176)
Conflicts:
cmake/compiler/msvc/settings.cmake
src/server/game/DataStores/DBCStores.cpp
src/server/game/Entities/GameObject/GameObject.cpp
src/server/game/Entities/Object/Object.cpp
src/server/game/Entities/Object/Object.h
src/server/game/Entities/Pet/Pet.cpp
src/server/game/Entities/Player/Player.cpp
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Garrison/Garrison.cpp
src/server/game/Garrison/GarrisonMgr.cpp
src/server/game/Globals/ObjectMgr.cpp
src/server/game/Globals/ObjectMgr.h
src/server/game/Guilds/GuildMgr.cpp
src/server/game/Handlers/CharacterHandler.cpp
src/server/game/Handlers/QueryHandler.cpp
src/server/game/Handlers/QuestHandler.cpp
src/server/game/Handlers/SpellHandler.cpp
src/server/game/Server/Packets/ChannelPackets.h
src/server/game/Server/Packets/PartyPackets.cpp
src/server/game/Server/WorldSession.h
src/server/game/Spells/Spell.cpp
src/server/game/Spells/SpellInfo.cpp
src/server/game/Spells/SpellScript.cpp
src/server/scripts/Commands/cs_list.cpp
|
|
Suppress -Wmismatched-tags warnings on clang to avoid false positive warnings reported using gcc 4.8
|
|
CMake OS X: Fixed Debug Mode for Xcode
(cherry picked from commit b96e70af71a1cc87a33a79c71618697cd8f7ca9f)
|
|
doesn't make sense in debug builds and interferes with Edit and Continue
Closes #13233
|
|
*Mac OS X fires off over 200 warnings related to gsoap about the deprecated register method. CMake has been patched to remove this warning.
*Updated all occurences of finite() to std::isfinite. The method finite() is not standardized by anyone aside from BSD. std::isfinite() however is standarized by C++
*Removed -ncurses and -pthread from OS X compilation. Now that we use Boost and C++11 there is no longer a need for pthread in OS X. All it does is throw a warning. However, ncurses isn't needed either as it's built into the OS X SDK and linked by default.
Note: There are only 5 remaining warnings left when compiling on OS X. I did not attempt to fix these as they were related to 3rd party libraries statically linked into the code. The 5 warnings left are all related to unused variables.
|
|
|
|
|
|
|
|
See wiki for latest build instructions under Mac OS X!
|
|
version we no longer support in msvc settings
|
|
|
|
|
|
This reverts commit ca7377369f603081259adea0ba49cb03e74e609f.
|
|
Signed-off-by: Nay <dnpd.dd@gmail.com>
|
|
|
|
being used 32-bit environment
|
|
Tested with:
- Windows 8 x64
- MySQL 5.5.30 win32
- OpenSSL 1.0.1c (32 bits)
- No PCH
- MinGW with GCC 4.7.0
TODO:
- Fix compile/link with PCH enabled
- Fix compile with WheatyExceptonionReport enabled (ignored for now)
- Fix compile of .rc files (ignored for now)
- Test with more platforms
|
|
it creates unwanted results when used with PCh on *nix platforms.
|
|
buildvariables accordingly
** Info from CMake:
** The OLD behavior for this policy is to place definition values given to add_definitions directly in the generated build rules without attempting to escape anything.
** The NEW behavior for this policy is to generate correct escapes for all native build tools automatically.
If this breaks build, let us know on irc : irc.rizon.net/#trinity
|
|
matching virtual function signatures. This will help scripters who might sometimes use a hook using improper parameters (or miss 'const' for example)
|
|
replace that in the flaglist with the lower boundary
|
|
the /Ym flag is adjusted by the compiler in MSVC2012, hence we need to set an upper limit to avoid disrupancies
Please note that this is not 'very well tested'.
|
|
enabled.
-Wwrite-strings is default enabled when -Wall is set in clang/gcc, hence removed.
-Woverloaded-virtual is now enabled for C++-code only, this removes the useless warnings when dabbling with C-only code.
|
|
Core: Fix warnings here and there
|
|
enough for full deployment)
|
|
with extra testing behind it.
|
|
Fixes the "Expected ')' before 'Debug'" error during compile for XCode users.
|
|
and renaming variables)
--HG--
branch : trunk
|
|
Patch by click.
--HG--
branch : trunk
|
|
(non-PCH/PCH with and without debugmodes)
--HG--
branch : trunk
|
|
Note: Intel C++ Compiler for Windows is not supported in this change
Closes issue 4361
--HG--
branch : trunk
|
|
compile-instructions (_BUILD_DIRECTIVE gave error)
Update issue #4368
OSX/XCode compilation is not "fixed" as such untill a newew release of G3D is sorted. This is worked on from the G3D developers, and known.
--HG--
branch : trunk
|
|
_BUILD_DIRECTIVE (gcc/xcode)
--HG--
branch : trunk
|
|
- utilize CMake for completely generating revision.h (kills off genrev and revision.h targets):
- pull and set correct revision-ID/hash from Mercurial (hg) when using regular repository sourcetree
- pull and set correct revision-ID/hash from archived releases (when pulled from googlecode)
- set and use _BUILD_DIRECTIVE definition (earlier part of revision.h) as compiletime definition
- delete genrev and related buildsystems
(now deprecated)
- Move some files around to adhere to buildsystem structure
Thanks to Shauren for figuring out the definition-behaviour for MSVC while he was in the shower
--HG--
branch : trunk
rename : cmake_uninstall.cmake.in => cmake/platform/unix/cmake_uninstall.in.cmake
|
|
- Set SSE2 compile-flags only when used on 32-bit platforms (only used on x86 platforms, as x64 / Itanium has this as a standard)
- Clean up/merge some of the 64-bit/32-bit compiler options
- Clean up use of the PLATFORM variable (now sets PLATFORM 32 or PLATFORM 64, shaving off the CMAKE_SIZEOF_VOID_P test slightly)
--HG--
branch : trunk
|
|
directories, consistent with what is done with compilers.
BuildSystem/GCC: Add some additional parameters when using SFMT
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
compilations (needs feedback)
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|