build-windows/generate_code.cmd
branchsync
changeset 3023 a195bf49201f
child 3024 55f2f165526e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/build-windows/generate_code.cmd	Fri Oct 05 20:33:34 2018 +0200
     1.3 @@ -0,0 +1,18 @@
     1.4 +pushd .
     1.5 +cd %1\sync
     1.6 +
     1.7 +python %YML_PATH%\yml2proc -E utf-8 -y gen_actions.ysl2 sync.fsm
     1.8 +python %YML_PATH%\yml2proc -E utf-8 -y gen_statemachine.ysl2 sync.fsm
     1.9 +python %YML_PATH%\yml2proc -E utf-8 -y gen_codec.ysl2 sync.fsm
    1.10 +python %YML_PATH%\yml2proc -E utf-8 -y gen_messages sync.fsm
    1.11 +python %YML_PATH%\yml2proc -E utf-8 -y gen_message_func sync.fsm
    1.12 +
    1.13 +xcopy /y generated\*.asn1 ..\asn.1\
    1.14 +xcopy /y generated\*.c ..\src\
    1.15 +xcopy /y generated\*.h ..\src\
    1.16 +
    1.17 +cd %1\asn.1
    1.18 +
    1.19 +..\..\Tools\asn1c\bin\asn1c -S ../../Tools/asn1c/share/asn1c -gen-PER -fincludes-quoted -fcompound-names -pdu=auto pEp.asn1 keysync.asn1 sync.asn1
    1.20 +
    1.21 +popd