2022-06-11 04:49:07 +00:00
|
|
|
@echo off
|
|
|
|
setlocal enabledelayedexpansion
|
|
|
|
|
|
|
|
set PLATFORM=win
|
2022-07-06 02:31:15 +00:00
|
|
|
set CIABATTA_OPTIONS=--crt none -I %% -I inc -I unicope/inc
|
2022-06-11 04:49:07 +00:00
|
|
|
|
|
|
|
del ciabatta.lib
|
2022-07-06 02:31:15 +00:00
|
|
|
del unicope\unicope.lib
|
|
|
|
cuik unicope\src\unicode.c -I unicope\inc -c -o unicope\unicope.lib
|
2022-06-16 12:36:35 +00:00
|
|
|
cuik %CIABATTA_OPTIONS% src\code\*.c src\%PLATFORM%\*.c -c -o ciabatta.obj
|
2022-06-11 04:49:07 +00:00
|
|
|
lib /out:ciabatta.lib ciabatta.obj
|
|
|
|
|
2022-06-16 12:36:35 +00:00
|
|
|
if "%TEST%"=="" set TEST=assert
|
|
|
|
|
2022-07-06 02:31:15 +00:00
|
|
|
cuik test\test_%TEST%.c --lib ciabatta.lib,unicope/unicope.lib,kernel32.lib,user32.lib,shell32.lib %CIABATTA_OPTIONS%
|
2022-06-11 04:49:07 +00:00
|
|
|
del ciabatta.obj
|