build-windows/generate_code.cmd
author Volker Birk <vb@pep.foundation>
Fri, 05 Oct 2018 20:39:29 +0200
branchsync
changeset 3025 6a07370f2d78
parent 3024 55f2f165526e
child 3056 924a5dfb5367
permissions -rw-r--r--
...
     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.ysl2 sync.fsm
     8 python %YML_PATH%\yml2proc -E utf-8 -y gen_message_func.ysl2 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