pEpEngine/build-windows/generate_code.cmd

24 lines
668 B
Batchfile
Raw Normal View History

2018-10-05 20:33:34 +02:00
pushd .
cd %1\sync
python %YML_PATH%\yml2proc -E utf-8 -y gen_actions.ysl2 sync.fsm
python %YML_PATH%\yml2proc -E utf-8 -y gen_statemachine.ysl2 sync.fsm
python %YML_PATH%\yml2proc -E utf-8 -y gen_codec.ysl2 sync.fsm
python %YML_PATH%\yml2proc -E utf-8 -y gen_messages sync.fsm
python %YML_PATH%\yml2proc -E utf-8 -y gen_message_func sync.fsm
xcopy /y generated\*.asn1 ..\asn.1\
xcopy /y generated\*.c ..\src\
xcopy /y generated\*.h ..\src\
cd %1\asn.1
2018-10-05 20:37:52 +02:00
del *.h*
del *.c*
2018-10-05 20:33:34 +02:00
..\..\Tools\asn1c\bin\asn1c -S ../../Tools/asn1c/share/asn1c -gen-PER -fincludes-quoted -fcompound-names -pdu=auto pEp.asn1 keysync.asn1 sync.asn1
2018-10-05 20:37:52 +02:00
del *-sample.c
2018-10-05 20:33:34 +02:00
popd