Delphi RES files and Git

前端 未结 6 1491
无人及你
无人及你 2021-02-04 00:19

I have a big project written in Delphi and I want to manage its sources using Git. I created Git repository, which includes my application\'s sources and 3rd party components. A

6条回答
  •  北荒
    北荒 (楼主)
    2021-02-04 00:52

    It's strongly advised to disable the "Auto increment build number" in the project settings, with any kind of version control system. This way it's 'safe' to add the .res files to the repository.

    I have been searching for a long time for a way to auto-update the build number in the version info in the project's .res file, but the best thing is to update an extra .rc with the version info. In practice though, I generally update the build number to the current subversion revision number only right before the final build for a release of the binaries.

提交回复
热议问题