mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
9 lines
417 B
Makefile
9 lines
417 B
Makefile
products += build/struct_layout/apps_container_layout.json
|
|
build/struct_layout/apps_container_layout.json:
|
|
@echo "AST $@"
|
|
@clang -cc1 -x c++ -v -fdump-record-layouts apps/main.cpp -Iescher/include -Ikandinsky/include -Iion/include -Ipoincare/include -std=c++11 -emit-llvm-only -o /dev/null > foo.txt
|
|
@echo "JSON $@"
|
|
@cat foo.txt | ruby build/struct_layout/ast_to_json.rb AppsContainer > $@
|
|
@rm foo.txt
|
|
|