mirror of https://github.com/odrling/Aegisub
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…
Reference in New Issue