ciabatta/build_cuik.cmd

13 lines
354 B
Batchfile
Raw Normal View History

2022-06-06 21:41:20 +00:00
@echo off
setlocal enabledelayedexpansion
2022-06-08 01:46:36 +00:00
set PLATFORM=win
2022-06-06 21:41:20 +00:00
set CIABATTA_OPTIONS=--crt none -I %% -I inc
del ciabatta.lib
2022-06-08 01:46:36 +00:00
cuik %CIABATTA_OPTIONS% code\*.c code\os\%PLATFORM%\*.c -c -o ciabatta.obj
2022-06-06 21:41:20 +00:00
lib /out:ciabatta.lib ciabatta.obj
cuik test\test.c --lib ciabatta.lib,kernel32.lib,user32.lib,shell32.lib %CIABATTA_OPTIONS%
del ciabatta.obj