From 807a16f1375ece564426709e6f7033beb83f2389 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 14 Aug 2012 16:05:44 +0800 Subject: Add Visual Studio projects These are the Visual C++ 2008/2010 project files that can be used to build gobject-introspection. The main girepository dll (along with cmph), tools (in C), certain test/sample programs dlls are built with this project file set. Due to a bug in the Visual C++ 2008 linker, the g-ir-compiler and g-ir-generator tools have the libgirepository-internals sources built along side with the sources of these respective tool programs. In order to ease future maintenance, the cmph, girepository, g-ir-compiler and property sheets (for the "install" part) are done as templates where header/source listings are filled in during "make dist", so that the headers/sources listings are kept up to date between releases. The GLib and girepository .gir and .typelib files are also generated and "compiled" as part of the build process, using gengir.bat that was committed earlier. https://bugzilla.gnome.org/show_bug.cgi?id=681820 --- build/win32/vs10/testinherit.vcxproj | 171 +++++++++++++++++++++++++++++++++++ 1 file changed, 171 insertions(+) create mode 100644 build/win32/vs10/testinherit.vcxproj (limited to 'build/win32/vs10/testinherit.vcxproj') diff --git a/build/win32/vs10/testinherit.vcxproj b/build/win32/vs10/testinherit.vcxproj new file mode 100644 index 00000000..9006818e --- /dev/null +++ b/build/win32/vs10/testinherit.vcxproj @@ -0,0 +1,171 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {3F2C9F08-7FB7-4465-BF24-84E083EC4913} + testinherit + Win32Proj + + + + DynamicLibrary + MultiByte + true + + + DynamicLibrary + MultiByte + + + DynamicLibrary + MultiByte + true + + + DynamicLibrary + MultiByte + + + + + + + + + + + + + + + + + + + + + + + true + false + true + false + + + + Disabled + _DEBUG;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + + + $(OutDir)$(LibGIDllPrefix)$(ProjectName)$(LibGIDllSuffix).dll + ..\$(ProjectName).def + true + Windows + $(TargetDir)$(ProjectName)-$(GIApiVersion).lib + MachineX86 + + + + + MaxSpeed + true + %(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + + + $(OutDir)$(LibGIDllPrefix)$(ProjectName)$(LibGIDllSuffix).dll + ..\$(ProjectName).def + true + Windows + true + true + $(TargetDir)$(ProjectName)-$(GIApiVersion).lib + MachineX86 + + + + + X64 + + + Disabled + _DEBUG;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + ProgramDatabase + + + $(OutDir)$(LibGIDllPrefix)$(ProjectName)$(LibGIDllSuffix).dll + ..\$(ProjectName).def + true + Windows + $(TargetDir)$(ProjectName)-$(GIApiVersion).lib + MachineX64 + + + + + X64 + + + MaxSpeed + true + %(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + + + $(OutDir)$(LibGIDllPrefix)$(ProjectName)$(LibGIDllSuffix).dll + ..\$(ProjectName).def + true + Windows + true + true + $(TargetDir)$(ProjectName)-$(GIApiVersion).lib + MachineX64 + + + + + + + + + \ No newline at end of file -- cgit v1.2.1 From 7e8521749da8de8a612981ce65415bd6b7907b4c Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Mon, 21 Jan 2013 10:53:42 +0800 Subject: Visual C++ 2010 projects: Prepare for VS 2012 support Add the PlatformToolset tag to the project configs so that we can use a simple script later to the autotools files to copy the projects and change the value of that tag (v100 -> v110, and other simple changes) in order that we can quickly provide and maintain support for Visual Studio 2012 with minimal effort. Note that at the moment G-I does not yet support the API/SDK requirements for Windows 8 Modern UI (formerly known as Metro), but this paves the very initial step. --- build/win32/vs10/testinherit.vcxproj | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build/win32/vs10/testinherit.vcxproj') diff --git a/build/win32/vs10/testinherit.vcxproj b/build/win32/vs10/testinherit.vcxproj index 9006818e..65c914b8 100644 --- a/build/win32/vs10/testinherit.vcxproj +++ b/build/win32/vs10/testinherit.vcxproj @@ -28,19 +28,23 @@ DynamicLibrary MultiByte true + v100 DynamicLibrary MultiByte + v100 DynamicLibrary MultiByte true + v100 DynamicLibrary MultiByte + v100 -- cgit v1.2.1 From 39703440cfd4e7949708266270e447b7b22c9347 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Mon, 20 Jan 2014 16:30:22 +0800 Subject: 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. --- build/win32/vs10/testinherit.vcxproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'build/win32/vs10/testinherit.vcxproj') diff --git a/build/win32/vs10/testinherit.vcxproj b/build/win32/vs10/testinherit.vcxproj index 65c914b8..5eab228e 100644 --- a/build/win32/vs10/testinherit.vcxproj +++ b/build/win32/vs10/testinherit.vcxproj @@ -89,7 +89,7 @@ ..\$(ProjectName).def true Windows - $(TargetDir)$(ProjectName)-$(GIApiVersion).lib + $(TargetDir)$(ProjectName)-$(ApiVersion).lib MachineX86 @@ -112,7 +112,7 @@ Windows true true - $(TargetDir)$(ProjectName)-$(GIApiVersion).lib + $(TargetDir)$(ProjectName)-$(ApiVersion).lib MachineX86 @@ -136,7 +136,7 @@ ..\$(ProjectName).def true Windows - $(TargetDir)$(ProjectName)-$(GIApiVersion).lib + $(TargetDir)$(ProjectName)-$(ApiVersion).lib MachineX64 @@ -162,7 +162,7 @@ Windows true true - $(TargetDir)$(ProjectName)-$(GIApiVersion).lib + $(TargetDir)$(ProjectName)-$(ApiVersion).lib MachineX64 -- cgit v1.2.1 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/testinherit.vcxproj | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'build/win32/vs10/testinherit.vcxproj') diff --git a/build/win32/vs10/testinherit.vcxproj b/build/win32/vs10/testinherit.vcxproj index 5eab228e..1464d7ba 100644 --- a/build/win32/vs10/testinherit.vcxproj +++ b/build/win32/vs10/testinherit.vcxproj @@ -51,19 +51,19 @@ - + - + - + - + @@ -169,6 +169,12 @@ + + + {2093d218-190e-4194-9421-3ba7cbf33b11} + false + + -- cgit v1.2.1