1. 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
  2. 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
  3. 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
  4. 04 Feb, 2015 1 commit
  5. 02 Feb, 2015 5 commits
  6. 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
  7. 13 Aug, 2014 1 commit
  8. 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
  9. 02 Jul, 2014 1 commit
  10. 01 Jul, 2014 1 commit
  11. 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
  12. 03 Jun, 2014 1 commit
    • Chun-wei Fan's avatar
      Support Building Using Visual Studio 2013 · 6eb55b9a
      Chun-wei Fan authored
      Like the Visual Studio 2012 project files, the Visual Studio 2013 files are
      largely the same as the Visual Studio 2010 project files, so support
      Visual Studio 2013 by updating the autotools scripts that is used for
      Visual Studio 2012.  This means that project files for Visual Studio 2012
      and Visual Studio 2013 can be maintained by simply maintaining the Visual
      Studio 2010 project files, adding minimal maintenance overhead.
      6eb55b9a
  13. 06 Jan, 2014 3 commits
    • Chun-wei Fan's avatar
      Fix GLib MSVC Project · eb7ef594
      Chun-wei Fan authored
      The glib/gthread-win32.c was accidently removed from the last commit, sorry
      eb7ef594
    • Chun-wei Fan's avatar
      Tidy Up the glib MSVC Project · 940b3c22
      Chun-wei Fan authored
      Move the per-source define/undefine cflags into the property sheets, and
      apply the cflags for the bundled PCRE sources to the PCRE sources only
      940b3c22
    • Chun-wei Fan's avatar
      Drop the testglib MSVC Projects · 16c41f0c
      Chun-wei Fan authored
      There are many test programs that are shipped with GLib, and this project
      is a one-to-one project, which does not make sense to keep as various test
      programs may have different CFLAGS, etc, which will require different build
      options.
      16c41f0c
  14. 02 Jan, 2014 1 commit
  15. 27 Dec, 2013 3 commits
    • Chun-wei Fan's avatar
      Visual Studio Projects: Cleanup Property Sheets · ddc29a90
      Chun-wei Fan authored
      Make the projects include a single property sheet as necessary, which will
      in turn include the other property sheet(s) as needed, so that we can avoid
      warnings where we include the same property sheets twice in a single
      project.
      
      Also make the copying of pre-configured headers into custom build rules so
      that they can be removed upon the clean command from the IDE and that they
      can be re-copied if their counterpart *.h.win32 are updated.
      ddc29a90
    • Chun-wei Fan's avatar
      Visual Studio Projects: Use Unix Line Endings · d01a0756
      Chun-wei Fan authored
      ...where possible, to make application of patches easier in the future.
      The README.txt's and the .sln files are still in Windows/DOS line endings
      as they need to be so.
      d01a0756
    • Chun-wei Fan's avatar
      Visual Studio Property Sheets: Use Unix Line Endings · c488aa67
      Chun-wei Fan authored
      This makes it easier to apply patches in the future.
      c488aa67
  16. 11 Dec, 2013 1 commit
  17. 02 Dec, 2013 1 commit
  18. 05 Sep, 2013 1 commit
    • Chun-wei Fan's avatar
      Visual C++ Builds: Fix "install" Projects · 52251a52
      Chun-wei Fan authored
      Due to the split up of the property sheets, the install projects did not
      have info on the Intermediate and Output Paths, which caused confusing
      messages from Visual Studio to show up upon completing build+"install" and
      closing Visual Studio on whether to reload the install project, at least on
      Visual Studio 2008.
      
      Include the property sheet which defines these properties to fix this.
      52251a52
  19. 21 Aug, 2013 6 commits
    • Chun-wei Fan's avatar
      Fix typo in last commit · 2ff85ca4
      Chun-wei Fan authored
      The gio.vcxprojin and glib.vcxprojin were including .vsprops property
      sheets, but it should have been .props instead.
      2ff85ca4
    • Chun-wei Fan's avatar
      MSVC 2010 Project Files: Split up the Property Sheets · 113793a4
      Chun-wei Fan authored
      Like the Visual Studio 2008 project files, split up the property sheets
      so to ease maintenace, and to prepare to use autotools to fill in the
      header entries to "install".
      
      Put some of the items that are frequently repeated in the projects as well,
      also to simplify maintenance.
      
      Also, update the autotools files to automate the upgrade of Visual Studio
      2010 project as we now have multiple property sheets to copy and process.
      113793a4
    • Chun-wei Fan's avatar
      MSVC 2008 Projects: Split the Property Sheets · 3c4ee831
      Chun-wei Fan authored
      Split the property sheet into four sheets, to make maintainance of the
      build files easier, and also to prepare for using autotools to fill in
      the parts for the "installation" of headers.
      
      Also put more of the items that are repeated in the projects into the
      property sheets, also to improve ease of maintenance.
      
      Updates to the Visual Studio 2010 projects will come later, as the script
      to update them to Visual Studio 2012 must also be taken into account during'
      the process.
      3c4ee831
    • Chun-wei Fan's avatar
      GLib MSVC Projects: Consolidate PCRE items · 716ec71e
      Chun-wei Fan authored
      Move the definitions of macros used to build PCRE that ships with GLib into
      the property sheets, so that it can be easier to maintain
      716ec71e
    • Chun-wei Fan's avatar
      GIO MSVC Projects: Drop Unneeded Defines · 18f498c3
      Chun-wei Fan authored
      GIO_MODULE_DIR is dynamically constructed on Windows, so we don't really
      need to define it here.
      18f498c3
    • Chun-wei Fan's avatar
      GIO MSVC Project: Link to iphlpapi.lib · 7145f069
      Chun-wei Fan authored
      This is needed for GetAdaptersAddresses()[1], which was used to implement
      if_nametoindex on Windows, notably on Windows XP, in commit 01156b12.
      
      if_nametoindex and if_indextoname, as noted in config.h.win32(.in), is
      available with Windows Vista and later, so when we eventually drop
      support for Windows XP, we can call them directly, and these functions
      also reside in the same iphlpapi.lib
      
      [1]: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365915%28v=vs.85%29.aspx
      7145f069
  20. 17 Jul, 2013 2 commits
  21. 20 Jun, 2013 2 commits
    • Chun-wei Fan's avatar
      Add MSVC Projects for Utility Programs · 97b82d8d
      Chun-wei Fan authored
      Build and "install" the gio-querymodules and gdbus utility programs so that
      the Visual Studio builds of GLib is more comprehensive.  The Python scripts
      for the GDBus codegen will be added to "installation" later.
      97b82d8d
    • Chun-wei Fan's avatar
      Update Visual Studio Projects · ffaf57b9
      Chun-wei Fan authored
      Make all projects settings use the MultiByte character set when building
      GLib to improve consistency.
      ffaf57b9