summaryrefslogtreecommitdiff
path: root/win32/vs9
diff options
context:
space:
mode:
Diffstat (limited to 'win32/vs9')
-rw-r--r--win32/vs9/README.txt9
-rw-r--r--win32/vs9/g-ir-compiler.vcprojin16
-rw-r--r--win32/vs9/gi-build-defines.vsprops6
-rw-r--r--win32/vs9/girepository.vcprojin8
4 files changed, 17 insertions, 22 deletions
diff --git a/win32/vs9/README.txt b/win32/vs9/README.txt
index 05cfc912..abd0b286 100644
--- a/win32/vs9/README.txt
+++ b/win32/vs9/README.txt
@@ -19,11 +19,10 @@ usage of different CRTs.
Please refer to the README.txt file in $(GLib_src_root)\build\win32\vs9 on how to build
GLib using Visual C++ 2008
-For LibFFI, please get version 3.0.10 or later, as Visual C++ build support
-was added in the 3.0.10 release series. Please see the README file that
-comes with the LibFFI source package for more details on how to build LibFFI
-on Visual C++-please note that the mozilla-build package from Mozilla is needed
-in order to build LibFFI on Windows.
+For LibFFI, please use the Centricular fork of it, which can be found at
+https://github.com/centricular/libffi. Please refer there on building--please
+note that this will involve the use of the Meson build system and the Ninja
+build tool.
For Python, retrieving the official Windows binaries for 2.7 (2.x) or 3.3 (3.x) or later
from http://www.python.org will do the job-be sure that the Python version that
diff --git a/win32/vs9/g-ir-compiler.vcprojin b/win32/vs9/g-ir-compiler.vcprojin
index d0850084..e85847f1 100644
--- a/win32/vs9/g-ir-compiler.vcprojin
+++ b/win32/vs9/g-ir-compiler.vcprojin
@@ -28,7 +28,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- PreprocessorDefinitions="_DEBUG;$(FFIDefines)"
+ PreprocessorDefinitions="_DEBUG"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@@ -38,7 +38,7 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="libffi.lib"
+ AdditionalDependencies="ffi.lib"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="1"
@@ -58,7 +58,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- PreprocessorDefinitions="_DEBUG;$(FFIDefines)"
+ PreprocessorDefinitions="_DEBUG"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@@ -68,7 +68,7 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="libffi.lib"
+ AdditionalDependencies="ffi.lib"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="1"
@@ -87,7 +87,7 @@
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
- PreprocessorDefinitions="$(FFIDefines)"
+ PreprocessorDefinitions=""
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
@@ -96,7 +96,7 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="libffi.lib"
+ AdditionalDependencies="ffi.lib"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
@@ -122,7 +122,7 @@
EnableIntrinsicFunctions="true"
EnableMinimalRebuild="true"
WholeProgramOptimization="false"
- PreprocessorDefinitions="$(FFIDefines)"
+ PreprocessorDefinitions=""
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
@@ -131,7 +131,7 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="libffi.lib"
+ AdditionalDependencies="ffi.lib"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
diff --git a/win32/vs9/gi-build-defines.vsprops b/win32/vs9/gi-build-defines.vsprops
index 61e6e5e7..e5d143bc 100644
--- a/win32/vs9/gi-build-defines.vsprops
+++ b/win32/vs9/gi-build-defines.vsprops
@@ -20,12 +20,8 @@
AdditionalLibraryDirectories="$(GlibEtcInstallRoot)\lib"
/>
<UserMacro
- Name="FFIDefines"
- Value="FFI_BUILDING"
- />
- <UserMacro
Name="GIRepositoryBuildDefines"
- Value="G_IREPOSITORY_COMPILATION;$(FFIDefines);DLL_EXPORT"
+ Value="G_IREPOSITORY_COMPILATION;DLL_EXPORT"
/>
<UserMacro
Name="GIIntrospectNMakeCmd"
diff --git a/win32/vs9/girepository.vcprojin b/win32/vs9/girepository.vcprojin
index 681bbe92..66f3a00d 100644
--- a/win32/vs9/girepository.vcprojin
+++ b/win32/vs9/girepository.vcprojin
@@ -39,7 +39,7 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="libffi.lib"
+ AdditionalDependencies="ffi.lib"
OutputFile="$(OutDir)\$(LibGIDllPrefix)$(ProjectName)$(LibGIDllSuffix).dll"
LinkIncremental="2"
GenerateDebugInformation="true"
@@ -69,7 +69,7 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="libffi.lib"
+ AdditionalDependencies="ffi.lib"
OutputFile="$(OutDir)\$(LibGIDllPrefix)$(ProjectName)$(LibGIDllSuffix).dll"
LinkIncremental="1"
GenerateDebugInformation="true"
@@ -104,7 +104,7 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="libffi.lib"
+ AdditionalDependencies="ffi.lib"
OutputFile="$(OutDir)\$(LibGIDllPrefix)$(ProjectName)$(LibGIDllSuffix).dll"
LinkIncremental="2"
GenerateDebugInformation="true"
@@ -138,7 +138,7 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="libffi.lib"
+ AdditionalDependencies="ffi.lib"
OutputFile="$(OutDir)\$(LibGIDllPrefix)$(ProjectName)$(LibGIDllSuffix).dll"
LinkIncremental="1"
GenerateDebugInformation="true"