mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
cmake/ci: generate version file
This commit is contained in:
parent
938fd9a796
commit
6999572b08
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -60,3 +60,4 @@ compile_commands.json
|
|||
build*/
|
||||
.cache/
|
||||
rpcs3/git-version.h
|
||||
.rx.version
|
||||
|
|
|
|||
|
|
@ -53,3 +53,5 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE
|
|||
RX_GIT_BRANCH=${GIT_BRANCH}
|
||||
)
|
||||
|
||||
|
||||
file(WRITE "${CMAKE_SOURCE_DIR}/.rx.version" "${GIT_DATE}-${RX_TAG}-${RX_TAG_VERSION}-${GIT_BRANCH}-0x${GIT_REV}-${GIT_DIRTY}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue