Recent

Author Topic: [INFO] Add Build Modes to Project  (Read 1313 times)

jasc2v8

  • New member
  • *
  • Posts: 37
[INFO] Add Build Modes to Project
« on: June 07, 2018, 03:56:03 pm »
Attached is a simple utility to add the following build modes to your project.lpi file:
   • Debug
   • Release
   • Debug-32
   • Release-32

Prerequisite is to configure your FPC/Lazarus as follows:

To Install Lazarus 32-bit and cross-compile a Windows 64-bit exe:
   1. Install the win32.exe
   2. Install the cross-x86_64-win64-win32.exe in the same folder

To Install Lazarus 64-bit and cross-compile a Windows 32-bit exe:
   1. Install the win64.exe
   2. Install the cross-i386-win32-win64.exe in the same folder

To Use Build Modes:
   Lazarus IDE Menu: Change Build Mode dropdown (left of Run button)

Windows only (but can be easily modified to other OS), English only.