townengine/tools/gen_api_header.sh

5 lines
156 B
Bash
Raw Normal View History

2024-10-07 15:06:10 +00:00
#!/bin/env sh
# single header api generator with clang
clang -I./ -P -E -nostdinc -nobuiltininc -DTWN_NOT_C $TWNROOT/include/twn_game_api.h | clang-format