A script?That would be fine. Do you have a script that does that ?
Just make sure every build has its own directory.That's already taken care of.
My question is: is there a way to have Lazarus automatically compile for each build mode ? e.g, in the case of 4 build modes, start at the top one and build for each mode until the last one is reached.
That's perfect, exactly what I wanted :)
My question is: is there a way to have Lazarus automatically compile for each build mode ? e.g, in the case of 4 build modes, start at the top one and build for each mode until the last one is reached.
IDE Menu - Run | Compile many modes ...?
Gerd
Probably not relevant anymore, but here is a working scriptIt's nice to have an alternative. Thank you LV.
Probably not relevant anymore, but here is a working scriptYou can develope some menu, A menu old-style, but good enough , for when you convert Delphi'Projects into Lazarus. II attach .zip, You can extract :setvar_menuctl
@echo off setlocal
@rem .............................................................................
@rem .............................................................................
@rem .............................................................................
rem {
:Actaskbar
%DFN% [proc %0 %*]
echo {taskkill=%1 %2}
taskkill /IM %1 /F
echo {/taskkill=%errorlevel%}
if %Errorlevel% equ 128 goto :actaskbar.cpp
if %Errorlevel% geq 1 echo ".arx=%errorlevel%"&pause&cls
:actaskbar.cpp
if "%2"=="/B" goto :actaskbar.bak
if "%2"=="/D" goto :actaskbar.del
goto :EOF
:actaskbar.bak
goto :EOF
@copy C:\vlaxcompil\BIN\%1 C:\vlaxcompil\BIN\%1.bak
@copy .\vlaxcompil\BIN\%1 .\vlaxcompil\BIN\%1.bak
@del /q C:\vlaxcompil\BIN\%1
@del /q c:\vlaxcompil\BIN\%1
@del /q c:\vlaxcompil\BIN\%1
goto :EOF
rem taskkill /S system /F /IM devcinfo.exe /T
rem TASKKILL /IM C:\WINDOWS\system32\notepad.exe
rem call :actaskbar.arx devcinfo.exe /d
rem echo ".bck=%errorlevel%"&pause&cls
:actaskbar.del
if "%2"=="/d" del /q C:\vlaxcompil\BIN\%1
if "%2"=="/d" del /q c:\vlaxcompil\BIN\%1
if "%2"=="/d" del /q c:\vlaxcompil\BIN\%1
if "%2"=="/d" del /q .\vlaxcompil\BIN\%1
goto :EOF
rem }
You can replace CLS with ColorClsrem {
: clrscr
echo off
echo cd=[%cd%]
ping -n 1 -w 2000 1.2.3.4>nul 2>&1 ??? HERE PAUSE REPLACER
rem set /a rr="(%RANDOM% & 63)+20"
color 7
cls
goto :EOF
rem }
A script? Just make sure every build has its own directory.