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--
...
vb@3023
     1
pushd .
vb@3023
     2
cd %1\sync
vb@3023
     3
vb@3023
     4
python %YML_PATH%\yml2proc -E utf-8 -y gen_actions.ysl2 sync.fsm
vb@3023
     5
python %YML_PATH%\yml2proc -E utf-8 -y gen_statemachine.ysl2 sync.fsm
vb@3023
     6
python %YML_PATH%\yml2proc -E utf-8 -y gen_codec.ysl2 sync.fsm
vb@3025
     7
python %YML_PATH%\yml2proc -E utf-8 -y gen_messages.ysl2 sync.fsm
vb@3025
     8
python %YML_PATH%\yml2proc -E utf-8 -y gen_message_func.ysl2 sync.fsm
vb@3023
     9
vb@3023
    10
xcopy /y generated\*.asn1 ..\asn.1\
vb@3023
    11
xcopy /y generated\*.c ..\src\
vb@3023
    12
xcopy /y generated\*.h ..\src\
vb@3023
    13
vb@3023
    14
cd %1\asn.1
vb@3023
    15
vb@3024
    16
del *.h*
vb@3024
    17
del *.c*
vb@3024
    18
vb@3023
    19
..\..\Tools\asn1c\bin\asn1c -S ../../Tools/asn1c/share/asn1c -gen-PER -fincludes-quoted -fcompound-names -pdu=auto pEp.asn1 keysync.asn1 sync.asn1
vb@3023
    20
vb@3024
    21
del *-sample.c
vb@3024
    22
vb@3023
    23
popd