Delphi RES files and Git

前端 未结 6 1492
无人及你
无人及你 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:43

    By definition, RES files are compiled RC files. So ideally you should ignore all RES files and commit only RC changes. If it happened somehow that you don't have an RC source for some particular RES file, then add only this "orphan" RES file to git - such files shouldn't change from build to build (cause there is no RC file to generate them from). If for some strange reasons (Delphi, huh) such RES files do change, then you are doomed.

    Bottom line: RES files are compilation targets - no different from other binaries (obj,exe,etc)

提交回复
热议问题