From a24c80dbc8632ce7c38f32f991c9998381c5de54 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 21 Jan 2014 15:26:50 +0800 Subject: Rework The Visual Studio 2010 Build Process This patch makes the build of G-I on Visual Studio 2010 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. -Directing people to use the set of NMake Makefiles to build the introspection files for GLib, and also the .gir's that are shipped with G-I, which was added in a previous commit, as it would make it clearer what are needed to build the introspection files. --- build/win32/vs10/gi-prebuild.vcxproj | 146 +++++++++++++++++++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100644 build/win32/vs10/gi-prebuild.vcxproj (limited to 'build/win32/vs10/gi-prebuild.vcxproj') diff --git a/build/win32/vs10/gi-prebuild.vcxproj b/build/win32/vs10/gi-prebuild.vcxproj new file mode 100644 index 00000000..feab0292 --- /dev/null +++ b/build/win32/vs10/gi-prebuild.vcxproj @@ -0,0 +1,146 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {2093D218-190E-4194-9421-3BA7CBF33B11} + giprebuild + Win32Proj + + + + Utility + MultiByte + true + v100 + + + Utility + MultiByte + v100 + + + Utility + MultiByte + true + v100 + + + Utility + MultiByte + v100 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Copying config.h from config.h.win32... + $(CopyConfigH) + ..\..\..\config.h;%(Outputs) + Copying config.h from config.h.win32... + $(CopyConfigH) + ..\..\..\config.h;%(Outputs) + Copying config.h from config.h.win32... + $(CopyConfigH) + ..\..\..\config.h;%(Outputs) + Copying config.h from config.h.win32... + $(CopyConfigH) + ..\..\..\config.h;%(Outputs) + + + Copying g-ir-scanner from g-ir-scanner.in... + $(CopyGIRScanner) + ..\..\..\tools\g-ir-scanner;%(Outputs) + Copying g-ir-scanner from g-ir-scanner.in... + $(CopyGIRScanner) + ..\..\..\tools\g-ir-scanner;%(Outputs) + Copying g-ir-scanner from g-ir-scanner.in... + $(CopyGIRScanner) + ..\..\..\tools\g-ir-scanner;%(Outputs) + Copying g-ir-scanner from g-ir-scanner.in... + $(CopyGIRScanner) + ..\..\..\tools\g-ir-scanner;%(Outputs) + + + Copying g-ir-doc-tool from g-ir-doc-tool.in... + $(CopyGIRDocTool) + ..\..\..\tools\g-ir-doc-tool;%(Outputs) + Copying g-ir-doc-tool from g-ir-doc-tool.in... + $(CopyGIRDocTool) + ..\..\..\tools\g-ir-doc-tool;%(Outputs) + Copying g-ir-doc-tool from g-ir-doc-tool.in... + $(CopyGIRDocTool) + ..\..\..\tools\g-ir-doc-tool;%(Outputs) + Copying g-ir-doc-tool from g-ir-doc-tool.in... + $(CopyGIRDocTool) + ..\..\..\tools\g-ir-doc-tool;%(Outputs) + + + Copying g-ir-annotation-tool from g-ir-annotation-tool.in... + $(CopyGIRAnnotationTool) + ..\..\..\tools\g-ir-annotation-tool;%(Outputs) + Copying g-ir-annotation-tool from g-ir-annotation-tool.in... + $(CopyGIRAnnotationTool) + ..\..\..\tools\g-ir-annotation-tool;%(Outputs) + Copying g-ir-annotation-tool from g-ir-annotation-tool.in... + $(CopyGIRAnnotationTool) + ..\..\..\tools\g-ir-annotation-tool;%(Outputs) + Copying g-ir-annotation-tool from g-ir-annotation-tool.in... + $(CopyGIRAnnotationTool) + ..\..\..\tools\g-ir-annotation-tool;%(Outputs) + + + + + + + + \ No newline at end of file -- cgit v1.2.1