source: ProjectTemplates/FileMenuProject/Install/win/build.bat

Last change on this file was 500, checked in by chronos, 7 years ago
  • Modified: Place application executable to main project directory and copy it elsewhere in build.bat script.
File size: 501 bytes
Line 
1if not defined LAZDIR (
2 set LAZDIR=C:\lazarus
3)
4SET APPNAME=FileMenuProject
5%LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=i386 --operating-system=Win32 ..\..\%APPNAME%.lpi
6copy ..\..\%APPNAME%.exe ..\..\lib\i386-win32-Release
7%LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=x86_64 --operating-system=Win64 ..\..\%APPNAME%.lpi
8copy ..\..\%APPNAME%.exe ..\..\lib\x86_64-win64-Release
9
10"c:\Program Files (x86)\Inno Setup 5\ISCC.exe" "%APPNAME%.iss"
11
Note: See TracBrowser for help on using the repository browser.