gtk/win32/gen-enums.batin

19 lines
404 B
Plaintext
Raw Normal View History

@ECHO OFF
cd ..\gsk
if exist gskenumtypes.h del gskenumtypes.h
if exist gskenumtypes.c del gskenumtypes.c
for %%f in (gskenumtypes.h gskenumtypes.c) do ^
%2\python %1\bin\glib-mkenums ^
--template %%f.template ^
#include "gsk.enum.headers"
&1> %%f
for %%f in (gskenumtypes.h gskenumtypes.c) do ^
if %%~zf EQU 0 perl %1\bin\glib-mkenums ^
--template %%f.template ^
#include "gsk.enum.headers"
&1> %%f