Update Visual Studio property sheets
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 13 Jul 2011 06:33:05 +0000 (14:33 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 13 Jul 2011 06:33:05 +0000 (14:33 +0800)
Added macros necessary for the build to export variables (which cannot
be exported just with the .def file only)

build/win32/vs10/atk.props
build/win32/vs9/atk.vsprops

index d483d50..6eceee5 100644 (file)
@@ -80,7 +80,7 @@ copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*-$(AtkApiVersion).lib $(Cop
 
 </AtkDoInstall>
     <GenerateAtkDef>echo EXPORTS &gt;"..\..\..\atk\atk.def" &amp;&amp; cl /EP ..\..\..\atk\atk.symbols &gt;&gt;"..\..\..\atk\atk.def"</GenerateAtkDef>
-    <AtkDefines>ATK_LOCALEDIR="\"$(AtkDummyPrefix)/share/locale\""</AtkDefines>
+    <AtkDefines>ATK_COMPILATION;DLL_EXPORT;ATK_LOCALEDIR="$(AtkDummyPrefix)/share/locale"</AtkDefines>
     <AtkLibtoolCompatibleDllPrefix>lib</AtkLibtoolCompatibleDllPrefix>
     <AtkLibtoolCompatibleDllSuffix>-2.0-0</AtkLibtoolCompatibleDllSuffix>
     <AtkSeparateVS10DllPrefix />
index e166905..56d419e 100644 (file)
@@ -4,7 +4,7 @@
        Version="8.00"
        Name="atkprops"
        OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin"
-       IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)\"
+       IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)"
        >
        <Tool
                Name="VCCLCompilerTool"
@@ -88,7 +88,7 @@ copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*-$(AtkApiVersion).l
        />
        <UserMacro
                Name="AtkDefines"
-               Value="ATK_LOCALEDIR=&quot;\&quot;$(AtkDummyPrefix)/share/locale\&quot;&quot;"
+               Value="ATK_COMPILATION;DLL_EXPORT;ATK_LOCALEDIR=\&quot;$(AtkDummyPrefix)/share/locale\&quot;"
        />
        <UserMacro
                Name="AtkLibtoolCompatibleDllPrefix"