1. 20 Jan, 2016 1 commit
  2. 18 Jan, 2016 1 commit
    • Chun-wei Fan's avatar
      Visual Studio builds: Rearrange build configs · e3ab6ab3
      Chun-wei Fan authored
      This is a follow-up commit for commit 82c2461e, where the default build is
      to use the PCRE that is installed in the system, if it is available and is
      not overridden with --with-internal-pcre.
      
      For Visual Studio builds, this means that the new 'Debug' and 'Release'
      configs will now use PCRE that is found on the system, which were renamed
      from the '*_ExtPCRE' configs; and that there are now 'Debug_BundledPCRE'
      and 'Release_BundledPCRE' configs which make use of the PCRE that is
      supplied with the GLib sources, which, replaces the former 'Debug' and
      'Release' configs.
      e3ab6ab3
  3. 02 Dec, 2015 1 commit
    • Chun-wei Fan's avatar
      build/win32: Add NMake Makefile module for building tests and introspection · 244f9e66
      Chun-wei Fan authored
      This adds a NMake Makefile module that can be used for building tests and
      introspection using, NMake.  This is not yet distributed in the main GLib
      tarballs, but this is placed here as the base location as this is
      intended to be used in projects that support Visual Studio builds and
      support the build of tests and/or introspection under Visual Studio using
      NMake.
      244f9e66
  4. 12 Nov, 2015 1 commit
    • Chun-wei Fan's avatar
      MSVC 2010+ builds: Do not explicitly use /LTCG · c50bb218
      Chun-wei Fan authored
      This partially reverts dc4361f4.
      
      As we now ensure that items using GResources and GConstructors are always
      referenced so that the linker does not optimize them out in a default
      Release build, we no longer need to enforce the use of /LTCG, so
      /LTCG:incremental will work as well.
      c50bb218
  5. 23 Oct, 2015 1 commit
  6. 13 Oct, 2015 1 commit
    • Chun-wei Fan's avatar
      MSVC 2010+ builds: Explicitly use /LTCG · dc4361f4
      Chun-wei Fan authored
      The Visual Studio projects used a default setting for link-time code
      generation, which is a part of the various linker optimizations that is
      available, which is set as /LTCG for Visual Studio 2013 and earlier.
      
      This changed in Visual Studio 2015 to become /LTCG:incremental, which would
      cause GResources-generated code to be optimized out during linking, unless
      they were referred to directly in the main line code (such as when the
      GResource is manually registered), causing programs to crash as a result as
      they can't find the needed code/data at run time.
      
      Fix this by explicitly setting /LTCG for all release builds, for Visual
      Studio 2010 and later.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=752837
      dc4361f4
  7. 12 Oct, 2015 2 commits
  8. 25 Sep, 2015 3 commits
  9. 23 Sep, 2015 1 commit
    • Chun-wei Fan's avatar
      build/win32: Make "Install" Property Sheet Generation More Robust · aef2d0c5
      Chun-wei Fan authored
      List the files that are generated in the process to generate the
      glib-install property sheets, so that we can use that list as a
      depedency, as well as deleting those files in one shot after the
      property sheet is generated, so we don't need to worry about those
      in 'make distclean' or so.
      aef2d0c5
  10. 17 Sep, 2015 1 commit
  11. 09 Sep, 2015 2 commits
    • Chun-wei Fan's avatar
      MSVC Builds: "Add" MSVC 2015 Projects · 4025b5a5
      Chun-wei Fan authored
      This "adds" the Visual Studio 2015 Project files by doing what we did
      before: copying the Visual Studio 2010 projects and replacing items
      in them, as the formats of the Visual Studio 201x projects are largely
      the same.
      4025b5a5
    • Chun-wei Fan's avatar
      MSVC Builds: Simplify Script to Generate glib-mkenums · 9c7df09c
      Chun-wei Fan authored
      Use a simple all-purpose utility script to generate the glib-mkenums
      PERL script with the version info, and stop using the script that
      tries to parse the autotools files.  Move the things that
      were taken out from build/win32/setup.py back there.
      9c7df09c
  12. 08 Sep, 2015 1 commit
    • Chun-wei Fan's avatar
      MSVC Builds: Prepare For Visual Studio 2015 · 0be6766d
      Chun-wei Fan authored
      Update the autotools module so that we can use it to upgrade the
      Visual Studio 2010 projects to become Visual Studio 2015-compatible.
      
      Note that this will make the MSVC 2015 builds use the the the latest
      VC140 CRT.
      0be6766d
  13. 03 Sep, 2015 3 commits
  14. 22 Apr, 2015 1 commit
    • Chun-wei Fan's avatar
      build/Makefile-newvs.am: Fix %.vcxproj Rule · cf940b66
      Chun-wei Fan authored
      The if-else statement added in commit 9bc3ae92 was missing a '\' after the
      'else', causing 'make dist/distcheck' to break with "unexpected
      end-of-file" errors.
      
      Fix this-didn't notice this when reviewing that patch.  My fault. :|
      cf940b66
  15. 20 Apr, 2015 1 commit
  16. 17 Apr, 2015 1 commit
    • Chun-wei Fan's avatar
      build/Makfile-newvs.am: Use Pattern Rules · 68bb63e3
      Chun-wei Fan authored
      Make use of pattern rules when generating the Visual Studio 2012/2013
      Projects from the Visual Studio 2010 projects, which will help to clean up
      the file and also avoid problems when running items like 'make -jN dist'.
      68bb63e3
  17. 04 Mar, 2015 1 commit
    • Chun-wei Fan's avatar
      MSVC Builds: Few More Enahncements · 74c9eaac
      Chun-wei Fan authored
      Update the .pdb file generation for the MSVC 2010+ DLLs (and the x64 gspawn
      helper programs), so that they match the names of the DLLs/EXEs that are
      built.  Also update the .lib generation so that all will use -$(ApiVersion)
      from the property sheets instead of the -2.0 which was previously hard
      coded (as we will eventually move into GLib 3.x in the future, for example)
      74c9eaac
  18. 03 Mar, 2015 5 commits
    • Chun-wei Fan's avatar
      Visual Studio Builds: "Install" .pdb files · 6be1e678
      Chun-wei Fan authored
      They are helpful in debugging in a stack.
      6be1e678
    • Chun-wei Fan's avatar
      MSVC Builds: GIO: Standardize zlib Linking · 6e117b3f
      Chun-wei Fan authored
      Link to zlib1.lib for all builds, as:
      -The notion of zlib1d.lib is rather not standardized across the board for
       most cases.
      -Easier for the grand all-in-one solution file.
      6e117b3f
    • Chun-wei Fan's avatar
      Visual Studio 2008 Builds: Speed Up Release Builds · d76ac156
      Chun-wei Fan authored
      Use the /MP option so that each project can build multiple sources in
      parallel, which can cut down release build times by quite a bit.  This will
      cause a brief warning for debug builds due to their use of /Gm, and builds
      would otherwise proceed as they did before.
      
      Unfortunately Visual Studio 2008 is too old to support the /d2Zi+ flag, so
      we can't make a better debug situation for it at the moment.
      d76ac156
    • Chun-wei Fan's avatar
      MSVC Builds: Improve Build Speed and Debugging · 7b1729f3
      Chun-wei Fan authored
      Use Multiprocessor compilation which can cut down build times by quite a
      bit and use the /d2Zi+ flag to have better debugging info being logged to
      the .pdb for release builds.
      
      These are only applicable for Visual Studio 2010/2012 and later.
      7b1729f3
    • Chun-wei Fan's avatar
      MSVC Builds: Fix and Update "Installation" · 94b9d87a
      Chun-wei Fan authored
      The gobjectnotifyqueue.c was accidently dropped from the files to copy, and
      a new public header for GIO was added, so address these parts.
      94b9d87a
  19. 04 Feb, 2015 1 commit
  20. 02 Feb, 2015 5 commits
  21. 12 Sep, 2014 1 commit
    • Chun-wei Fan's avatar
      MSVC Builds: Update "Installation" · d2f3e119
      Chun-wei Fan authored
      This updates the glib-install.[props|vsprops] so that the headers to
      "install" for the build are kept up-to-date.  Note that this has been
      generated by a script, so that this hopefully means that the header
      "installation" can be maintained along with the autotools files for most
      uses, to simplify maintenance.
      d2f3e119
  22. 13 Aug, 2014 1 commit
  23. 08 Aug, 2014 1 commit
    • Chun-wei Fan's avatar
      MSVC Builds: Generate glib-mkenums If Possible · 3d890412
      Chun-wei Fan authored
      As glib-mkenums would likely be used in the building of the other
      components of the stack, such as Cogl, Clutter and
      gsettings-desktop-schemas, generate that using a Python script (if Python
      can be found) and "install" it.
      3d890412
  24. 02 Jul, 2014 1 commit
  25. 01 Jul, 2014 1 commit
  26. 09 Jun, 2014 1 commit
    • Chun-wei Fan's avatar
      MSVC 2010+ Projects: Update "Installation" Process · 91b9aef0
      Chun-wei Fan authored
      Currently, due to the way that Visual Studio 2010+ projects are handled,
      the "install" project does not re-build upon changes to the sources, as it
      does not believe that its dependencies have changed, although the changed
      sources are automatically recompiled.  This means that if a part or more
      of the solution does not build, or if the sources need some other fixes
      or enhancements, the up-to-date build is not copied automatically, which
      can be misleading.
      
      Improve on the situation by forcing the "install" project to trigger its
      rebuild, so that the updated binaries can be copied.  This does trigger an
      MSBuild warning, but having that warning is way better than not having an
      up-to-date build, especially during testing and development.
      91b9aef0