build-windows/generate_code.cmd
author Volker Birk <vb@pep.foundation>
Mon, 15 Oct 2018 21:35:08 +0200
branchsync
changeset 3056 924a5dfb5367
parent 3025 6a07370f2d78
child 3099 67f66e9a47fc
permissions -rw-r--r--
build and have init() inside
     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 cd %1\..
    24 if not exist pEp mklink /d pEp pEpEngine\src
    25 
    26 popd