[librsvg/librsvg-2.40] Visual Studio builds: Integrate introspection in projects
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.40] Visual Studio builds: Integrate introspection in projects
- Date: Sat, 9 Dec 2017 04:17:19 +0000 (UTC)
commit 87e387e684859f42d86c0b4a08d26652f599c7e5
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Sat Dec 9 12:13:12 2017 +0800
Visual Studio builds: Integrate introspection in projects
This integrates the introspection build process into the project files,
so that one is able to build the introspection files directly via the
Visual Studio projects.
Note that this is not built by default (and so not cleaned by default),
so one must explicitly select and build the rsvg-introspection project,
which will build the rest of the projects before building the
introspection files.
For this to work, a complete install of GObject-Introspection is
required, with the introspection files for GDK-Pixbuf must be found in
apprpriate locations under $(GlibEtcInstallRoot).
build/win32/vs10/Makefile.am | 1 +
build/win32/vs10/librsvg.sln | 6 ++
build/win32/vs10/rsvg-build-defines.props | 10 +++
build/win32/vs10/rsvg-introspect.vcxproj | 103 +++++++++++++++++++++++++
build/win32/vs10/rsvg-version-paths.props.in | 8 ++
build/win32/vs11/Makefile.am | 1 +
build/win32/vs12/Makefile.am | 1 +
build/win32/vs14/Makefile.am | 1 +
build/win32/vs15/Makefile.am | 1 +
build/win32/vs9/Makefile.am | 1 +
build/win32/vs9/librsvg.sln | 9 ++
build/win32/vs9/rsvg-build-defines.vsprops | 8 ++
build/win32/vs9/rsvg-introspect.vcproj | 76 ++++++++++++++++++
build/win32/vs9/rsvg-version-paths.vsprops.in | 8 ++
14 files changed, 234 insertions(+), 0 deletions(-)
---
diff --git a/build/win32/vs10/Makefile.am b/build/win32/vs10/Makefile.am
index 3a1c7b9..bc44ce7 100644
--- a/build/win32/vs10/Makefile.am
+++ b/build/win32/vs10/Makefile.am
@@ -20,6 +20,7 @@ EXTRA_DIST = \
rsvg-convert.vcxproj.filtersin \
rsvg-install.vcxproj \
rsvg-install.vcxproj.filters \
+ rsvg-introspect.vcxproj \
rsvg-view-3.vcxproj \
rsvg-view-3.vcxproj.filters \
README.txt \
diff --git a/build/win32/vs10/librsvg.sln b/build/win32/vs10/librsvg.sln
index b3c7374..7a227c1 100644
--- a/build/win32/vs10/librsvg.sln
+++ b/build/win32/vs10/librsvg.sln
@@ -11,6 +11,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libpixbufloader-svg", "libp
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rsvg-install", "rsvg-install.vcxproj",
"{C416ED91-E000-49D3-9617-CCC473E08EAE}"
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rsvg-introspect", "rsvg-introspect.vcxproj",
"{E827A7D5-EA7A-4239-91A3-5EC76A0E7249}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -59,6 +61,10 @@ Global
{C416ED91-E000-49D3-9617-CCC473E08EAE}.Release|Win32.Build.0 = Release|Win32
{C416ED91-E000-49D3-9617-CCC473E08EAE}.Release|x64.ActiveCfg = Release|x64
{C416ED91-E000-49D3-9617-CCC473E08EAE}.Release|x64.Build.0 = Release|x64
+ {E827A7D5-EA7A-4239-91A3-5EC76A0E7249}.Debug|Win32.ActiveCfg = Debug|Win32
+ {E827A7D5-EA7A-4239-91A3-5EC76A0E7249}.Release|Win32.ActiveCfg = Release|Win32
+ {E827A7D5-EA7A-4239-91A3-5EC76A0E7249}.Debug|x64.ActiveCfg = Debug|x64
+ {E827A7D5-EA7A-4239-91A3-5EC76A0E7249}.Release|x64.ActiveCfg = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/build/win32/vs10/rsvg-build-defines.props b/build/win32/vs10/rsvg-build-defines.props
index c8b7ac4..54071c2 100644
--- a/build/win32/vs10/rsvg-build-defines.props
+++ b/build/win32/vs10/rsvg-build-defines.props
@@ -11,6 +11,10 @@
<Gtk3IncPath>$(GlibEtcInstallRoot)\include\gtk-3.0;$(GlibEtcInstallRoot)\include\atk-1.0;$(LibRsvgIncPath)</Gtk3IncPath>
<Gtk3Libs>gtk-3.0.lib;gdk-3.0.lib</Gtk3Libs>
<RsvgPixbufLoaderCFlags>GDK_PIXBUF_ENABLE_BACKEND;G_LOG_DOMAIN="libpixbufloader-svg"</RsvgPixbufLoaderCFlags>
+ <RsvgIntrospectNMakeCmd>cd ..
+set VCInstallDir=$(VCInstallDir)
+nmake -f rsvg-introspection-msvc.mak CFG=$(Configuration)
PREFIX=$(GlibEtcInstallRoot)</RsvgIntrospectNMakeCmd>
+
<RsvgIntrospectBuiltFiles>$(SolutionDir)\..\Rsvg-2.0.gir;$(SolutionDir)\..\Rsvg-2.0.typelib</RsvgIntrospectBuiltFiles>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>rsvgbuilddefinesprops</_PropertySheetDisplayName>
@@ -53,5 +57,11 @@
<BuildMacro Include="RsvgPixbufLoaderCFlags">
<Value>$(RsvgPixbufLoaderCFlags)</Value>
</BuildMacro>
+ <BuildMacro Include="RsvgIntrospectNMakeCmd">
+ <Value>$(RsvgIntrospectNMakeCmd)</Value>
+ </BuildMacro>
+ <BuildMacro Include="RsvgIntrospectBuiltFiles">
+ <Value>$(RsvgIntrospectBuiltFiles)</Value>
+ </BuildMacro>
</ItemGroup>
</Project>
diff --git a/build/win32/vs10/rsvg-introspect.vcxproj b/build/win32/vs10/rsvg-introspect.vcxproj
new file mode 100644
index 0000000..c29b956
--- /dev/null
+++ b/build/win32/vs10/rsvg-introspect.vcxproj
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{E827A7D5-EA7A-4239-91A3-5EC76A0E7249}</ProjectGuid>
+ <RootNamespace>rsvgintrospect</RootNamespace>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>Makefile</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v100</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+ <ConfigurationType>Makefile</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v100</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <ConfigurationType>Makefile</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v100</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Makefile</ConfigurationType>
+ <CharacterSet>MultiByte</CharacterSet>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <PlatformToolset>v100</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="rsvg-build-defines.props" />
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="rsvg-build-defines.props" />
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="rsvg-build-defines.props" />
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="rsvg-build-defines.props" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <NMakeBuildCommandLine>$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParam)
install-introspection</NMakeBuildCommandLine>
+ <NMakeReBuildCommandLine>$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParam) clean
install-introspection</NMakeReBuildCommandLine>
+ <NMakeCleanCommandLine>$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParam) clean</NMakeCleanCommandLine>
+ <NMakeOutput>$(RsvgIntrospectBuiltFiles)</NMakeOutput>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <NMakeBuildCommandLine>$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParam)
install-introspection</NMakeBuildCommandLine>
+ <NMakeReBuildCommandLine>$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParam) clean
install-introspection</NMakeReBuildCommandLine>
+ <NMakeCleanCommandLine>$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParam) clean</NMakeCleanCommandLine>
+ <NMakeOutput>$(RsvgIntrospectBuiltFiles)</NMakeOutput>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <NMakeBuildCommandLine>$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParamX64)
install-introspection</NMakeBuildCommandLine>
+ <NMakeReBuildCommandLine>$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean
install-introspection</NMakeReBuildCommandLine>
+ <NMakeCleanCommandLine>$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParamX64)
clean</NMakeCleanCommandLine>
+ <NMakeOutput>$(RsvgIntrospectBuiltFiles)</NMakeOutput>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <NMakeBuildCommandLine>$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParamX64)
install-introspection</NMakeBuildCommandLine>
+ <NMakeReBuildCommandLine>$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean
install-introspection</NMakeReBuildCommandLine>
+ <NMakeCleanCommandLine>$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParamX64)
clean</NMakeCleanCommandLine>
+ <NMakeOutput>$(RsvgIntrospectBuiltFiles)</NMakeOutput>
+ </PropertyGroup>
+ <ItemGroup>
+ <ProjectReference Include="rsvg-install.vcxproj">
+ <Project>{c416ed91-e000-49d3-9617-ccc473e08eae}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/build/win32/vs10/rsvg-version-paths.props.in b/build/win32/vs10/rsvg-version-paths.props.in
index f1e5c3d..18aca67 100644
--- a/build/win32/vs10/rsvg-version-paths.props.in
+++ b/build/win32/vs10/rsvg-version-paths.props.in
@@ -23,6 +23,8 @@
<PythonDir Condition="'$(VisualStudioVersion)' == '14.0'">c:\python36</PythonDir>
<PythonDir Condition="'$(VisualStudioVersion)' == '15.0'">c:\python36</PythonDir>
<PythonDirX64>$(PythonDir).x64</PythonDirX64>
+ <IntrospectPythonParam>PYTHON=$(PythonDir)\python.exe</IntrospectPythonParam>
+ <IntrospectPythonParamX64>PYTHON=$(PythonDirX64)\python.exe</IntrospectPythonParamX64>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>rsvgversionpathsprops</_PropertySheetDisplayName>
@@ -77,5 +79,11 @@
<BuildMacro Include="PythonDirX64">
<Value>$(PythonDirX64)</Value>
</BuildMacro>
+ <BuildMacro Include="IntrospectPythonParam">
+ <Value>$(IntrospectPythonParam)</Value>
+ </BuildMacro>
+ <BuildMacro Include="IntrospectPythonParamX64">
+ <Value>$(IntrospectPythonParamX64)</Value>
+ </BuildMacro>
</ItemGroup>
</Project>
diff --git a/build/win32/vs11/Makefile.am b/build/win32/vs11/Makefile.am
index e53d87e..be2bcdc 100644
--- a/build/win32/vs11/Makefile.am
+++ b/build/win32/vs11/Makefile.am
@@ -12,6 +12,7 @@ EXTRA_DIST = \
rsvg-convert.vcxproj.filters \
rsvg-install.vcxproj \
rsvg-install.vcxproj.filters \
+ rsvg-introspect.vcxproj \
rsvg-view-3.vcxproj \
rsvg-view-3.vcxproj.filters \
README.txt \
diff --git a/build/win32/vs12/Makefile.am b/build/win32/vs12/Makefile.am
index 48d44c0..35a209c 100644
--- a/build/win32/vs12/Makefile.am
+++ b/build/win32/vs12/Makefile.am
@@ -12,6 +12,7 @@ EXTRA_DIST = \
rsvg-convert.vcxproj.filters \
rsvg-install.vcxproj \
rsvg-install.vcxproj.filters \
+ rsvg-introspect.vcxproj \
rsvg-view-3.vcxproj \
rsvg-view-3.vcxproj.filters \
README.txt
diff --git a/build/win32/vs14/Makefile.am b/build/win32/vs14/Makefile.am
index 829383f..e7cd9e1 100644
--- a/build/win32/vs14/Makefile.am
+++ b/build/win32/vs14/Makefile.am
@@ -12,6 +12,7 @@ EXTRA_DIST = \
rsvg-convert.vcxproj.filters \
rsvg-install.vcxproj \
rsvg-install.vcxproj.filters \
+ rsvg-introspect.vcxproj \
rsvg-view-3.vcxproj \
rsvg-view-3.vcxproj.filters \
README.txt
diff --git a/build/win32/vs15/Makefile.am b/build/win32/vs15/Makefile.am
index 6cd4d93..566e41a 100644
--- a/build/win32/vs15/Makefile.am
+++ b/build/win32/vs15/Makefile.am
@@ -12,6 +12,7 @@ EXTRA_DIST = \
rsvg-convert.vcxproj.filters \
rsvg-install.vcxproj \
rsvg-install.vcxproj.filters \
+ rsvg-introspect.vcxproj \
rsvg-view-3.vcxproj \
rsvg-view-3.vcxproj.filters \
README.txt
diff --git a/build/win32/vs9/Makefile.am b/build/win32/vs9/Makefile.am
index 1a67404..dba249f 100644
--- a/build/win32/vs9/Makefile.am
+++ b/build/win32/vs9/Makefile.am
@@ -13,6 +13,7 @@ EXTRA_DIST = \
rsvg.vcprojin \
rsvg-convert.vcprojin \
rsvg-install.vcproj \
+ rsvg-introspect.vcproj \
rsvg-view-3.vcproj \
README.txt \
math.h \
diff --git a/build/win32/vs9/librsvg.sln b/build/win32/vs9/librsvg.sln
index f3717a7..84b58f0 100644
--- a/build/win32/vs9/librsvg.sln
+++ b/build/win32/vs9/librsvg.sln
@@ -26,6 +26,11 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rsvg-install", "rsvg-instal
{2C4FC5FD-1CF0-47F9-83FC-A129EE313C1E} = {2C4FC5FD-1CF0-47F9-83FC-A129EE313C1E}
EndProjectSection
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rsvg-introspect", "rsvg-introspect.vcproj",
"{E827A7D5-EA7A-4239-91A3-5EC76A0E7249}"
+ ProjectSection(ProjectDependencies) = postProject
+ {C416ED91-E000-49D3-9617-CCC473E08EAE} = {C416ED91-E000-49D3-9617-CCC473E08EAE}
+ EndProjectSection
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -74,6 +79,10 @@ Global
{C416ED91-E000-49D3-9617-CCC473E08EAE}.Release|Win32.Build.0 = Release|Win32
{C416ED91-E000-49D3-9617-CCC473E08EAE}.Release|x64.ActiveCfg = Release|x64
{C416ED91-E000-49D3-9617-CCC473E08EAE}.Release|x64.Build.0 = Release|x64
+ {E827A7D5-EA7A-4239-91A3-5EC76A0E7249}.Debug|Win32.ActiveCfg = Debug|Win32
+ {E827A7D5-EA7A-4239-91A3-5EC76A0E7249}.Release|Win32.ActiveCfg = Release|Win32
+ {E827A7D5-EA7A-4239-91A3-5EC76A0E7249}.Debug|x64.ActiveCfg = Debug|x64
+ {E827A7D5-EA7A-4239-91A3-5EC76A0E7249}.Release|x64.ActiveCfg = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/build/win32/vs9/rsvg-build-defines.vsprops b/build/win32/vs9/rsvg-build-defines.vsprops
index d0a0a9e..fa26e7c 100644
--- a/build/win32/vs9/rsvg-build-defines.vsprops
+++ b/build/win32/vs9/rsvg-build-defines.vsprops
@@ -47,4 +47,12 @@
Name="RsvgPixbufLoaderCFlags"
Value="GDK_PIXBUF_ENABLE_BACKEND;G_LOG_DOMAIN=\"libpixbufloader-svg\""
/>
+ <UserMacro
+ Name="RsvgIntrospectNMakeCmd"
+ Value="cd ..
set VCInstallDir=$(VCInstallDir)
nmake -f
rsvg-introspection-msvc.mak CFG=$(ConfigurationName) PREFIX=$(GlibEtcInstallRoot)"
+ />
+ <UserMacro
+ Name="RsvgIntrospectBuiltFiles"
+ Value="$(SolutionDir)\..\Rsvg-2.0.gir;$(SolutionDir)\..\Rsvg-2.0.typelib"
+ />
</VisualStudioPropertySheet>
diff --git a/build/win32/vs9/rsvg-introspect.vcproj b/build/win32/vs9/rsvg-introspect.vcproj
new file mode 100644
index 0000000..9705b98
--- /dev/null
+++ b/build/win32/vs9/rsvg-introspect.vcproj
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="rsvg-introspect"
+ ProjectGUID="{E827A7D5-EA7A-4239-91A3-5EC76A0E7249}"
+ Keyword="MakeFileProj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ <Platform
+ Name="x64"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ ConfigurationType="0"
+ InheritedPropertySheets=".\rsvg-build-defines.vsprops"
+ >
+ <Tool
+ Name="VCNMakeTool"
+ BuildCommandLine="$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParam)
install-introspection"
+ ReBuildCommandLine="$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParam) clean
install-introspection"
+ CleanCommandLine="$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParam) clean"
+ Output="$(RsvgIntrospectBuiltFiles)"
+ />
+ </Configuration>
+ <Configuration
+ Name="Debug|x64"
+ ConfigurationType="0"
+ InheritedPropertySheets=".\rsvg-build-defines.vsprops"
+ >
+ <Tool
+ Name="VCNMakeTool"
+ BuildCommandLine="$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParamX64)
install-introspection"
+ ReBuildCommandLine="$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParamX64)
clean install-introspection"
+ CleanCommandLine="$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean"
+ Output="$(RsvgIntrospectBuiltFiles)"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ ConfigurationType="0"
+ InheritedPropertySheets=".\rsvg-build-defines.vsprops"
+ CharacterSet="2"
+ DeleteExtensionsOnClean=""
+ >
+ <Tool
+ Name="VCNMakeTool"
+ BuildCommandLine="$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParam)
install-introspection"
+ ReBuildCommandLine="$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParam) clean
install-introspection"
+ CleanCommandLine="$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParam) clean"
+ Output="$(RsvgIntrospectBuiltFiles)"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|x64"
+ ConfigurationType="0"
+ InheritedPropertySheets=".\rsvg-build-defines.vsprops"
+ >
+ <Tool
+ Name="VCNMakeTool"
+ BuildCommandLine="$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParamX64)
install-introspection"
+ ReBuildCommandLine="$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParamX64)
clean install-introspection"
+ CleanCommandLine="$(RsvgIntrospectNMakeCmd) $(IntrospectPythonParamX64) clean"
+ Output="$(RsvgIntrospectBuiltFiles)"
+ />
+ </Configuration>
+ </Configurations>
+</VisualStudioProject>
diff --git a/build/win32/vs9/rsvg-version-paths.vsprops.in b/build/win32/vs9/rsvg-version-paths.vsprops.in
index 0c9b33a..b0dad2b 100644
--- a/build/win32/vs9/rsvg-version-paths.vsprops.in
+++ b/build/win32/vs9/rsvg-version-paths.vsprops.in
@@ -70,4 +70,12 @@
Name="PythonDirX64"
Value="$(PythonDir).x64"
/>
+ <UserMacro
+ Name="IntrospectPythonParam"
+ Value="PYTHON=$(PythonDir)\python.exe"
+ />
+ <UserMacro
+ Name="IntrospectPythonParamX64"
+ Value="PYTHON=$(PythonDirX64)\python.exe"
+ />
</VisualStudioPropertySheet>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]