Recent

Author Topic: Library switches  (Read 188 times)

anonymousstranger

  • New Member
  • *
  • Posts: 49
Library switches
« on: January 21, 2021, 05:42:36 am »
I'm on a windows machine. In documentation it says I need to add a -WR switch if using multiple libraries. Ok, but where and how?

PascalDragon

  • Hero Member
  • *****
  • Posts: 2751
  • Compiler Developer
Re: Library switches
« Reply #1 on: January 21, 2021, 08:45:59 am »
If you use FPC directly you simply pass -WR on the command line.

In Lazarus you have this option available in Project Settings -> Compiler Settings -> Compilation and Linking -> Unit Style. And even if it wouldn't be available in the UI you can add custom options (like on the command line) in Project Settings -> Compiler Settings -> Custom Settings.

 

TinyPortal © 2005-2018