aboutsummaryrefslogtreecommitdiff
path: root/cmake/genrev.cmake
AgeCommit message (Collapse)Author
2024-10-04Build: Handle localized "Microsoft" name returned from Get-CimInstanceShauren
2024-10-04Build: Add more detailed windows release name to revision_data.h (#30310)Keramat Jokar
2024-09-03Core/Misc: CompilerDefs/GitRevision improvementsShauren
* 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)
2023-02-03Build: Make genrev more resilient to invalid source code checkoutsShauren
2022-03-10Build: Set correct year in VER_LEGALCOPYRIGHT_STRShauren
(cherry picked from commit 68a490923d183c438fd852dde73f3054554d023a)
2021-09-05Build: Fixed branch name displayed by appveyor binariesShauren
2021-08-31Build: Replace git describe with more script friendly alternative, git ↵Shauren
rev-parse and git diff-index
2020-01-02New YearAokromes
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-03-31Travis: Fixed git version info outputShauren
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-08-16Core/Build: Removed obsolete SystemConfig.h and made genrev be part of ↵StormBytePP
shared library, which allows cache hits to happen more likely (cherry picked from commit 94f69fb1bcef103392ca27074ebb31ef2ebd27fb)
2015-02-22Buildsystem/Genrev: Fixed revision generator not reading existing cmake ↵Shauren
cache variables
2015-01-01Update copyright note for 2015Vincent-Michael
Happy new year
2014-08-27Core: Remove whitespaceVincent-Michael
2014-01-01Update more copyright note for 2014.Vincent_Michael
I have no excuse for my fail :/
2013-10-15CMake: Fix typoGacko
Running cmake threw a warning because of this.
2013-02-27Buildsystem: Added current branch name to generated revision infoShauren
2013-02-12Buildsystem: Do not print warning that user needs to do a git pull with tags ↵Shauren
if configured to not use git at all
2013-02-11Buildsystem/CMake: Correct a few mistakes regarding WITHOUT_GIT, and add a ↵click
better warning during configure-phase.
2013-02-11Buildsystem/CMake: Fix an issue with MSVC not finding git-binary when ↵click
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-11Buildsystem/CMake: Allow building the core without the gitchecks, this is ↵click
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-11Buildsystem/CMake: Drop a FATAL_ERROR-message if the git binary is not found ↵click
or outdated. Allow for it to be pointed to through the ADVANCED settings in the CMake GUI if the above is true.
2013-01-01Update more copyright note for 2013. (alcohol sucks)Vincent_Michael
2012-03-11update forgotten copyright-headers for 2012thomas33
2011-08-04Buildsystem/Windows: Add support for reading commithash and commitdate ↵click
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-06-13Core/Buildsystem: Add a warning about missing git revision info during CMake ↵click
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-04-28Core: get rid of the revision-id once and for all - it's not useful in a ↵click
DVCS at all
2011-01-11Buildsystem: Fix a logical error in git revision-detection, and alsoclick
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-10Buildsystem: Move EnsureVersion macro-loading into genrevision.cmake. Fixes ↵Shauren
ensure_version macro not being found.
2011-01-10Buildsystem: Use the git-executable variable as the command to run as well...click
Thanks to Shauren and leak for pointing that out.
2011-01-10Buildsystem: Add git versiontesting and path-testing to find git - also ↵click
includes a notice if the version is not found/git is not installed correctly.
2010-12-30Buildsystem: Use some small git-side tricks to create a "revision-id" for ↵click
use in the worldserver and versioning-info Thanks to Shauren for digging this out
2010-12-28Buildsystem: fix a slight mistake in the revision ID extractor.silinoron
2010-12-28Buildsystem: Restore revision "ID" generation.leak
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-10-15BuildSystem: Fix a minor issue when using CMake-2.6.x to generate the buildfilesclick
(Thanks to A.Metaphysical.Drama for the report/fix) --HG-- branch : trunk
2010-10-15BuildSystem: Set the proper type of the cached revision-variable, so it ↵click
doesn't show up in the CMake GUI --HG-- branch : trunk
2010-10-14BuildSystem: Clean up the revision.h generation a tad bitclick
--HG-- branch : trunk
2010-10-14BuildSystem: Cache results from when pulling the revision-information to ↵click
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-08Buildsystem: Clean up the revision.h target generationclick
- 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-03Buildsystem: Generate revision.h additionally during initial cmake run, also ↵Shauren
fixes displaying revision during run --HG-- branch : trunk
2010-10-03Buildsystem: Generating revision.h is now a part of build process ↵Shauren
(revision.h is back as target) Buildsystem: Removed non-existing include directories --HG-- branch : trunk