mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
meson: set _DEBUG on all platforms for debug builds
This commit is contained in:
parent
0ea6d36fca
commit
8bb8b34fe7
@ -45,6 +45,10 @@ if host_machine.system() == 'windows'
|
||||
add_project_arguments('-DNOMINMAX', '-D_WIN32_WINNT=0x0602', language: 'cpp')
|
||||
endif
|
||||
|
||||
if get_option('debug')
|
||||
add_project_arguments('-D_DEBUG', language: 'cpp')
|
||||
endif
|
||||
|
||||
conf = configuration_data()
|
||||
conf.set_quoted('P_DATA', dataroot)
|
||||
if get_option('credit') != ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user