summaryrefslogtreecommitdiff
path: root/win32/vs9/atk-build-defines.vsprops
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2017-07-13 18:32:11 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2017-07-13 18:44:26 +0800
commite00e843b23deaf5b75e3c10497ec185d0024b42a (patch)
tree881fef9ef8e2b58f59df9fe141b73d3113966cbc /win32/vs9/atk-build-defines.vsprops
parent62769abbe997022db2cb6539dd2fef08acefe243 (diff)
downloadatk-e00e843b23deaf5b75e3c10497ec185d0024b42a.tar.gz
Visual Studio builds: Integrate introspection builds
Since we hard-require Python for our builds, integrate introspection builds in the build process. This will fail if Python is not installed or correctly set at PythonDir/PythonDirX64 or g-ir-scanner is not found at $(GLibEtcInstallRoot)\bin, but it shouldn't otherwise impact the build in other ways as the built DLL and lib will still be built and copied normally. This is in place here before the Meson build system is ready for G-I and GLib.
Diffstat (limited to 'win32/vs9/atk-build-defines.vsprops')
-rw-r--r--win32/vs9/atk-build-defines.vsprops8
1 files changed, 8 insertions, 0 deletions
diff --git a/win32/vs9/atk-build-defines.vsprops b/win32/vs9/atk-build-defines.vsprops
index fc7b509..e363626 100644
--- a/win32/vs9/atk-build-defines.vsprops
+++ b/win32/vs9/atk-build-defines.vsprops
@@ -23,4 +23,12 @@
Name="AtkDefines"
Value="ATK_COMPILATION;DLL_EXPORT;ATK_LOCALEDIR=\&quot;/dummy/share/locale\&quot;"
/>
+ <UserMacro
+ Name="AtkIntrospectNMakeCmd"
+ Value="cd ..&#x0D;&#x0A;set VCInstallDir=$(VCInstallDir)&#x0D;&#x0A;nmake -f atk-introspection-msvc.mak CFG=$(ConfigurationName) PREFIX=$(GlibEtcInstallRoot)"
+ />
+ <UserMacro
+ Name="AtkIntrospectBuiltFiles"
+ Value="$(SolutionDir)\..\Atk-1.0.gir;$(SolutionDir)\..\Atk-1.0.typelib"
+ />
</VisualStudioPropertySheet>