Shauren
bfb6c95518
Build: Handle localized "Microsoft" name returned from Get-CimInstance
2024-10-04 22:36:46 +02:00
Keramat Jokar
83ca87d39e
Build: Add more detailed windows release name to revision_data.h ( #30310 )
2024-10-04 19:19:58 +02:00
Shauren
e8740fb2e1
Core/Misc: CompilerDefs/GitRevision improvements
...
* Removed INTEL as a separate platform (it does not belong there)
* Removed BORLAND from known compilers list (it was never supported)
* Simplified TRINITY_PLATFORM_WINDOWS detection (_WIN32 is always defined)
* Rename revision_data.h macros that begin with a underscore
* Added processor architecture to --version string
* Added Linux distribution name to .server debug
* Fixed some revision_data.h macros missing/wrong values when regenerated during compilation
* Removed manual adding of _WIN64 macro from cmake (it is predefined internally by compiler)
2024-09-03 12:06:16 +02:00
Shauren
03837b2525
Build: Make genrev more resilient to invalid source code checkouts
2023-02-03 11:14:59 +01:00
Shauren
15ff8fff36
Build: Set correct year in VER_LEGALCOPYRIGHT_STR
...
(cherry picked from commit 68a490923d )
2022-03-10 16:07:54 +01:00
Shauren
85671f20d8
Build: Fixed branch name displayed by appveyor binaries
2021-09-05 14:49:02 +02:00
Shauren
29659b4192
Build: Replace git describe with more script friendly alternative, git rev-parse and git diff-index
2021-08-31 11:29:07 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
03917c79cd
Travis: Fixed git version info output
2016-03-31 23:39:53 +02:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
StormBytePP
6a9fc63e41
Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely
...
(cherry picked from commit 94f69fb1bc )
2015-08-16 17:50:40 +02:00
Shauren
4669f94018
Buildsystem/Genrev: Fixed revision generator not reading existing cmake cache variables
2015-02-22 20:51:25 +01:00
Vincent-Michael
ab90f74486
Update copyright note for 2015
...
Happy new year
2015-01-01 00:28:09 +01:00
Vincent-Michael
a52135f276
Core: Remove whitespace
2014-08-27 23:22:16 +02:00
Vincent_Michael
e773c9a693
Update more copyright note for 2014.
...
I have no excuse for my fail :/
2014-01-01 18:20:16 +01:00
Gacko
53cc37bcec
CMake: Fix typo
...
Running cmake threw a warning because of this.
2013-10-15 20:23:13 +02: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
Vincent_Michael
11e1227784
Update more copyright note for 2013. (alcohol sucks)
2013-01-01 12:57:23 +01:00
thomas33
0c178320bf
update forgotten copyright-headers for 2012
2012-03-11 20:53:08 +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
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