Commit Graph

11 Commits

Author SHA1 Message Date
Unknown W. Brackets
5490fb1d7c Build: Avoid git-version regen if matching.
This should prevent needless rebuilds, i.e. if modifying a file only for
headless or unittest this will skip linking Core and SDL.
2022-12-24 17:42:09 +00:00
orbea
c05c699eaf cmake: Generate git-version.cpp in the build dir 2021-11-29 10:16:50 -08:00
vnctdj
460ef63f5d Fix reliability of the CMake generated version
steps to reproduce :

git checkout v1.10.1~3
git describe --always
--> v1.10-19-g9aab3d986
[build now]
PPSSPPSDL --version
--> v1.10-19-g9aab3d986

git checkout v1.10.1
git describe --always
--> v1.10.1
[build now]
PPSSPPSDL --version
--> v1.10-19-g9aab3d986

Indeed, the "v1.10.1" regex matches the "v1.10-19-g9aab3d986" string. How unfortunate!
So I just deleted that check, building the same commit twice should not happen that often :)
2020-07-02 23:23:59 +02:00
sergiobenrocha2
a50f04710e Fix PPSSPP_GIT_VERSION_NO_UPDATE 1. 2015-09-21 19:26:29 -03:00
sergiobenrocha2
989ec11158 Fix .git/ dir detection on git-version.cmake. 2015-09-21 01:03:36 -03:00
sergiobenrocha2
e81fa01bf0 Improve FFmpeg detection on debian systems; fix build when git is installed but there is no .git folder. 2015-09-16 19:07:25 -03:00
Unknown W. Brackets
30f363a71f Remove debugging output for git-version. 2014-07-15 23:31:31 -07:00
Unknown W. Brackets
ef494f15e2 Fix typo breaking git-version.cpp gen in cmake. 2013-03-17 23:45:41 -07:00
Unknown W. Brackets
6ca4f2f508 Support builds outside the git dir.
Oops.
2013-03-02 16:15:13 -08:00
Unknown W. Brackets
35fe2b4a63 Actually use the git version.
Also switch to cpp, duh.
2013-03-02 12:42:25 -08:00
Unknown W. Brackets
4694d4f1a3 Add git-version.c generation to CMake. 2013-03-02 11:27:11 -08:00