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

3747
Lib/KolibriOS.pas Normal file

File diff suppressed because it is too large Load Diff

30
Lib/build.bat Normal file
View File

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