Recent

Author Topic: gitignore template issues, looking for suggestions  (Read 4522 times)

vfclists

  • Hero Member
  • *****
  • Posts: 1146
    • HowTos Considered Harmful?
Re: gitignore template issues, looking for suggestions
« Reply #15 on: January 14, 2024, 04:35:06 pm »
In the year 2024 are there any notable changes to be made to the recommended .gitignore?

Both FPC and Lazarus have seen some changes since then.

Lazarus 3.0/FPC 3.2.2

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11922
  • FPC developer.
Re: gitignore template issues, looking for suggestions
« Reply #16 on: January 14, 2024, 04:38:48 pm »
Not really. 3.2.2 has been released, and afaik should have some of the fpcres support, but I don't know if it is actually used already.

Thaddy

  • Hero Member
  • *****
  • Posts: 16132
  • Censorship about opinions does not belong here.
Re: gitignore template issues, looking for suggestions
« Reply #17 on: January 14, 2024, 06:12:42 pm »
As long as the .rc file is added to the project it will be recompiled on rebuild.
You can also use
Code: Pascal  [Select][+][-]
  1. {$R '*.res'  '*.rc'}
syntax. On rebuild that will also recompile the rc file.
This definitely works at least since 3.2.0. Same as in Delphi.
For both compilers goes: this is on build, not compile. E.g. in FPC option -B

The wild card may also be just full filenames.
« Last Edit: January 14, 2024, 06:18:29 pm by Thaddy »
If I smell bad code it usually is bad code and that includes my own code.

 

TinyPortal © 2005-2018