Recent

Author Topic: [Solved] How to set additions and override targets for current project only?  (Read 1036 times)

coliv_aja

  • New Member
  • *
  • Posts: 44
https://wiki.lazarus.freepascal.org/IDE_Window:__Compiler_Options#Examples_for_additions_and_overrides

How to set additions and override targets for current project only?
If the targets is * it applied to project and all package. If it filled with something else it seems to be only search for package name.

I set a bunch of defines in it. The targets * is work fine but when changing it, lazarus recompile everything. all packages including lcl, etc. while my defines only effective for current project it's unnecessary to recompile everything. Project name/title/file doesn't seems to work.

Inb4, I know I can just set the defines in custom options. It just easier in additions and override with checkbox. I don't have to change the build mode and editing the text manually.
« Last Edit: May 15, 2020, 10:11:04 am by coliv_aja »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6622
  • Debugger - SynEdit - and more
    • wiki

coliv_aja

  • New Member
  • *
  • Posts: 44
Oh yes. How I missed that.

 

TinyPortal © 2005-2018