summaryrefslogtreecommitdiff
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* MSVC Builds: Update Introspection Build ProcessChun-wei Fan2014-02-251-10/+4
| | | | | | | | | | GObject-Introspection was recently changed to support acquiring the name of the DLL from a library (.lib, etc) that was passed into g-ir-scanner on Windows, like the *nix builds, instead of directly passing in the name of the DLL. This updates the introspection build process, so that introspection files for GTK+ can continue to be properly built.
* Make Visual Studio Build Process A Bit SimplerChun-wei Fan2014-02-216-4/+24
| | | | | | | | | Add some flexibility in the property sheets for one building GTK+ that it also searches for a settable installation path of Python, in addition to searching the PATH for an installation of the Python interpretor. This currently defaults to Python 2.7.x, which is normally installed in c:\python27 on Windows by default. Also tell people in the README.txt's for the Visual Studio builds
* MSVC Builds: "Install" gtk3-demo.pngChun-wei Fan2014-01-242-0/+48
| | | | | | This is needed to show the gtk3-demo icon and is needed for the "Multiple Views" demo to work. Hmm, why couldn't I do a for loop for a batch in a property sheet ? :|
* Update Visual Studio Build FilesChun-wei Fan2014-01-245-16/+22
| | | | | -"Install" the newly-added public gtkpopover.h -Make the gtk3-demo projects up-to-date
* build/: Rename a Shared MSVC NMake MakefileChun-wei Fan2014-01-133-9/+2
| | | | | | Rename testsrules_msvc.mak to detectenv_msvc.mak and remove some package- specific stuff from it, to reflect on the nature that this NMake Makefile is shared.
* MSVC Builds: Rework Introspection BuildChun-wei Fan2014-01-1317-595/+588
| | | | | | | | | | | | | | | | | | | 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.
* Update gtk-install.*propsChun-wei Fan2014-01-132-230/+215
| | | | | | Make sure the needed public headers for GTK master is "installed", and re- order some items so that it is easier when the headers lists are automatically acquired from the various Makefile.am's.
* build/win32/vs9/Makefile: Fix typoChun-wei Fan2014-01-131-1/+1
|
* Rework the Visual Studio 2010 Projects a bitChun-wei Fan2013-12-3019-510/+475
| | | | | | | | | | | | Add a utility project to get config.h and gdkconfig.h from their *.h.win32 (or win32_broadway, if applicable) counterparts, using custom build rules, so that these "generated" files can also be removed on clean and "regenerated" upon update. This also enables the removal of configs in certain projects that isn't really needed as a result. Also update and merge the projects and property sheets to include a single property sheet that it needs, which will then in turn include the other property sheets that is needed, so that things are cleaner.
* Rework the Visual Studio 2008 Projects a bitChun-wei Fan2013-12-3019-382/+442
| | | | | | | | | | | | | | Add a utility project to get config.h and gdkconfig.h from their *.h.win32 (or win32_broadway, if applicable) counterparts, using custom build rules, so that these "generated" files can also be removed on clean and "regenerated" upon update. This also enables the removal of configs in certain projects that isn't really needed as a result. Also update and merge the projects and property sheets to include a single property sheet that it needs, which will then in turn include the other property sheets that is needed, so that things are cleaner. Updates to the Visual Studio 2010 projects will follow later.
* Update the gtk3-demo Visual C++ ProjectsChun-wei Fan2013-12-263-0/+6
| | | | | Add the sources of the headerbar and event_axes demos to the list of files to build.
* MSVC Projects: Use UNIX Line endingsChun-wei Fan2013-12-0439-4556/+4556
| | | | | | ...for all files except the README.txt and the .sln files, which have to have DOS/Windows line endings. This makes application of patches, when applicable, easier.
* build/win32/vs*/README.txt: Re-word a bitChun-wei Fan2013-11-292-2/+2
| | | | Use PATH rather than path to make things clearer
* Visual C++ Projects: Add rules to generate GTK DBus sourcesChun-wei Fan2013-11-2711-14/+111
| | | | | | | | | | | | | | Since commit 7c2a5072 the gtkdbusgenerated.[c|h] are not included in the dist tarball and thus have to be generated, which broke the Visual C++ builds. This patch adds property sheets and custom build rules for the Visual C++ projects so that gtkdbusgenerated.[c|h] will be generated upon building the GTK+ DLL sources. This also tells people building GTK+ from the projects that they need to have Python 2/3 installed and the Python interpretor needs to be in their PATH before building GTK+ from the projects.
* Update GDK-Broadway MSVC ProjectsChun-wei Fan2013-11-273-4/+12
| | | | | | | -Improve optimization a bit for broadwayd, by enabling link time code generation -Add PlatformToolset tag for the Visual C++ 2010 projects, to ease transition to Visual C++ 2012/2013
* Update Visual Studio Property SheetsChun-wei Fan2013-10-072-0/+9
| | | | "Install" the GtkFlowBox headers
* Visual Studio 2010 Property Sheets: CosmeticsChun-wei Fan2013-10-076-291/+101
| | | | | Make each file entry of non-autotools-completed .vcxproj.filters to be on one line only, for consistency reasons.
* Update gtk3-demo Visual Studio ProjectsChun-wei Fan2013-10-073-0/+5
| | | | | Build the recently-introduced flowbox.c demo into the gtk3-demo demo program.
* gengir_gtk.bat: Correctly handle time_tChun-wei Fan2013-10-031-1/+4
| | | | | ...on x64 Windows/MSVC builds. This is because time_t is a long long on x64 arch on Windows.
* Update Demos Visual Studio ProjectsChun-wei Fan2013-09-264-16/+16
| | | | | | | Improve optimization, by re-enabling WholeProgramOptimization but changing the linker optimization to not drop items that are not referenced in code (such as compiled gresource sources that are not directly referenced in code, as they are still needed for the demos to run properly).
* MSVC Builds: "Install" gtklistboxrowaccessible.hChun-wei Fan2013-09-222-0/+3
| | | | ...which is an a11y header introduced in commit c22e27f9.
* MSVC Builds: Fix gengir ProjectsChun-wei Fan2013-09-102-1/+2
| | | | | | | | | Like the install projects that were fixed few days ago, the gengir projects did not have info on the intermediate and output directories as a result of the split up of the property sheets. Fix this by including the appropriate property sheet in the gtk-gengir property sheet so that we can avoid confusing messages from Visual Studio on whether to reload the gengir project as it was modified, at least on 2008.
* Visual C++ Builds: Fix "install" ProjectsChun-wei Fan2013-09-052-80/+16
| | | | | | | | | | | | 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. Also clean up the Visual Studio 2008 install project a bit. Include the property sheet which defines these properties to fix this.
* MSVC Builds: Fix Build of Introspection FilesChun-wei Fan2013-08-286-5/+85
| | | | | | | | | | | | We need to copy the GDK .lib/.dll from Release_Broadway\<Platform>\bin or Debug_Broadway\<Platform>\bin to Release\<Platform>\bin or Debug\<Platform>\bin respectively during the build of Broadway flavors of GDK, as the MSVC introspection builds expects the GDK .lib/.dll to be in Release\<Platform>\bin or Debug\<Platform>\bin. Use a new property sheet to do so for Broadway builds of GDK-during the builds of Win32-only GDK, the broadway builds of the GDK .lib/.dll would be cleared out prior to the build of the Win32-only GDK.
* Clean up Property Sheets a bitChun-wei Fan2013-08-151-2/+2
| | | | | ...from the last commit, as some unecessary stuff was left over in the Visual Studio 2010 property sheets.
* Update Visual Studio Property SheetsChun-wei Fan2013-08-154-12/+18
| | | | | | | | -For the binary "installation", look for the DLL files with their file names consistent with the ones that are generated with the respective Visual Studio projects. -Remove any stray GDK DLLs that were left over from a Broadway-enabled GDK when building a non-Broadway-enabled GTK+ binary set.
* MSVC Builds: Update "installation" of headersChun-wei Fan2013-08-142-0/+3
| | | | "Install" the newly-introduced public header gdkwin32misc.h.
* MSVC builds: Enhance Binary InstallationChun-wei Fan2013-08-022-12/+24
| | | | | | Update the gtk-install-bin property sheets so that it does not "install" the wrong GDK DLL/LIB when building a broadway-enabled GDK when the non-Broadway GDK had been previously built.
* build/win32/vs9/Makefile.am: Fix typoChun-wei Fan2013-08-021-1/+1
|
* Add Visual Studio 2010 Build Support for BroadwayChun-wei Fan2013-08-0225-888/+2055
| | | | | | | | | | | Add the Visual Studio 2010 projects to build the GDK Broadway backend, just like the Visual Studio 2008 project files in the last commit. Similarly, split up the property sheets so that they are easier to maintain and can be made more flexible for different build types. Also remove some unneeded stuff from some of these items. Also, fix the filter file completion for GTK, as a source file was excluded for that and this was overlooked as it seemingly did not cause any trouble.
* Add Visual Studio Build Support for BroadwayChun-wei Fan2013-08-0221-157/+1142
| | | | | | | | | -Add Visual Studio 2008 projects and pre-configured gdkconfig.h for Broadway builds -Decouple the Visual Studio property sheets, to simplify maintenance and enhance flexibility for different builds Visual Studio 2010 projects updates will follow later.
* Update the Visual Studio Property SheetsChun-wei Fan2013-07-292-0/+3
| | | | | "Install" the gtklistboxaccessible.h header file... it's a public header of gtk-a11y
* Update Visual Studio Property SheetsChun-wei Fan2013-07-292-30/+37
| | | | | "Install" the newly-deprecated headers accordingly and also "install" the newly-introduced public headers
* Update gtk3-demo Visual C++ ProjectsChun-wei Fan2013-07-193-15/+0
| | | | Remove the demos were removed due to deprecation of APIs
* Fix typo in Makefile.amAlexander Larsson2013-07-011-1/+1
|
* Include crypt(3) implementation for MSVCChun-wei Fan2013-07-014-0/+500
| | | | | | | | | | 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.
* Fix gtk3-demo MSVC ProjectChun-wei Fan2013-06-243-0/+5
| | | | Build the new listbox.c source file, as that file was missed.
* Update Visual Studio 2010 Property SheetsChun-wei Fan2013-05-311-2/+2
| | | | Remove quotes that aren't really needed
* build/win32/vs10/gdk.vcxprojin: Remove Stray LineChun-wei Fan2013-05-301-1/+0
| | | | | The last commit on this file accidently left a stray </ItemGroup>, which Visual Studio 2010 does not like. Get rid of that line.
* Update Visual Studio Build FilesChun-wei Fan2013-05-289-147/+32
| | | | | | | | | | | -Update the pre-configured config.h.win32(.in) to define _GDK_EXTERN as __declspec (dllexport) as we are not using .def files to export symbols anymore. -Update the GDK/GTK DLL projects and the property sheets to stop using the .symbols/.def files -Update the property sheets to "install" the newly-introduced GTK headers -Update the gtk3-demo project to build the new demo sources that must be built
* Update Visual Studio 2010 projectsChun-wei Fan2013-05-272-0/+8
| | | | | | | | | | Add a PlatformToolset tag for each configuration for project files that do not yet have them. This is to ease support for Visual Studio 2012 as we can copy and easily replace a few items with automated scripts as project files for Visual Studio 2010 and 2012 are very similar. This might change when we eventually support the Metro (aka Windows 8 Modern UI), but this will suffice for the time being.
* Fix Visual Studio property sheetsChun-wei Fan2013-03-262-2/+2
| | | | | The creation of the folder for the "installation" of a11y headers is wrong, so fix that.
* Update Visual Studio Proprerty SheetsChun-wei Fan2013-03-202-27/+0
| | | | | Stop installing the gtk3-demo data files as they are now built into the gtk3-demo program using GResources.
* Fix introspection building for Visual Studio buildsChun-wei Fan2013-03-201-0/+1
| | | | | | | | Apparently time_t is used in gtkrecentmanager.h, which is a special type that could not be recognized when Gtk-3.0.gir is built. Judging from the ast.py from the gobject-introspection package, we can define time_t as long, and this will allow pygobject to load the Gtk module from gi.repository.
* Fix Visual Studio Debug configsChun-wei Fan2013-03-188-8/+8
| | | | | The debug builds must link to the Debug version of the CRT, otherwise trouble will arise from mixing different CRTs into the resulting binary.
* Update Visual Studio Solution FilesChun-wei Fan2013-03-062-0/+16
| | | | | | | Integrate the utility projects to build the introspection files into the main solution files, so that one can build the introspection files from the IDE. This is not built by default, so one can build the introspection files if he/she chooses to do so.
* Visual Studio Builds: Support Building Introspection FilesChun-wei Fan2013-03-067-38/+545
| | | | | | | | | | | | | 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.
* Fix gtk3-demo Visual Studio projectsChun-wei Fan2013-02-274-18/+20
| | | | | | | | | | | Since we are linking in the resource items by the source, we need to disable WholeProgramOptimization so that the resource stuff does get linked into the demo binaries, so that they can be loaded properly. Also make sure that gtk3-demo-application is also built with the multibyte character set, like the rest. This should fix bug 694342, at least for Visual Studio builds.
* Re-organize Visual Studio property sheets a bitChun-wei Fan2013-02-228-703/+758
| | | | | | | -Use ApiVersion instead of GtkApiVersion for consistency's sake across the board -Add placeholder directives in the property sheets for building introspection files using .bat files directly from the Visual Studio IDE.
* Add Visual Studio project for gtk3-demo-applicationChun-wei Fan2013-02-228-0/+396
| | | | | | This is used by the "Application Class" demo... so this should be built as well especially as we are getting gspawn-win{32|64}-helper.exe fixed on Visual Studio 2005 (and later) builds.