ciabatta/build_cuik.cmd

17 lines
509 B
Batchfile
Raw Normal View History

2022-06-11 04:49:07 +00:00
@echo off
setlocal enabledelayedexpansion
set PLATFORM=win
set CIABATTA_OPTIONS=--crt none -I %% -I inc -I unicope/inc
2022-06-11 04:49:07 +00:00
del ciabatta.lib
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
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