dodany helper_impl do kompilacji i budowania

This commit is contained in:
2026-02-19 15:15:10 +01:00
parent 62b5fc2e63
commit 6af2ca712f
5 changed files with 45 additions and 3 deletions

View File

@@ -28,10 +28,19 @@ if errorlevel 1 (
exit /b 1
)
REM Kompilacja wrappera
clang %CFLAGS% %INCLUDES% ^
-c helper_impl.c -o helper_impl.o 2>&1
if errorlevel 1 (
echo Blad kompilacji helper_impl.c
exit /b 1
)
REM Linkowanie do DLL z eksportami
clang -target x86_64-pc-windows-msvc -shared ^
-o ZDistA_komp.dll ^
ZDistA_komp.o ZDistA_wrapper.o ^
ZDistA_komp.o ZDistA_wrapper.o helper_impl.o ^
-lkernel32 2>&1
if errorlevel 1 (