Project tree simplified
1
Examples/ColorButtons/build.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
@call "%~dp0..\..\Lib\build.bat" "%~dp0ColorButtons"
|
1
Examples/DateTime/build.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
@call "%~dp0..\..\Lib\build.bat" "%~dp0DateTime"
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
3
Examples/DrawImage/build.bat
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
@echo off
|
||||||
|
call "%~dp0..\..\Lib\build.bat" "%~dp0DrawImage"
|
||||||
|
copy "%~dp0*.tga" "%~dp0..\..\Bin" >nul
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
3
Examples/DrawImageEx/build.bat
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
@echo off
|
||||||
|
call "%~dp0..\..\Lib\build.bat" "%~dp0DrawImageEx"
|
||||||
|
copy "%~dp0*.bmp" "%~dp0..\..\Bin" >nul
|
1
Examples/DrawText/build.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
@call "%~dp0..\..\Lib\build.bat" "%~dp0DrawText"
|
1
Examples/GetCurrentDir/build.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
@call "%~dp0..\..\Lib\build.bat" "%~dp0GetCurrentDir"
|
1
Examples/GetPixel/build.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
@call "%~dp0..\..\Lib\build.bat" "%~dp0GetPixel"
|
1
Examples/GetPointOwner/build.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
@call "%~dp0..\..\Lib\build.bat" "%~dp0GetPointOwner"
|
1
Examples/Hello/build.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
@call "%~dp0..\..\Lib\build.bat" "%~dp0Hello"
|
1
Examples/LoadFile/build.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
@call "%~dp0..\..\Lib\build.bat" "%~dp0LoadFile"
|
1
Examples/ReadFolder/build.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
@call "%~dp0..\..\Lib\build.bat" "%~dp0ReadFolder"
|
1
Examples/Screenshot/build.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
@call "%~dp0..\..\Lib\build.bat" "%~dp0Screenshot"
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
3
Examples/SetCursor/build.bat
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
@echo off
|
||||||
|
call "%~dp0..\..\Lib\build.bat" "%~dp0SetCursor"
|
||||||
|
copy "%~dp0*.bmp" "%~dp0..\..\Bin" >nul
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
1
Examples/SetPixel/build.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
@call "%~dp0..\..\Lib\build.bat" "%~dp0SetPixel"
|
1
Examples/SetWindowPos/build.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
@call "%~dp0..\..\Lib\build.bat" "%~dp0SetWindowPos"
|
@ -1 +0,0 @@
|
|||||||
@call "%~dp0..\build.bat" "%~dp0ColorButtons"
|
|
@ -1 +0,0 @@
|
|||||||
@call "%~dp0..\build.bat" "%~dp0DateTime"
|
|
@ -1,3 +0,0 @@
|
|||||||
@echo off
|
|
||||||
call "%~dp0..\build.bat" "%~dp0DrawImage"
|
|
||||||
copy "%~dp0*.tga" "%~dp0..\..\..\Bin"
|
|
@ -1,3 +0,0 @@
|
|||||||
@echo off
|
|
||||||
call "%~dp0..\build.bat" "%~dp0DrawImageEx"
|
|
||||||
copy "%~dp0*.bmp" "%~dp0..\..\..\Bin"
|
|
@ -1 +0,0 @@
|
|||||||
@call "%~dp0..\build.bat" "%~dp0DrawText"
|
|
@ -1 +0,0 @@
|
|||||||
@call "%~dp0..\build.bat" "%~dp0GetCurrentDir"
|
|
@ -1 +0,0 @@
|
|||||||
@call "%~dp0..\build.bat" "%~dp0GetPixel"
|
|
@ -1 +0,0 @@
|
|||||||
@call "%~dp0..\build.bat" "%~dp0GetPointOwner"
|
|
@ -1 +0,0 @@
|
|||||||
@call "%~dp0..\build.bat" "%~dp0Hello"
|
|
@ -1 +0,0 @@
|
|||||||
@call "%~dp0..\build.bat" "%~dp0LoadFile"
|
|
@ -1 +0,0 @@
|
|||||||
@call "%~dp0..\build.bat" "%~dp0ReadFolder"
|
|
@ -1 +0,0 @@
|
|||||||
@call "%~dp0..\build.bat" "%~dp0Screenshot"
|
|
@ -1,3 +0,0 @@
|
|||||||
@echo off
|
|
||||||
call "%~dp0..\build.bat" "%~dp0SetCursor"
|
|
||||||
copy "%~dp0*.bmp" "%~dp0..\..\..\Bin"
|
|
@ -1 +0,0 @@
|
|||||||
@call "%~dp0..\build.bat" "%~dp0SetPixel"
|
|
@ -1 +0,0 @@
|
|||||||
@call "%~dp0..\build.bat" "%~dp0SetWindowPos"
|
|
@ -7,10 +7,10 @@ if "%Source%"=="" (
|
|||||||
goto exit
|
goto exit
|
||||||
)
|
)
|
||||||
|
|
||||||
set Bin=%~dp0..\..\Bin
|
set Bin=%~dp0..\Bin
|
||||||
set Options=-b -$C- -$I- -$T+
|
set Options=-b -$C- -$I- -$T+
|
||||||
set Target=%Bin%\%~n1
|
set Target=%Bin%\%~n1
|
||||||
set Units=%~dp0..\..\RTL;%~dp0..
|
set Units=%~dp0..\RTL;%~dp0..\Lib
|
||||||
|
|
||||||
if not exist "%Bin%" mkdir "%Bin%"
|
if not exist "%Bin%" mkdir "%Bin%"
|
||||||
if exist "%Source%.cfg" del "%Source%.cfg"
|
if exist "%Source%.cfg" del "%Source%.cfg"
|
||||||
@ -18,13 +18,13 @@ if exist "%Source%.cfg" del "%Source%.cfg"
|
|||||||
dcc32 "%Source%.dpr" -e"%Bin%" %Options% -u"%Units%"
|
dcc32 "%Source%.dpr" -e"%Bin%" %Options% -u"%Units%"
|
||||||
if errorlevel 1 goto exit
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
"%~dp0..\..\pet" -nologo -strip -trunc -dropsect .idata,.rsrc -rebase 0 -osver 0.7 -ls -into "%Target%.exe"
|
"%~dp0..\pet" -nologo -strip -trunc -dropsect .idata,.rsrc -rebase 0 -osver 0.7 -ls -into "%Target%.exe"
|
||||||
if errorlevel 1 goto exit
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
"%~dp0..\..\exe2kos" "%Target%.exe" "%Target%"
|
"%~dp0..\exe2kos" "%Target%.exe" "%Target%"
|
||||||
if errorlevel 1 goto exit
|
if errorlevel 1 goto exit
|
||||||
del "%Target%.exe"
|
del "%Target%.exe"
|
||||||
|
|
||||||
%~dp0..\..\kpack "%Target%"
|
%~dp0..\kpack "%Target%"
|
||||||
|
|
||||||
:exit
|
:exit
|
@ -3,6 +3,6 @@
|
|||||||
call %~dp0build-RTL.bat
|
call %~dp0build-RTL.bat
|
||||||
if errorlevel 1 goto exit
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
call %~dp0build-apps.bat
|
call %~dp0build-examples.bat
|
||||||
|
|
||||||
:exit
|
:exit
|
@ -1,47 +0,0 @@
|
|||||||
@echo off
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\ColorButtons\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\DateTime\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\DrawImage\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\DrawImageEx\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\DrawText\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\GetCurrentDir\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\GetPixel\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\GetPointOwner\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\Hello\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\LoadFile\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\ReadFolder\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\Screenshot\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\SetCursor\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\SetPixel\build.bat
|
|
||||||
if errorlevel 1 goto exit
|
|
||||||
|
|
||||||
call %~dp0KolibriOS\Examples\SetWindowPos\build.bat
|
|
||||||
|
|
||||||
:exit
|
|
47
build-examples.bat
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
call %~dp0Examples\ColorButtons\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\DateTime\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\DrawImage\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\DrawImageEx\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\DrawText\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\GetCurrentDir\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\GetPixel\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\GetPointOwner\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\Hello\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\LoadFile\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\ReadFolder\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\Screenshot\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\SetCursor\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\SetPixel\build.bat
|
||||||
|
if errorlevel 1 goto exit
|
||||||
|
|
||||||
|
call %~dp0Examples\SetWindowPos\build.bat
|
||||||
|
|
||||||
|
:exit
|