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-gen-srcs.props | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 build/win32/vs10/gi-gen-srcs.props (limited to 'build/win32/vs10/gi-gen-srcs.props') diff --git a/build/win32/vs10/gi-gen-srcs.props b/build/win32/vs10/gi-gen-srcs.props new file mode 100644 index 00000000..0cda3d54 --- /dev/null +++ b/build/win32/vs10/gi-gen-srcs.props @@ -0,0 +1,36 @@ + + + + + + + copy ..\..\..\config.h.win32 ..\..\..\config.h + copy ..\..\..\tools\g-ir-scanner.in ..\..\..\tools\g-ir-scanner + copy ..\..\..\tools\g-ir-doc-tool.in ..\..\..\tools\g-ir-doc-tool + copy ..\..\..\tools\g-ir-annotation-tool.in ..\..\..\tools\g-ir-annotation-tool + +echo EXPORTS > $(DefDir)\girepository.def +cl -EP ..\..\..\girepository\girepository.symbols >> $(DefDir)\girepository.def + + + + <_PropertySheetDisplayName>gigensrcsprops + + + + $(CopyConfigH) + + + $(CopyGIRScanner) + + + $(CopyGIRDocTool) + + + $(CopyGIRAnnotationTool) + + + $(GenerateGIRDef) + + + -- cgit v1.2.1