mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Allow simply having lazbuild in PATH in build scripts (Windows).
This commit is contained in:
parent
e4436d7faf
commit
53e1f29152
3 changed files with 30 additions and 20 deletions
|
|
@ -1,6 +1,10 @@
|
|||
@echo off
|
||||
|
||||
rem the next line must be changed before run on your computer
|
||||
set lazpath=D:\Alexx\Prog\FreePascal\Lazarus
|
||||
|
||||
set PATH=%PATH%;%lazpath%
|
||||
|
||||
rem You can execute this script with different parameters:
|
||||
rem components - compiling components needed for DC
|
||||
rem plugins - compiling all DC plugins
|
||||
|
|
@ -24,6 +28,6 @@ call components\build.bat
|
|||
call plugins\build.bat
|
||||
|
||||
:default
|
||||
%lazpath%\lazbuild src\doublecmd.lpi %DC_ARCH%
|
||||
lazbuild src\doublecmd.lpi %DC_ARCH%
|
||||
|
||||
strip --strip-all doublecmd.exe
|
||||
|
|
|
|||
|
|
@ -1,11 +1,14 @@
|
|||
@echo off
|
||||
|
||||
rem Compiling components
|
||||
|
||||
rem This script run from _make.bat
|
||||
rem If you run it direct, set up %lazpath% first
|
||||
rem This script is run from build.bat.
|
||||
rem If you run it directly set %lazpath% first
|
||||
rem or have lazbuild in your PATH.
|
||||
|
||||
pushd components
|
||||
%lazpath%\lazbuild.exe CmdLine\cmdbox.lpk %DC_ARCH%
|
||||
%lazpath%\lazbuild.exe KASToolBar\kascomp.lpk %DC_ARCH%
|
||||
%lazpath%\lazbuild.exe viewer\viewerpackage.lpk %DC_ARCH%
|
||||
%lazpath%\lazbuild.exe gifanim\pkg_gifanim.lpk %DC_ARCH%
|
||||
lazbuild CmdLine\cmdbox.lpk %DC_ARCH%
|
||||
lazbuild KASToolBar\kascomp.lpk %DC_ARCH%
|
||||
lazbuild viewer\viewerpackage.lpk %DC_ARCH%
|
||||
lazbuild gifanim\pkg_gifanim.lpk %DC_ARCH%
|
||||
popd
|
||||
|
|
|
|||
|
|
@ -1,27 +1,30 @@
|
|||
@echo off
|
||||
|
||||
rem Build all plugins
|
||||
|
||||
rem This script run from _make.bat
|
||||
rem If you run it direct, set up %lazpath% first
|
||||
rem This script is run from build.bat.
|
||||
rem If you run it directly set %lazpath% first
|
||||
rem or have lazbuild in your PATH.
|
||||
|
||||
rem CD to plugins directory
|
||||
pushd plugins
|
||||
|
||||
rem WCX plugins
|
||||
%lazpath%\lazbuild.exe wcx\cpio\src\cpio.lpi %DC_ARCH%
|
||||
%lazpath%\lazbuild.exe wcx\deb\src\deb.lpi %DC_ARCH%
|
||||
%lazpath%\lazbuild.exe wcx\lzma\src\lzma.lpi %DC_ARCH%
|
||||
%lazpath%\lazbuild.exe wcx\rpm\src\rpm.lpi %DC_ARCH%
|
||||
%lazpath%\lazbuild.exe wcx\unbz2\src\unbz2.lpi %DC_ARCH%
|
||||
%lazpath%\lazbuild.exe wcx\unrar\src\unrar.lpi %DC_ARCH%
|
||||
%lazpath%\lazbuild.exe wcx\zip\src\zip.lpi %DC_ARCH%
|
||||
lazbuild wcx\cpio\src\cpio.lpi %DC_ARCH%
|
||||
lazbuild wcx\deb\src\deb.lpi %DC_ARCH%
|
||||
lazbuild wcx\lzma\src\lzma.lpi %DC_ARCH%
|
||||
lazbuild wcx\rpm\src\rpm.lpi %DC_ARCH%
|
||||
lazbuild wcx\unbz2\src\unbz2.lpi %DC_ARCH%
|
||||
lazbuild wcx\unrar\src\unrar.lpi %DC_ARCH%
|
||||
lazbuild wcx\zip\src\zip.lpi %DC_ARCH%
|
||||
|
||||
rem WDX plugins
|
||||
%lazpath%\lazbuild.exe wdx\rpm_wdx\src\rpm_wdx.lpi %DC_ARCH%
|
||||
%lazpath%\lazbuild.exe wdx\deb_wdx\src\deb_wdx.lpi %DC_ARCH%
|
||||
lazbuild wdx\rpm_wdx\src\rpm_wdx.lpi %DC_ARCH%
|
||||
lazbuild wdx\deb_wdx\src\deb_wdx.lpi %DC_ARCH%
|
||||
|
||||
rem WFX plugins
|
||||
%lazpath%\lazbuild.exe wfx\ftp\src\ftp.lpi %DC_ARCH%
|
||||
%lazpath%\lazbuild.exe wfx\network\src\network.lpi %DC_ARCH%
|
||||
lazbuild wfx\ftp\src\ftp.lpi %DC_ARCH%
|
||||
lazbuild wfx\network\src\network.lpi %DC_ARCH%
|
||||
|
||||
rem Strip and rename WCX
|
||||
pushd wcx\cpio\lib\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue