Recent

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

vfclists

  • Hero Member
  • *****
  • Posts: 1013
    • 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: 11352
  • 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: 14165
  • Probably until I exterminate Putin.
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 »
Specialize a type, not a var.

 

TinyPortal © 2005-2018