mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
meson: Install msvc_recommended_pragmas.h on Windows
Copy the msvc_recommended_pragmas.h helper header when we build for Windows, so that people developing/using GLib on Windows can make use of them in Visual Studio, so that unwanted compiler noise can be filtered out and code with potentially-problematic warnings can be attended to. https://bugzilla.gnome.org/show_bug.cgi?id=783270
This commit is contained in:
parent
32d6a76b98
commit
79b84ba3fc
@ -1570,6 +1570,10 @@ configure_file(input : 'config.h.meson',
|
||||
output : 'config.h',
|
||||
configuration : glib_conf)
|
||||
|
||||
if host_system == 'windows'
|
||||
install_headers([ 'msvc_recommended_pragmas.h' ], subdir : 'glib-2.0')
|
||||
endif
|
||||
|
||||
if get_option('with-man') != 'no'
|
||||
xsltproc = find_program('xsltproc', required : false)
|
||||
if not xsltproc.found() and get_option('with-man') == 'yes'
|
||||
|
Loading…
Reference in New Issue
Block a user