gtk/build
Chun-wei Fan 5962daef4f Windows: Update how gtk-win32.rc is generated
On Visual Studio, unlike MinGW, manifest files are embedded via
including the manifest file as a resource file in the projects, not
via the .rc file.  This means that the line in the .rc file that
specifies the manifest file would cause trouble, so that line gets
removed when the full gtk3-win32.rc is generated on Visual Studio builds,
otherwise 2010+ Visual Studio will complain when compiling the .rc file.
Also, the inclusion of winuser.h will cause warnings during the
compilation of the .rc file.

Fix this by isolating the Win32 resource portions of gtk-win32.rc.in to
gtk-win32.rc.body.in and:
-On MinGW, construct the full gtk-win32.rc by doing the winver.h and
 winuser.h inclusion first, then append the contents of gtk-win32.rc.body,
 and then appending the line to embed the manifest file.
-On Visual Studio, simply copy the gtk-win32.rc.body to gtk-win32.rc,
 and generate the full libgtk3.manifest file.

https://bugzilla.gnome.org/show_bug.cgi?id=762311
2016-02-22 17:40:17 +08:00
..
win32 Windows: Update how gtk-win32.rc is generated 2016-02-22 17:40:17 +08:00
detectenv_msvc.mak build/: Rename a Shared MSVC NMake Makefile 2014-01-13 17:19:07 +08:00
gen-file-list-gtk.py MSVC Builds: Fix Introspection Build 2015-07-24 17:39:55 +08:00
gtk-introspection-msvc.mak.in MSVC Introspection Builds: Remove GCC Requirement 2015-08-17 19:20:04 +08:00
introspection-msvc.mak MSVC Introspection Builds: Remove GCC Requirement 2015-08-17 19:20:04 +08:00
Makefile-newvs.am build/Makefile-newvs.am: Update Comments for Usage 2015-09-25 20:23:39 +08:00
Makefile.am MSVC Build Files: Use Real GTK+ Version 2014-08-07 23:11:34 +08:00
Makefile.msvcproj Build: Make Makefile.msvcproj A Bit More Generic 2015-09-25 20:23:38 +08:00
msvcfiles.py MSVC Builds: Rework Introspection Build 2014-01-13 16:05:32 +08:00