summaryrefslogtreecommitdiff
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* MSVC builds: Use /opt:ref for release buildsChun-wei Fan2015-11-126-12/+12
| | | | | | | glib-compile-resources have been updated to ensure that the symbols generated are referred to, so that they will not be optimized out by the linker in release builds. We can change from /opt:noref to /opt:ref, which should improve optimization a bit.
* MSVC 2010+ builds: Do not explicitly use /LTCGChun-wei Fan2015-11-128-18/+0
| | | | | | | | | This partially reverts de16a4e. 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.
* MSVC release builds: Ensure that /LTCG is usedChun-wei Fan2015-10-238-47/+65
| | | | | | | | | MSVC 2015 changed its default link-time code generation setting to /LTCG:incremental, which causes problems if /opt:noref is to be used, meaning that some code will be optimized out by the linker. Avoid this situtation here by enforcing the use of /LTCG for MSVC 2010+ builds.
* MSVC builds: Fix "install"Chun-wei Fan2015-10-122-2/+2
| | | | | | | | Use $(GlibEtcInstallRoot) when invoking glib-compile-schemas, as CopyDir is not GlibInstallRoot for GTK+ (due to quoting issues), meaning that the glib-compile-schemas tool may not be found in certain cases. Issue pointed out by Ignacio Casal Quinteiro.
* fixup3.18.1Matthias Clasen2015-10-031-1/+4
|
* build/Makefile-newvs.am: Update Comments for UsageChun-wei Fan2015-09-251-2/+6
| | | | | | | | Update the notes that this is also used for Visual Studio 2015 support, and correct the MSVC_VER_LONG for MSVC 2015, which is 14, not 2015. Also add a note that this can be used for other projects that have Visual Studio build support.
* Build: Make Makefile.msvcproj A Bit More GenericChun-wei Fan2015-09-251-7/+3
| | | | | Handle also the situation where $(srcdir) == $(top_srcdir), so that this can also be used in cases like librsvg and gobject-introspection.
* build/win32: Fix 'make -jN dist'Chun-wei Fan2015-09-232-24/+20
| | | | | | | | The recent changes to build/win32/vs9|10/Makefile.am fixed 'make distclean' but broke 'make -jN dist', so fix that by listing the *.headers and using that list as a dependency and to remove those files in one single command right after we generate the gtk-install.vsprops template, so that we don't have to worry about them in 'make distclean'.
* Fix distcleanMatthias Clasen2015-09-212-3/+13
|
* MSVC Builds: Update Project GUIDsChun-wei Fan2015-09-2126-454/+454
| | | | | | | | This updates the Visual Studio Project GUIDs so that they don't repeat with the GTK+-2.24.x ones, as the 3.x projects can be used with the 2.24.x in a all-in-one solution file (such as when one wants to use a complete GTK+2 and GTK+3 stack when porting Windows applications from GTK+2 to GTK+3), and each project in a solution file is expected to have an unique GUID.
* MSVC Builds: Make Re-use Comment in Autotools Module ClearerChun-wei Fan2015-09-171-5/+6
|
* MSVC Builds: "Add" Visual Studio 2015 ProjectsChun-wei Fan2015-09-155-16/+60
| | | | | | "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: Remove Old MSVC Project-Related FilesChun-wei Fan2015-09-1531-3788/+0
| | | | Since we have the new files, remove the old ones.
* MSVC Builds: Massive Rename of ProjectsChun-wei Fan2015-09-1547-162/+3954
| | | | | | | | | | | | We need to rename the projects so that when these projects are added into an all-in-one solution file that will build the GTK+ 2/3 stack, the names of the projects will not collide with the GTK+-2.x ones, especially as GTK+-2.x and GTK+-3.x are done to co-exist on the same system. This is due to the case that the MSVC projects are directly carried over from the GTK+-2.x ones and was then updated for 3.x. We still need to update the GUIDs of the projects, so that they won't conflict with the GTK+-2.x ones.
* MSVC Builds: Remove the Old Static ProjectsChun-wei Fan2015-09-1523-3705/+0
| | | | | | | Remove the static projects that were supereceded by the templates, which are used to generate the complete projects during 'make dist'. https://bugzilla.gnome.org/show_bug.cgi?id=681965
* Revert "MSVC Builds: Remove Old MSVC Project-Related Files"Chun-wei Fan2015-09-1531-0/+3788
| | | | | | | Sorry, pushed the patch in the wrong order, should be done with the renaming of the projects. This reverts commit d963bd1d325b2b9f46e0cbaca4b41701ae5c93be.
* MSVC Builds: Remove Old MSVC Project-Related FilesChun-wei Fan2015-09-1531-3788/+0
| | | | Since we have the new files, remove the old ones.
* build: Clean Up Visual Studio Project GenerationChun-wei Fan2015-09-1531-58/+2810
| | | | | | | | | | | | | | | | | | | | | | | | Use the common automake module from the previous commit in the Makefile.am's, which means that the Makefile.am's in gdk/ and gtk/ can be cleaned up as a result. As a side effect, the property sheet that is used to "install" the build results and headers can now be generated in terms of the listing of headers to copy during 'make dist', where we can acquire most of the list of headers to "install", so that we can largely avoid the situation where the property sheet files are not updated in time for this, causing missing headers when this build of GTK+ is being used. Also use the Visual Studio Project file generation for the following projects: gtk3-demo gtk3-demo-application gtk3-icon-browser gdk-win32 gdk-broadway gail-util So that the maintenace of these project files can be simplified as well. https://bugzilla.gnome.org/show_bug.cgi?id=681965
* build: Add Common Autotools Module for MSVC ProjectsChun-wei Fan2015-09-151-0/+110
| | | | | | | | | | This adds a common autotools module that can be used by various projects to generate the Visual Studio projects as needed, and if necessary, generate the headers listings to "install" for that project, based on items passed in to this. This is modeled on the Makefile.introspection autotools file that is used by many GNOME projects to generate the introspection files. https://bugzilla.gnome.org/show_bug.cgi?id=681965
* MSVC Introspection Builds: Remove GCC RequirementChun-wei Fan2015-08-172-25/+5
| | | | | | | | | | | | Sorry, the last commit added a generated file instead of the template. G-I has been updated to not require a Windows GCC installation anymore to generate the .gir files, so update the NMake Makefiles that are used for this purpose. As a result, it is no longer necessary to define time_t for the .gir generation as we are on the same compiler throughout the process.
* Revert "MSVC Introspection Builds: Remove GCC Requirement"Chun-wei Fan2015-08-172-102/+15
| | | | This reverts commit aea7809f55ac520b9d2d5d9c1eea1345fabbd7a7.
* MSVC Introspection Builds: Remove GCC RequirementChun-wei Fan2015-08-172-15/+102
| | | | | | | | | G-I has been updated to not require a Windows GCC installation anymore to generate the .gir files, so update the NMake Makefiles that are used for this purpose. As a result, it is no longer necessary to define time_t for the .gir generation as we are on the same compiler throughout the process.
* MSVC Builds: Fix Introspection BuildChun-wei Fan2015-07-241-3/+16
| | | | | | The deprecated and a11y sources of GTK+ were spun off some time ago into their own Makefile.inc, which is then included by gtk/Makefile.am. Fix the generation of file sources for the GTK+ .gir.
* gtk-demo: Don't Distribute demos.hChun-wei Fan2015-06-194-0/+92
| | | | | | | | | Since demos.h is now generated according to the platform for which GTK+ is built, don't distribute it. Generate a Windows-specific demos.h.win32 and distribute that instead, in which the Visual Studio build files will copy it to demos.h, so that the build will proceed normally. https://bugzilla.gnome.org/show_bug.cgi?id=749622
* build: Fix make distRico Tzschichholz2015-06-022-2/+2
| | | | Revert 2 hunks introduced by 36c65c1acabfd8fb1b5b85d7b128bfd4361b6fc3
* Fix GDK MSVC ProjectsChun-wei Fan2015-05-292-10/+10
| | | | | We need to link to dwmapi.lib for all configs, not just the Broadway ones, so fix the build.
* gtk3-demo: Fix Visual Studio BuildsChun-wei Fan2015-05-203-0/+3
| | | | | Add the new cursors demo to the projects, so that gtk-demo will properly build.
* Makefile-newvs: some .vcxproj.filters files are in builddir, some in srcdirSimon McVittie2015-04-291-5/+15
| | | | | | | | | | | | | | Without this change, out-of-tree distcheck doesn't get very far. Similarly, allow *.vcxproj, *.props to be in either the builddir or the srcdir. Finally, since I'm touching these lines anyway, eliminate some useless uses of cat: "cat x | sed 's/foo/bar/' > y" is equivalent to "sed 's/foo/bar/' < x > y". Bug: https://bugzilla.gnome.org/show_bug.cgi?id=748176 Reviewed-by: Chun-wei Fan <fanchunwei@src.gnome.org>
* build/Makfile-newvs.am: Use Pattern RulesChun-wei Fan2015-04-171-22/+12
| | | | | | 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'.
* gdk-win32: Really Implement GdkScreen->is_composited()Chun-wei Fan2015-04-172-8/+8
| | | | | | | | | | | | | | | | | The current GdkScreen->is_composited() is a stub as we were having Windows XP being supported, which does not support Desktop Window Manager (DWM), which is used by Windows for composition. Windows Vista and later support DWM, and it is always enabled on Windows 8/ Server 2012 and later. Please note that as we are dropping XP support in this cycle, this is the commit that would say goodbye to Windows XP support for GTK+-3.x, by linking directly to dwmapi.dll. This means, we only check whether we are on Windows 8 or Server 2012 (or later) to see whether we unconditionally have composition enabled. https://bugzilla.gnome.org/show_bug.cgi?id=741849
* Visual Studio Builds: Fix Header "Installation"Chun-wei Fan2015-04-102-2/+2
| | | | | gtksidebar.h was renamed as gtkstacksidebar.h, so fix that in the header "installation".
* MSVC Builds: "Install" .pdb FilesChun-wei Fan2015-03-062-30/+110
| | | | | | | | | | | | "Install" the .pdb files that were generated along with the build, to make it easier for people to develop and debug GTK+, especially when used as a stack, and as the .pdb files are already generated with all builds. Also make the copy of the .dll, .lib and .exe files more selective so that we do not accidently copy files that are not meant to be "installed", or end up making extra copies of plugin DLLs in the wrong places, when the projects here are included as a part of a grand solution that is used to build the entire GTK+ stack, for example.
* MSVC 2010+ Builds: Fix .pdb GenerationChun-wei Fan2015-03-063-0/+16
| | | | | | | For Visual Studio 2010 and later, the .pdb filename needs to be explicitly specified so that it will match the filename of the target, if the project name differs from the filename of the target. Make sure that is the case for the 3 DLLs that we build for Visual Studio 2010 and later.
* MSVC 2008 Builds: Speed Up Release BuildsChun-wei Fan2015-03-031-0/+1
| | | | | | | | | Use the /MP compiler option, where the build time for release builds can be cut down by quite a bit. This will however cause a brief warning with debug builds due to the use of /Gm, but the code will otherwise build normally. Unlike the Visual Studio 2010+ builds, we can't use /d2Zi+ as Visual Studio 2008 does not support that, so we can't get a better debugging experience for release builds here.
* Fix "MSVC Builds: Update icon-browser Projects"Chun-wei Fan2015-03-031-1/+1
| | | | The Visual Studio 2008 Project was not updated correctly, so fix that.
* MSVC Builds: Update icon-browser ProjectsChun-wei Fan2015-03-033-0/+3
| | | | There is a new source file that needs to be built, so fix the projects...
* MSVC Builds: Improve Build Speed and DebuggingChun-wei Fan2015-03-031-0/+2
| | | | | | | | 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.
* MSVC Builds: Rename "install" ProjectsChun-wei Fan2015-02-048-44/+44
| | | | | | | Rename the "install" projects as "gtk-install" as we are planning to have a grand solution file that incorporates all project files of the GTK+ stack with their dependencies, to make it easier for people to build GTK+ from scratch from a stock installation of Visual Studio 2008 and later.
* MSVC Builds: "Install" autocleanup headersChun-wei Fan2015-02-042-0/+8
| | | | | These are public headers that are needed in the package, although the macros are essentially no-ops for Visual Studio builds currently.
* docs: Fix some old live.gnome.org URLsDavid King2015-01-092-2/+2
|
* Visual Studio Builds: Update Header "Installation"Chun-wei Fan2014-12-182-2/+6
| | | | | The list of headers became a bit out-of-date as development went on, so make it up-to-date.
* MSVC Builds: Build and "Install" GDK-Win32 GL ItemsChun-wei Fan2014-12-175-0/+5
| | | | | | Since the support for GL support in the GDK Windows backend has landed in master, we need to build it in the Visual Studio builds. Update the projects for that and "install" the public header that was added.
* Visual Studio Build: Update GTK DLL Build FlagsChun-wei Fan2014-12-022-2/+2
| | | | | | | As the print preview command is moved into the sources, don't define it in the preprocessor definitions. However, define the GTK_PRINT_BACKEND_ENABLE_UNSUPPORTED in the preprocessor definitions, to make the build in-line with the autotools builds.
* MSVC Builds: Finish Removal of the gtk-inspector ProjectsChun-wei Fan2014-12-013-44/+0
| | | | | | | | The files for build of GtkInspector have been intergrated into the build of the main GTK+ DLL, and the Visual Studio project templates for those have been removed as well. Make that removal complete by removing from the solution files references to it and make the 'gtk' project not to depend on the gtk-inspector project.
* Drop vs build stuff for inspectorMatthias Clasen2014-11-307-291/+0
| | | | | Now that the inspector sources are built as part of gtk/, this should no longer be needed.
* Visual Studio Builds: Fix gdkconfig.h GenerationChun-wei Fan2014-11-202-4/+4
| | | | | | ...for Broadway builds, as it was producing a wrongly-named check file for that configuration, so that a clean would not be correctly performed and subsequently affected rebuilds.
* Visual Studio Builds: Update "Installation"Chun-wei Fan2014-10-242-0/+8
| | | | | Add the newly-added public headers for GDK and GTK into the list of files to "install".
* Visual Studio Builds: Update the gtk3-demo ProjectsChun-wei Fan2014-10-243-0/+6
| | | | | | The gtkglarea and sidebar demos have been added, so build them in the projects. Note that the gtkglarea code is not usable under Windows at this point as implementation is needed for the GDK-Win32 backend.
* Visual Studio Builds: Link to libepoxyChun-wei Fan2014-10-242-2/+2
| | | | | | | Patches have been submitted to the libepoxy project so that it can be built under Visual Studio. This will allow the GDK, GTK and gtk3-demo projects to build, but the gtkglarea code is not usable at this time as implementation needs to be added to the GDK-Win32 backend for it.
* Fix Up Visual Studio Property SheetsChun-wei Fan2014-10-243-3/+5
| | | | | | | "Install" gdkbroadwaydisplay.h, as it is a public header of GDK Broadway, also fix the MSVC 2010+ gtk-copy-gdk-broadway.props property sheet as a '>' is missing. Sorry for not noting these issues earlier, as MSVC Broadway builds were recently restored. My bad :|