Commit Graph
15 Commits
Author SHA1 Message Date
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
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 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 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
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