Recent

Author Topic: Automatically choose build configuration according to operation system  (Read 5904 times)

stem

  • Jr. Member
  • **
  • Posts: 88
Hi,

I'm using Linux and Windows with a dual boot configuration. I'm working in both operation systems on the same Lazarus project.

After switching the operation system, I get the error message that the currently selected platform/build configuration is not supported.

It would be nice if Lazarus could automatically choose the Windows build configuration when using Windows and choose the Linux build configuration when using Linux.

Thank you!  ;)

stem

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Automatically choose build configuration according to operation system
« Reply #1 on: December 27, 2018, 10:55:22 pm »
Stem, thats the 'default' build mode you are after. It will build, in debug mode, for whatever OS you are on. Many of the settings in build modes have a default settings, so, even if you make your own build modes you don't necessarily have to change (eg) OS settings (unless you do have some OS specific issues you have to deal with there).
Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018