1. 17 Feb, 2017 1 commit
    • Chun-wei Fan's avatar
      Visual Studio builds: Support Visual Studio 2017 · c6f0df26
      Chun-wei Fan authored
      Update the autotools scripts so that we can support Visual Studio 2017
      by copying the 2010 projects and updating items as needed to obtain
      the 2017 projects.
      Note that since the toolset version string changed for Visual Studio
      2017, so allow the use of a custom toolset version string, otherwise
      just generate the toolset version string as we did before.
      Also, note that Visual Studio 2017 aims to be compatible with 2015
      on the CRT level, so there should not be any problems using 2017-compiled
      binaries with 2015-compiled ones.
  2. 26 Apr, 2016 1 commit
    • Chun-wei Fan's avatar
      Visual Studio builds: Generate .pc files · 71bb1beb
      Chun-wei Fan authored
      Generate .pc files for the package, so that it would be easier for
      building introspection for packages that depend on GTK+.  Also split
      PythonPath into PythonPath and PythonPathX64 to facilitate the build of
      introspection files, which need to have Python that is built with the
      same ac=rchitecture where GTK+ is built.
      Clean up the formatting and spacing a bit.
  3. 19 Apr, 2016 1 commit
    • Chun-wei Fan's avatar
      MSVC builds: Update how introspection builds are done · 9a87b6be
      Chun-wei Fan authored
      This first adds a common autotools module that can be included by
      the Makefile.am's to generate the file lists and the g-ir-scanner/
      g-ir-compiler command lines to build the introspection files.
      The autotools files for gdk/ and gtk/ are then updated to generate
      the full file lists needed to build the introspection files, with
      the full command lines for g-ir-scanner and g-ir-compiler as NMake
      Makefile modules that can be used to build the introspection files
      for Visual Studio builds.
  4. 02 Mar, 2016 1 commit
  5. 22 Feb, 2016 1 commit
    • Chun-wei Fan's avatar
      Windows: Update how gtk-win32.rc is generated · 5962daef
      Chun-wei Fan authored
      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.
  6. 15 Sep, 2015 1 commit
    • Chun-wei Fan's avatar
      MSVC Builds: "Add" Visual Studio 2015 Projects · 9a4990f4
      Chun-wei Fan authored
      "Add" Visual Studio 2015 projects by what we did before: Copy the Visual
      Studio 2010 project files and replace the items in there as needed, as
      the formats of the 2010 and 2015 projects are largely the same.
  7. 04 Aug, 2014 1 commit
    • Chun-wei Fan's avatar
      MSVC Builds: Add Script to Generate gtk-win32.rc · d62bd12b
      Chun-wei Fan authored
      In bug 733773, gtk-win32.rc was removed from the dist in the attempt to
      make the print dialog on Windows themed, so this script was added so that
      the gtk-win32.rc file can be generated during the Visual Studio builds of
      GTK+ from the autotools scripts.  This is also intended for filling in the
      arch of the build for MSVC builds for the manifest that is also required
      for fixing bug 733773.  Python is used as it is already needed for
      This is done as a custom build rule in the Visual Studio projects so that
      it is easy to clean and rebuild gtk-win32.rc upon an update.
  8. 01 Jul, 2014 1 commit
    • Chun-wei Fan's avatar
      Build: Provide Simple Support for MSVC 2012/2013 · e3f8b877
      Chun-wei Fan authored
      As the Visual Studio 2012/2013 are only slightly different from the Visual
      Studio 2010 projects, we can provide support for them by using scripts to
      copy the Visual Studio 2010 projects, and update the specific parts as
      Thus, there would be little maintenance overhead for these as only the 2010
      projects need to be kept up-to-date as a result.  This might change when we
      do get the stack working with WinRT/Metro, but that's going to be another
      totally different issue.
  9. 13 Jan, 2014 1 commit
    • Chun-wei Fan's avatar
      MSVC Builds: Rework Introspection Build · 7115ccd3
      Chun-wei Fan authored
      The current approach of building the introspection files for GTK works, but
      is often cumbersome as one needs to set many environmental variables before
      launching a solution file, which runs a Windows batch script to generate
      the .gir/.typelib files. It was also possible to hand-run the batch script
      from the Visual Studio command prompt, but even more environmental
      variables need to be set.
      This changes the approach to build the introspection files using an NMake
      Makefile (but elimating from the Visual Studio Project Files the part to
      build the introspection files) to:
      -Make it clearer to the person building the introspection files what
       environmental variables are needed, specifically for PKG_CONFIG_PATH and
       MINGWDIR and CFG (formerly CONF). Setting stuff like VSVER, PLAT and BASEDIR
       is no longer required, which was a bit clunky.
      -Allows some more easier flexibility on the build of the intropsection files.
  10. 01 Jul, 2013 1 commit
  11. 06 Mar, 2013 1 commit
    • Chun-wei Fan's avatar
      Visual Studio Builds: Support Building Introspection Files · 801a7ca1
      Chun-wei Fan authored
      Add Windows .bat and Python script to call g-ir-scanner to build
      introspection files for Visual Studio builds.  This will read from the
      autotools files using Python REGEX functionality to determine the headers
      and sources for g-ir-scanner to process, so the autotools files will not
      need to be updated except to distribute the necessary files.  Thils will
      also enable one to build introspection files on Windows without using a
      BASH-style shell such as MSYS.
      Also add an utility Visual Studio project to call the Windows .bat to
      build the introspection files for GTK+/GDK, for convenience.
  12. 24 Jan, 2013 1 commit
  13. 26 Apr, 2011 1 commit
    • Chun-wei Fan's avatar
      Bug 643270: VS2010 Project Files (autotools) · 527a299f
      Chun-wei Fan authored
      -Update to distribute the VS2010 files.
      -Added rules in Makefile.am's of GDK and GTK to fill in the
       project/filter files templates with up-to-date source file
       listings to simplify maintenace.
      Any comments on the usage of the VS2010 files are welcome!
  14. 12 Apr, 2010 2 commits