-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Misc: Minimise the amount of work done when svnrev.h is updated
- Loading branch information
Showing
19 changed files
with
121 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team | ||
// SPDX-License-Identifier: GPL-3.0+ | ||
|
||
#include "svnrev.h" | ||
|
||
namespace BuildVersion | ||
{ | ||
const char* GitTag = GIT_TAG; | ||
bool GitTaggedCommit = GIT_TAGGED_COMMIT; | ||
int GitTagHi = GIT_TAG_HI; | ||
int GitTagMid = GIT_TAG_MID; | ||
int GitTagLo = GIT_TAG_LO; | ||
const char* GitRev = GIT_REV; | ||
const char* GitHash = GIT_HASH; | ||
const char* GitDate = GIT_DATE; | ||
} // namespace BuildVersion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team | ||
// SPDX-License-Identifier: GPL-3.0+ | ||
|
||
#pragma once | ||
|
||
// This file provides the same information as svnrev.h except you don't need to | ||
// recompile each object file using it when said information is updated. | ||
namespace BuildVersion | ||
{ | ||
extern const char* GitTag; | ||
extern bool GitTaggedCommit; | ||
extern int GitTagHi; | ||
extern int GitTagMid; | ||
extern int GitTagLo; | ||
extern const char* GitRev; | ||
extern const char* GitHash; | ||
extern const char* GitDate; | ||
} // namespace BuildVersion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.