Commit Graph

112 Commits

Author SHA1 Message Date
Vincent_Michael
11e1227784 Update more copyright note for 2013. (alcohol sucks) 2013-01-01 12:57:23 +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
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
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
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
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
silinoron
b311bc2ad6 Buildsystem: fix a slight mistake in the revision ID extractor. 2010-12-28 21:06:12 -08:00
leak
f8bfe65263 Buildsystem: Restore revision "ID" generation.
Note: As git doesn't provide human readable (or better understandable) revision IDs by itself and we also don't intend to manually update the revision.h file or use funky ID generation tools, this workaround will do the trick for now. To find out your repositories revision ID use:
git log --pretty=format:"" origin/HEAD | wc -l
2010-12-28 20:58:26 -08:00
click
d3a6c7c1ba Buildsystem: Turn off SFMT being the default RNG - it's not cooking right (yet)
--HG--
branch : trunk
2010-12-26 05:45:20 +01:00
silinoron
82d1a40ed5 Core/Buildsystem: Turn on SFMT by default, as we believe it is fixed. Please do test it for us!
Note: Computers with processors older than Pentium 4 will need to have this turned off.

--HG--
branch : trunk
2010-12-21 20:21:21 -08:00
click
61d6397559 Core/Buildsystem: Adjust the variable so it works on MSVC9 again (danged MS and renaming variables)
--HG--
branch : trunk
2010-12-20 02:54:04 +01:00
leak
4c9cfa6739 Core/Buildsystem: Resolved quoting problem that caused gcc to spam warnings. Patch by click.
--HG--
branch : trunk
2010-12-20 02:23:55 +01:00
click
0054bd83d8 Buildsystem/Linux: Fix linking of a long lost little child : jemalloc (yes, it has returned, and is now actively linked again)
--HG--
branch : trunk
2010-12-18 01:36:00 +01:00
click
30908638cb Core/Buildsystem: Set up mutliprocess compiles for all buildmodes (non-PCH/PCH with and without debugmodes)
--HG--
branch : trunk
2010-11-19 13:43:13 +01:00
click
3a18e4afcc Core/Buildsystem: Remove now deprecated WITH_SQLDEBUG option from CMake options (it's handled by the command added in r8ecf6a8816)
--HG--
branch : trunk
2010-11-19 13:19:03 +01:00
click
67fade84d3 Core/Commands: Enable SQL query logging by config and command )patch by leak)
Closes issue 4853.

--HG--
branch : trunk
2010-11-19 13:13:07 +01:00
Shauren
169c2ef87a Buildsystem/Windows: Added MySQL 5.5 registry paths to FindMySQL macro
--HG--
branch : trunk
2010-11-17 10:26:12 +01:00
click
ea847598d0 Buildsystem: Add initial support for Intel C++ Compiler (patch by Leak)
Note: Intel C++ Compiler for Windows is not supported in this change
Closes issue 4361

--HG--
branch : trunk
2010-10-21 22:00:12 +02:00
click
88f81d80a4 BuildSystem: Add XCode specific compiler handling in the OSX 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
2010-10-20 16:35:17 +02:00
click
059e5758ed BuildSystem: Fix a minor issue when using CMake-2.6.x to generate the buildfiles
(Thanks to A.Metaphysical.Drama for the report/fix)

--HG--
branch : trunk
2010-10-15 15:47:30 +02:00
click
607bc17d05 BuildSystem: Set the proper type of the cached revision-variable, so it doesn't show up in the CMake GUI
--HG--
branch : trunk
2010-10-15 00:55:31 +02:00
click
92a379da7f BuildSystem: Clean up the revision.h generation a tad bit
--HG--
branch : trunk
2010-10-14 23:47:59 +02:00
click
88f196f1a9 BuildSystem: Cache results from when pulling the revision-information to avoid regenerating revision.h
(should remove the unneeded rebuilding of some core-files due to that the revision.h file has changed timestamp-wise)

--HG--
branch : trunk
2010-10-14 22:48:55 +02:00
click
ce712adda2 Buildsystem: Clean up the revision.h target generation
- rename src/revision.h folder to src/genrev
- ensure BUILDDIR/revision.h file is cleared/removed before generation (deleted/recreated during buildmode-changes)
Note: This needs further testing, so please give feedback.

--HG--
branch : trunk
rename : src/revision.h/CMakeLists.txt => src/genrev/CMakeLists.txt
2010-10-08 22:11:47 +02:00
click
6e86977b16 Buildsystem: Fix minor typo
--HG--
branch : trunk
2010-10-07 22:37:13 +02:00
click
8832254c6d Buildsystem: Clean up uninstall-target files a bit
--HG--
branch : trunk
2010-10-07 21:34:13 +02:00