summaryrefslogtreecommitdiff
path: root/build/win32/vs9/gi-prebuild.vcproj
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2014-01-20 16:30:22 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2014-01-20 16:30:22 +0800
commit39703440cfd4e7949708266270e447b7b22c9347 (patch)
treecfa236428be0cf0467ea9684fb19555339043c88 /build/win32/vs9/gi-prebuild.vcproj
parent9c2a45a635d9cd6ac752245be4af6d3f00212349 (diff)
downloadgobject-introspection-39703440cfd4e7949708266270e447b7b22c9347.tar.gz
Rework The Visual Studio 2008 Build Process
This patch makes the build of G-I on Visual Studio 2008 into a two-step process, as it would make it clearer and easier to the one building G-I by: -Splitting up the property sheets into multiple parts, where pre-configured code (which is currently shipped with the tarball) is copied using custom build steps, so that they can be re-copied when they are updated. This also removes the need for setting environment variables before launching the Visual Studio Project to build the G-I DLL, the tools written in C and the _giscanner Python2 module. The Python2 paths (set to Python 2.7.x) are now set in a property sheet, which can be updated quite easily, if needed. -Use a set of NMake Makefiles to build the introspection files for GLib, and also the .gir's that are shipped with G-I, and make it clear to people what things are needed to build the introspection files. -Standardizing across the board that we now use $(ApiVersion) for the .lib files and the "installation" of headers, etc. Similar updates to the Visual Studio 2010 files will follow later.
Diffstat (limited to 'build/win32/vs9/gi-prebuild.vcproj')
-rw-r--r--build/win32/vs9/gi-prebuild.vcproj201
1 files changed, 201 insertions, 0 deletions
diff --git a/build/win32/vs9/gi-prebuild.vcproj b/build/win32/vs9/gi-prebuild.vcproj
new file mode 100644
index 00000000..8f911ef9
--- /dev/null
+++ b/build/win32/vs9/gi-prebuild.vcproj
@@ -0,0 +1,201 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="gi-prebuild"
+ ProjectGUID="{2093D218-190E-4194-9421-3BA7CBF33B11}"
+ RootNamespace="giprebuild"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="131072"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ <Platform
+ Name="x64"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ InheritedPropertySheets=".\gi-gen-srcs.vsprops"
+ ConfigurationType="10"
+ CharacterSet="2"
+ DeleteExtensionsOnClean=""
+ >
+ </Configuration>
+ <Configuration
+ Name="Debug|x64"
+ InheritedPropertySheets=".\gi-gen-srcs.vsprops"
+ ConfigurationType="10"
+ CharacterSet="2"
+ DeleteExtensionsOnClean=""
+ >
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ InheritedPropertySheets=".\gi-gen-srcs.vsprops"
+ ConfigurationType="10"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ DeleteExtensionsOnClean=""
+ >
+ </Configuration>
+ <Configuration
+ Name="Release|x64"
+ InheritedPropertySheets=".\gi-gen-srcs.vsprops"
+ ConfigurationType="10"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ DeleteExtensionsOnClean=""
+ >
+ </Configuration>
+ </Configurations>
+ <Files>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ <File RelativePath="..\..\..\config.h.win32">
+ <FileConfiguration Name="Debug|Win32">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying config.h from config.h.win32..."
+ CommandLine="$(CopyConfigH)"
+ Outputs="..\..\..\config.h"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Release|Win32">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying config.h from config.h.win32..."
+ CommandLine="$(CopyConfigH)"
+ Outputs="..\..\..\config.h"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Debug|x64">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying config.h from config.h.win32..."
+ CommandLine="$(CopyConfigH)"
+ Outputs="..\..\..\config.h"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Release|x64">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying config.h from config.h.win32..."
+ CommandLine="$(CopyConfigH)"
+ Outputs="..\..\..\config.h"
+ />
+ </FileConfiguration>
+ </File>
+ <File RelativePath="..\..\..\tools\g-ir-scanner.in">
+ <FileConfiguration Name="Debug|Win32">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying g-ir-scanner from g-ir-scanner.in..."
+ CommandLine="$(CopyGIRScanner)"
+ Outputs="..\..\..\tools\g-ir-scanner"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Release|Win32">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying g-ir-scanner from g-ir-scanner.in..."
+ CommandLine="$(CopyGIRScanner)"
+ Outputs="..\..\..\tools\g-ir-scanner"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Debug|x64">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying g-ir-scanner from g-ir-scanner.in..."
+ CommandLine="$(CopyGIRScanner)"
+ Outputs="..\..\..\tools\g-ir-scanner"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Release|x64">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying g-ir-scanner from g-ir-scanner.in..."
+ CommandLine="$(CopyGIRScanner)"
+ Outputs="..\..\..\tools\g-ir-scanner"
+ />
+ </FileConfiguration>
+ </File>
+ <File RelativePath="..\..\..\tools\g-ir-doc-tool.in">
+ <FileConfiguration Name="Debug|Win32">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying g-ir-doc-tool from g-ir-doc-tool.in..."
+ CommandLine="$(CopyGIRDocTool)"
+ Outputs="..\..\..\tools\g-ir-doc-tool"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Release|Win32">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying g-ir-doc-tool from g-ir-doc-tool.in..."
+ CommandLine="$(CopyGIRDocTool)"
+ Outputs="..\..\..\tools\g-ir-doc-tool"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Debug|x64">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying g-ir-doc-tool from g-ir-doc-tool.in..."
+ CommandLine="$(CopyGIRDocTool)"
+ Outputs="..\..\..\tools\g-ir-doc-tool"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Release|x64">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying g-ir-doc-tool from g-ir-doc-tool.in..."
+ CommandLine="$(CopyGIRDocTool)"
+ Outputs="..\..\..\tools\g-ir-doc-tool"
+ />
+ </FileConfiguration>
+ </File>
+ <File RelativePath="..\..\..\tools\g-ir-annotation-tool.in">
+ <FileConfiguration Name="Debug|Win32">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying g-ir-annotation-tool from g-ir-annotation-tool.in..."
+ CommandLine="$(CopyGIRAnnotationTool)"
+ Outputs="..\..\..\tools\g-ir-annotation-tool"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Release|Win32">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying g-ir-annotation-tool from g-ir-annotation-tool.in..."
+ CommandLine="$(CopyGIRAnnotationTool)"
+ Outputs="..\..\..\tools\g-ir-annotation-tool"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Debug|x64">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying g-ir-annotation-tool from g-ir-annotation-tool.in..."
+ CommandLine="$(CopyGIRAnnotationTool)"
+ Outputs="..\..\..\tools\g-ir-annotation-tool"
+ />
+ </FileConfiguration>
+ <FileConfiguration Name="Release|x64">
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Copying g-ir-annotation-tool from g-ir-annotation-tool.in..."
+ CommandLine="$(CopyGIRAnnotationTool)"
+ Outputs="..\..\..\tools\g-ir-annotation-tool"
+ />
+ </FileConfiguration>
+ </File>
+ </Filter>
+ </Files>
+</VisualStudioProject>