summaryrefslogtreecommitdiff
path: root/build/win32/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Visual Studio builds: Move project files to win32/Chun-wei Fan2017-01-091-50/+0
| | | | | It was suggested that the project files to be moved to win32/, so that we can have one less layer of directories we need to go down into to reach the project files.
* GSK: Add initial Visual Studio projectsChun-wei Fan2016-10-261-7/+15
| | | | | | | | | | | This adds the initial MSVC build items needed to build GSK under Visual Studio, this is part of it that is required, we need to add items to the property sheets to generate the code that is generated via glib-mkenums and glib-compile-resources. This set includes, with the autotools scripts for the complete: -GSK project files, which is integrated into the gtk+-4.sln. -The NMake snippets to build the introspection files for GSK. -The .bat files to call glib-mkenums to generate the enumeration sources.
* MSVC builds: Support MSVC 2013 and laterChun-wei Fan2016-10-261-3/+0
| | | | | | | We now need C99 features from the compiler which are only supported by Visual Studio 2013 and later, so drop the MSVC 2008~2012 projects, and make the baseline supported Visual Studio version be 2013. Update the build files as a result.
* Visual Studio builds: Update from [gdk|gtk]-3 to [gdk|gtk]-4Chun-wei Fan2016-10-191-4/+4
| | | | | | | | | | | | | This updates all the projects files to be be named appropriately as we move from GTK-3.x to 4.x, and updates the autotools files so that things are distributed and generated properly. Also remove deprecated/gtkstatusicon-quartz.c from gtk/Makefile.am, as that was causing 'make dist' to fail as that file has been removed. This fixes 'make dist' with the updated existing project files in proper order. Note that this does not include the new GSK, which will be added later, so the project files do not yet build the whole stack on Visual Studio at this point.
* Visual Studio builds: Generate .pc filesChun-wei Fan2016-04-261-0/+2
| | | | | | | | | | 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.
* MSVC builds: Update how introspection builds are doneChun-wei Fan2016-04-191-1/+32
| | | | | | | | | | | | | | 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. https://bugzilla.gnome.org/show_bug.cgi?id=765195
* MSVC build: Drop crypt implementation for MSVCChun-wei Fan2016-03-021-1/+0
| | | | | | We are actually not using the crypt() in GDK-Broadway for quite a while, so the code implementation for MSVC is actually not used. So, it's time to get rid of this.
* Windows: Update how gtk-win32.rc is generatedChun-wei Fan2016-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | 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
* MSVC Builds: "Add" Visual Studio 2015 ProjectsChun-wei Fan2015-09-151-1/+2
| | | | | | "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.
* MSVC Builds: Add Script to Generate gtk-win32.rcChun-wei Fan2014-08-041-0/+2
| | | | | | | | | | | | | | 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. https://bugzilla.gnome.org/show_bug.cgi?id=733773
* Build: Provide Simple Support for MSVC 2012/2013Chun-wei Fan2014-07-011-4/+6
| | | | | | | | | | | | 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 necessary. 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.
* MSVC Builds: Rework Introspection BuildChun-wei Fan2014-01-131-4/+0
| | | | | | | | | | | | | | | | | | | 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.
* Include crypt(3) implementation for MSVCChun-wei Fan2013-07-011-0/+1
| | | | | | | | | | This adds a crypt(3) implementation for use with broadwayd as Visual Studio does not support crypt(3) out of the box. The public domain implementation is taken from the following URL, http://michael.dipperstein.com/crypt/, where AFAICT this implementation would not be subject to licensing restrictions that would prevent it from being bundled.
* Visual Studio Builds: Support Building Introspection FilesChun-wei Fan2013-03-061-0/+4
| | | | | | | | | | | | | 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.
* Add git.mk to more placesJasper St. Pierre2013-01-241-0/+2
|
* Bug 643270: VS2010 Project Files (autotools)Chun-wei Fan2011-04-271-1/+2
| | | | | | | | | -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!
* Need to include Makefile.decl in the new Makefile.am filesTor Lillqvist2010-04-121-0/+2
| | | | Otherwise make check breaks.
* Add Visual Studio 2008 project filesTor Lillqvist2010-04-121-0/+2
Similar setup as in GLib and Pango. Also here we use a build/win32/vs9 subfolder, even if there is nothing else in build or build/win32.