Recent

Author Topic: .res and .lpi  (Read 774 times)

mikutu

  • New Member
  • *
  • Posts: 14
.res and .lpi
« on: April 02, 2020, 11:39:50 am »
I compile my app from the commandline. Copy command from lazarus by compile project. If delete project1.res then compile end error. Lazarus create project1.res by project1.lpi. How do I do this from the command line? When I build, I need to change the version of the program.

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: .res and .lpi
« Reply #1 on: April 02, 2020, 02:24:59 pm »
Instead of copying the fpc command line use lazbuild and do for example something like:

Code: [Select]
lazbuild -B --bm=Release myproject.lpi
That makes a Build in Release mode almost exactly like Lazarus itself does but in a terminal.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

mikutu

  • New Member
  • *
  • Posts: 14
Re: .res and .lpi
« Reply #2 on: April 02, 2020, 03:44:33 pm »
Thank you. It's work.

 

TinyPortal © 2005-2018