Commit Graph

106 Commits

Author SHA1 Message Date
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
click
0ff3d8905e Buildsystem: Move uninstall-target for UNIX and OSX platforms
--HG--
branch : trunk
rename : cmake/platform/unix/cmake_uninstall.in.cmake => cmake/platform/cmake_uninstall.in.cmake
2010-10-07 20:05:46 +02:00
Shauren
729e618baa Buildsystem: Generate revision.h additionally during initial cmake run, also fixes displaying revision during run
--HG--
branch : trunk
2010-10-03 16:55:24 +02:00
Shauren
6c35c376e9 Buildsystem: Generating revision.h is now a part of build process (revision.h is back as target)
Buildsystem: Removed non-existing include directories

--HG--
branch : trunk
2010-10-03 16:30:22 +02:00
click
62b853e8ed BuildSystem: Fix missing variable parameter encapsulation for _BUILD_DIRECTIVE (gcc/xcode)
--HG--
branch : trunk
2010-09-30 13:04:46 +02:00
click
b87d8f4700 Buildsystem: Overhaul of the CMake buildsystem:
- 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
2010-09-29 23:42:09 +02:00
click
f69c252f1d Buildsystem/Compilers: Adjust buildfiles slightly:
- 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
2010-09-20 20:58:57 +02:00