Put gles_gen.log in the build folder

This commit is contained in:
Ben Visness 2023-08-16 18:49:13 -05:00 committed by Martin Fouilleul
parent 50f6ed8bec
commit 4ae8bc3bfa
2 changed files with 1 additions and 2 deletions

1
.gitignore vendored
View File

@ -28,7 +28,6 @@ src/orca_surface.c
src/graphics/orca_gl31.h src/graphics/orca_gl31.h
*bind_gen.c *bind_gen.c
*_stubs.c *_stubs.c
gles_gen.log
.vscode/launch.json .vscode/launch.json
.vscode/settings.json .vscode/settings.json

View File

@ -32,7 +32,7 @@ def gen_gles_header(spec, filename):
tree = et.parse(spec) tree = et.parse(spec)
reg.loadElementTree(tree) reg.loadElementTree(tree)
logFile = open('./gles_gen.log', 'w') logFile = open('./build/gles_gen.log', 'w')
gen = COutputGenerator(diagFile=logFile) gen = COutputGenerator(diagFile=logFile)
reg.setGenerator(gen) reg.setGenerator(gen)
reg.apiGen(genOpts) reg.apiGen(genOpts)