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.