Files
xkm-server/server_999/tools/tapp_frame/temple/conv.sh

9 lines
244 B
Bash
Raw Normal View History

2025-05-20 15:31:00 +08:00
#!/bin/bash
# Fisrt of all, you should set PATH to tdr tools properly
PATH=$1:${PATH}
export PATH
tdr --xml2h --no_type_prefix --no_lowercase_prefix TEMPLE_ORI_conf_desc.xml
tdr --xml2c -o TEMPLE_ORI_conf_desc.c TEMPLE_ORI_conf_desc.xml