build-windows/generate_code.cmd
author Volker Birk <vb@pep.foundation>
Fri, 05 Oct 2018 20:37:52 +0200
branchsync
changeset 3024 55f2f165526e
parent 3023 a195bf49201f
child 3025 6a07370f2d78
permissions -rw-r--r--
code generation script
     1 pushd .
     2 cd %1\sync
     3 
     4 python %YML_PATH%\yml2proc -E utf-8 -y gen_actions.ysl2 sync.fsm
     5 python %YML_PATH%\yml2proc -E utf-8 -y gen_statemachine.ysl2 sync.fsm
     6 python %YML_PATH%\yml2proc -E utf-8 -y gen_codec.ysl2 sync.fsm
     7 python %YML_PATH%\yml2proc -E utf-8 -y gen_messages sync.fsm
     8 python %YML_PATH%\yml2proc -E utf-8 -y gen_message_func sync.fsm
     9 
    10 xcopy /y generated\*.asn1 ..\asn.1\
    11 xcopy /y generated\*.c ..\src\
    12 xcopy /y generated\*.h ..\src\
    13 
    14 cd %1\asn.1
    15 
    16 del *.h*
    17 del *.c*
    18 
    19 ..\..\Tools\asn1c\bin\asn1c -S ../../Tools/asn1c/share/asn1c -gen-PER -fincludes-quoted -fcompound-names -pdu=auto pEp.asn1 keysync.asn1 sync.asn1
    20 
    21 del *-sample.c
    22 
    23 popd