Nay
c33a198f62
Cmake: Fix typo in msvc/settings.cmake
2013-05-19 17:04:57 +02:00
click
612ead5094
Buildsystem/MSVC: Fix a minor issue with /Zm heap allocation parameters not being used 32-bit environment
2013-05-18 10:24:04 +02:00
Spp
51287930cb
Core/Build: All include directories are quoted to support path with spaces
...
Closes #9504
2013-03-26 13:45:47 +01:00
Nay
c7463c5f6c
Buildsystem: Add support for compiling with MinGW on Windows
...
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
2013-03-09 00:12:50 +00:00
click
d3ad8a4941
Buildsystem: Show the revision info as a full string during configurationphase as well (additional minichange to previous commit by shauren)
2013-02-27 16:19:09 +01:00
Shauren
fff23c4f17
Buildsystem: Added current branch name to generated revision info
2013-02-27 15:42:57 +01:00
Shauren
1ff184dbab
Buildsystem: Do not print warning that user needs to do a git pull with tags if configured to not use git at all
2013-02-12 12:21:24 +01:00
click
dfa56a33e0
Buildsystem/CMake: Correct a few mistakes regarding WITHOUT_GIT, and add a better warning during configure-phase.
2013-02-11 23:27:20 +01:00
click
9bd8baf1ab
Buildsystem/CMake: Fix an issue with MSVC not finding git-binary when updating the revisionhash/revisiondate + rename DISABLEGITCHECK parameter to WITHOUT_GIT (to adhere to our standard)
...
Also cleaned up the checks slightly + moved git-specific testing to its own macro (minor changes to shaurens original patch applied)
2013-02-11 20:04:27 +01:00
click
620a43b4ef
Buildsystem/CMake: Allow building the core without the gitchecks, this is done in the GUI, or through the DISABLEGITCHECK parameter on *nix-platforms.
...
DO NOTE THAT WE WILL NOT GIVE SUPPORT ON ANY CORE-VERSION COMPILED WITH THIS FLAG, AS WE CAN NOT EFFECTIVELY FIND OUT WHAT REVISION YOU ARE ON
2013-02-11 14:51:26 +01:00
click
2cf8cdaa80
Buildsystem/CMake: Drop a FATAL_ERROR-message if the git binary is not found or outdated.
...
Allow for it to be pointed to through the ADVANCED settings in the CMake GUI if the above is true.
2013-02-11 01:56:25 +01:00
click
ea9c6524dd
Buildsystem/CMake: Revoke commit 7b49da48f9 - it creates unwanted results when used with PCh on *nix platforms.
2013-01-29 23:18:25 +01:00
click
7b49da48f9
Buildsystem/CMake: Change policy CMP0005 to NEW and corect some 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
2013-01-29 15:53:21 +01:00
Shauren
259a29c093
Tools/Extractors: Mmap extractors no longer depend on shared and MySQL libraries
2013-01-22 18:40:32 +01:00
Vincent_Michael
62adbdab99
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps
...
Conflicts:
src/server/game/Movement/MovementGenerators/HomeMovementGenerator.cpp
2013-01-01 23:12:21 +01:00
Vincent_Michael
11e1227784
Update more copyright note for 2013. (alcohol sucks)
2013-01-01 12:57:23 +01:00
Vincent_Michael
6317878b6f
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps
2012-12-31 15:26:57 +01:00
Shauren
4186c3cef7
Buildsystem/MSVC: Enable and treat as errors compilation warning about not matching virtual function signatures. This will help scripters who might sometimes use a hook using improper parameters (or miss 'const' for example)
2012-12-31 14:10:22 +01:00
click
b609b314b2
CMake/Buildsystem: CMake adds /Zm1000 to MSVC by default - explicitly replace that in the flaglist with the lower boundary
2012-12-31 12:09:22 +01:00
Vincent_Michael
871f8c8003
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps
2012-12-29 15:35:10 +01:00
click
91f1e53ba2
CMake/Buildsystem: Fix a small compiler-problem when using PCH with MSVC - 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'.
2012-12-29 13:35:35 +01:00
kaelima
0a88787dfc
Merge git://github.com/TrinityCore/TrinityCore into mmaps
...
Conflicts:
src/server/game/Entities/Vehicle/Vehicle.cpp
src/server/game/Movement/MovementGenerator.h
src/server/game/Movement/MovementGenerators/ConfusedMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/ConfusedMovementGenerator.h
src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.h
src/server/game/Movement/MovementGenerators/IdleMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/IdleMovementGenerator.h
src/server/game/Movement/MovementGenerators/PointMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/PointMovementGenerator.h
src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.h
src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.h
src/server/game/Movement/Spline/MoveSpline.h
2012-12-21 00:00:16 +01:00
click
8ef48ecc99
Core/Buildsystem: Clean up compileflags when compiling with warnings fully 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.
2012-11-27 00:43:38 +01:00
click
4762ad726f
Core/Buildsystem: Start cleaning up the mess created after "implementing" support for clang/OSX-based compiles - initial cleanup, more will come
...
If OSX-compile fucks up because of this, then report fixes on the tracker as usual, not through hotpatches going through other lead devs.
2012-11-26 22:42:23 +01:00
Nay
24cd72c8e1
Merge remote-tracking branch 'origin/master' into mmaps
...
Conflicts:
src/server/game/Maps/Map.cpp
src/server/game/Movement/MovementGenerator.h
src/server/game/Movement/MovementGenerators/ConfusedMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/ConfusedMovementGenerator.h
src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.h
src/server/game/Movement/MovementGenerators/HomeMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/HomeMovementGenerator.h
src/server/game/Movement/MovementGenerators/PointMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/PointMovementGenerator.h
src/server/game/Movement/MovementGenerators/RandomMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/RandomMovementGenerator.h
src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.h
src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.h
src/server/game/Spells/SpellEffects.cpp
2012-11-23 23:39:03 +00:00
Spp
a91d59f37c
Core/Build: Restore FindOpenSSL, even when it's provided by cmake, this file also provides newbie-check (warns if you trying to use wrong libs)
...
- Also, apply the hack needed to make g3dlite compile in OS X
2012-11-10 13:15:09 +01:00
Spp
333b8e5159
Core/Build: Enable Clang PCH support and OS X specific features
...
Core: Fix warnings here and there
2012-11-09 13:13:45 +01:00
Subv
50f833a008
Tools: Added an experimental tool (still WIP) to replace the current mmaps generator
2012-09-28 06:59:31 -05:00
click
6afaed4a02
Core: Remove the MersenneTwiser-library (SFMT is now considered stable enough for full deployment)
2012-03-27 02:27:12 +02:00
click
e2a92d4bbc
Buildsystem/CMake: Add the ability to avoid linking the core with jemalloc on linux through using the -DNOJEM parameter.
...
WARNING: This is a developer flag only, and as such NOT documented elsewhere - we need this for valgrind and related tools.
Again : YOU HAVE BEEN WARNED! DO NOT USE THIS FLAG UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
2012-03-25 17:14:08 +02:00
thomas33
0c178320bf
update forgotten copyright-headers for 2012
2012-03-11 20:53:08 +01:00
Shauren
e9a125f495
Buildsystem/CMake: Changed TOOLS building back to off by default
2012-03-04 22:43:13 +01:00
click
576c659a9c
Buildsystem/CMake: Enable SFMT as default random number generator (required to get more feedback from community)
...
Also update the revisionheader with the correct year :P
2012-03-04 16:17:28 +01:00
click
d4670a558d
CMake: Adjust FindMySQL macro to search for latest versions first before older version and fix some missing headerchecks.
2012-01-31 00:01:27 +01:00
Venugh
a70aa857a7
CMake: Add support for MySQL 5.6.
2011-12-11 20:52:19 +01:00
click
d7715fa4b8
Buildsystem/Windows: Add support for reading commithash and commitdate directly from the executable binaries.
...
To view this information, check the "Product Version" field in Properties on the respective daemon.
+ Fix worldserver/authserver .rc file layouts and content (now adheres to MS standards *sighs*)
+ Change .serv info output to show corename followed by the commit date and hash
+ Include showing the versionstring on worldserver startup completion (on Aokromes' request)
Thanks to Paradox for bugging me enough about it and the initial pull-request.
2011-08-04 22:53:33 +02:00
click
de41092cab
Core/Buildsystem: Add a warning about missing git revision info during CMake configuration:
...
This will trigger when the rev_hash has not been set properly, and inform of possible steps to take (in most cases pulling repository tags is sufficient)
2011-06-13 04:58:49 +02:00
click
1865511e21
Buildsystem: Remove an old remnant not removed in be6b73145b (no use in showing a report about installing SQL-files when it's not available anymore...)
2011-05-09 10:54:27 +02:00
click
6a431f745c
Core: get rid of the revision-id once and for all - it's not useful in a DVCS at all
2011-04-28 18:53:23 +02:00
runningnak3d
be6b73145b
Core/BuildSystem: Removed -WITH_SQL Cmake option as it was confusing some users.
2011-04-04 10:54:07 -04:00
click
3a7a01e7c7
Buildsystem: Fix a logical error in git revision-detection, and also
...
make the warning text a little bit more "Hello Cpt.Obvious" obvious for
users that can't read. (It now includes the word WARNING in the warnings)
2011-01-11 23:54:45 +01:00
Shauren
b2404c1a26
Buildsystem: Move EnsureVersion macro-loading into genrevision.cmake. Fixes ensure_version macro not being found.
2011-01-10 19:22:46 +01:00
click
5755ab14ac
Buildsystem: Use the git-executable variable as the command to run as well...
...
Thanks to Shauren and leak for pointing that out.
2011-01-10 17:57:26 +01:00
click
0f5d03211b
Buildsystem: Add git versiontesting and path-testing to find git - also includes a notice if the version is not found/git is not installed correctly.
2011-01-10 17:46:28 +01:00
click
60595e5c9f
Buildsystem: Add fallback-location directories for OpenSSL detection under Windows-platforms
2011-01-08 13:04:47 +01:00
click
50e4dd43df
Buildsystem: Fix OpenSSL-detection on Windows platforms
2011-01-07 07:18:29 +01:00
Derex
d8b326f17f
Core/Buildsystem: Fix linking of SSL under Fedora Core 14
2011-01-06 12:34:30 -07:00
click
b342e4ce16
Buildsystem: Minor correction on the BUILD_DIRECTIVE definition on OSX - now with extra testing behind it.
2011-01-01 09:49:23 +01:00
click
2325e8b3d6
Buildsystem: Adjust XCode definition variable for _BUILD_DIRECTIVE
...
Fixes the "Expected ')' before 'Debug'" error during compile for XCode users.
2010-12-30 15:16:17 +01:00
click
50b29aeba8
Buildsystem: Use some small git-side tricks to create a "revision-id" for use in the worldserver and versioning-info
...
Thanks to Shauren for digging this out
2010-12-30 12:03:17 +01:00