Feature #1455 » 0016-Meson-Define-FREECIV_NDEBUG-on-release-builds.patch
| gen_headers/meson_freeciv_config.h.in | ||
|---|---|---|
|
/* Produce debug version */
|
||
|
#mesondefine FREECIV_DEBUG
|
||
|
/* No freeciv specific debugging support at all */
|
||
|
#mesondefine FREECIV_NDEBUG
|
||
|
/* Winsock available */
|
||
|
#mesondefine FREECIV_HAVE_WINSOCK
|
||
| meson.build | ||
|---|---|---|
|
add_global_arguments('-DQT_NO_DEBUG', language : 'cpp')
|
||
|
endif
|
||
|
if get_option('buildtype') == 'release'
|
||
|
pub_conf_data.set('FREECIV_NDEBUG', 1)
|
||
|
endif
|
||
|
if host_system == 'windows'
|
||
|
storage_dir = '"~\\\\.freeciv"'
|
||
|
storage_dir = '~\\\\.freeciv'
|
||
- « Previous
- 1
- 2
- Next »