Skip to content

Commit

Permalink
build: shader generator: generate GLSL debug symbols when building debug
Browse files Browse the repository at this point in the history
  • Loading branch information
LDAP committed Aug 12, 2024
1 parent 7ee1a93 commit 4297f5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ glslc_args += ['-I' + meson.project_source_root()]
glslc_args += ['-I' + join_paths(project_root, 'src')]
glslc_args += ['-I' + join_paths(project_root, 'include')]
glslc_args += ['--depfile', '@DEPFILE@']
if get_option('buildtype').startswith('debug')
glslc_args += ['-g']
endif

py = import('python').find_installation('python3')
shader_generator = generator(
Expand Down

0 comments on commit 4297f5f

Please sign in to comment.