Project tree simplified

This commit is contained in:
Владислав Джавадов 2020-05-23 16:55:40 +03:00
parent 238356dff9
commit c012f5134c
59 changed files with 74 additions and 74 deletions

View File

@ -0,0 +1 @@
@call "%~dp0..\..\Lib\build.bat" "%~dp0ColorButtons"

View File

@ -0,0 +1 @@
@call "%~dp0..\..\Lib\build.bat" "%~dp0DateTime"

View File

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@ -0,0 +1,3 @@
@echo off
call "%~dp0..\..\Lib\build.bat" "%~dp0DrawImage"
copy "%~dp0*.tga" "%~dp0..\..\Bin" >nul

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,3 @@
@echo off
call "%~dp0..\..\Lib\build.bat" "%~dp0DrawImageEx"
copy "%~dp0*.bmp" "%~dp0..\..\Bin" >nul

View File

@ -0,0 +1 @@
@call "%~dp0..\..\Lib\build.bat" "%~dp0DrawText"

View File

@ -0,0 +1 @@
@call "%~dp0..\..\Lib\build.bat" "%~dp0GetCurrentDir"

View File

@ -0,0 +1 @@
@call "%~dp0..\..\Lib\build.bat" "%~dp0GetPixel"

View File

@ -0,0 +1 @@
@call "%~dp0..\..\Lib\build.bat" "%~dp0GetPointOwner"

1
Examples/Hello/build.bat Normal file
View File

@ -0,0 +1 @@
@call "%~dp0..\..\Lib\build.bat" "%~dp0Hello"

View File

@ -0,0 +1 @@
@call "%~dp0..\..\Lib\build.bat" "%~dp0LoadFile"

View File

@ -0,0 +1 @@
@call "%~dp0..\..\Lib\build.bat" "%~dp0ReadFolder"

View File

@ -0,0 +1 @@
@call "%~dp0..\..\Lib\build.bat" "%~dp0Screenshot"

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -0,0 +1,3 @@
@echo off
call "%~dp0..\..\Lib\build.bat" "%~dp0SetCursor"
copy "%~dp0*.bmp" "%~dp0..\..\Bin" >nul

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -0,0 +1 @@
@call "%~dp0..\..\Lib\build.bat" "%~dp0SetPixel"

View File

@ -0,0 +1 @@
@call "%~dp0..\..\Lib\build.bat" "%~dp0SetWindowPos"

View File

@ -1 +0,0 @@
@call "%~dp0..\build.bat" "%~dp0ColorButtons"

View File

@ -1 +0,0 @@
@call "%~dp0..\build.bat" "%~dp0DateTime"

View File

@ -1,3 +0,0 @@
@echo off
call "%~dp0..\build.bat" "%~dp0DrawImage"
copy "%~dp0*.tga" "%~dp0..\..\..\Bin"

View File

@ -1,3 +0,0 @@
@echo off
call "%~dp0..\build.bat" "%~dp0DrawImageEx"
copy "%~dp0*.bmp" "%~dp0..\..\..\Bin"

View File

@ -1 +0,0 @@
@call "%~dp0..\build.bat" "%~dp0DrawText"

View File

@ -1 +0,0 @@
@call "%~dp0..\build.bat" "%~dp0GetCurrentDir"

View File

@ -1 +0,0 @@
@call "%~dp0..\build.bat" "%~dp0GetPixel"

View File

@ -1 +0,0 @@
@call "%~dp0..\build.bat" "%~dp0GetPointOwner"

View File

@ -1 +0,0 @@
@call "%~dp0..\build.bat" "%~dp0Hello"

View File

@ -1 +0,0 @@
@call "%~dp0..\build.bat" "%~dp0LoadFile"

View File

@ -1 +0,0 @@
@call "%~dp0..\build.bat" "%~dp0ReadFolder"

View File

@ -1 +0,0 @@
@call "%~dp0..\build.bat" "%~dp0Screenshot"

View File

@ -1,3 +0,0 @@
@echo off
call "%~dp0..\build.bat" "%~dp0SetCursor"
copy "%~dp0*.bmp" "%~dp0..\..\..\Bin"

View File

@ -1 +0,0 @@
@call "%~dp0..\build.bat" "%~dp0SetPixel"

View File

@ -1 +0,0 @@
@call "%~dp0..\build.bat" "%~dp0SetWindowPos"

View File

@ -7,10 +7,10 @@ if "%Source%"=="" (
goto exit
)
set Bin=%~dp0..\..\Bin
set Bin=%~dp0..\Bin
set Options=-b -$C- -$I- -$T+
set Target=%Bin%\%~n1
set Units=%~dp0..\..\RTL;%~dp0..
set Units=%~dp0..\RTL;%~dp0..\Lib
if not exist "%Bin%" mkdir "%Bin%"
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%"
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
"%~dp0..\..\exe2kos" "%Target%.exe" "%Target%"
"%~dp0..\exe2kos" "%Target%.exe" "%Target%"
if errorlevel 1 goto exit
del "%Target%.exe"
%~dp0..\..\kpack "%Target%"
%~dp0..\kpack "%Target%"
:exit

View File

@ -3,6 +3,6 @@
call %~dp0build-RTL.bat
if errorlevel 1 goto exit
call %~dp0build-apps.bat
call %~dp0build-examples.bat
:exit

View File

@ -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
View 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