[geos-commits] r2821 - trunk/build/msvc10/geos_lib

svn_geos at osgeo.org svn_geos at osgeo.org
Wed Dec 9 06:10:57 EST 2009


Author: mloskot
Date: 2009-12-09 06:10:54 -0500 (Wed, 09 Dec 2009)
New Revision: 2821

Modified:
   trunk/build/msvc10/geos_lib/geos_lib.vcxproj
Log:
Fixed generation of platform.h as pre-build step of GEOS lib project for Visual C++

Modified: trunk/build/msvc10/geos_lib/geos_lib.vcxproj
===================================================================
--- trunk/build/msvc10/geos_lib/geos_lib.vcxproj	2009-12-09 11:05:31 UTC (rev 2820)
+++ trunk/build/msvc10/geos_lib/geos_lib.vcxproj	2009-12-09 11:10:54 UTC (rev 2821)
@@ -65,6 +65,12 @@
     <Lib>
       <OutputFile>$(OutDir)geosd.lib</OutputFile>
     </Lib>
+    <PreBuildEvent>
+      <Command>copy ..\..\..\source\headers\geos\platform.h.vc ..\..\..\source\headers\geos\platform.h</Command>
+    </PreBuildEvent>
+    <PreBuildEvent>
+      <Message>Copying ..\..\..\source\headers\geos\platform.h.vc to ..\..\..\source\headers\geos\platform.h</Message>
+    </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     <ClCompile>
@@ -80,6 +86,10 @@
     <Lib>
       <OutputFile>$(OutDir)geos.lib</OutputFile>
     </Lib>
+    <PreBuildEvent>
+      <Message>Copying ..\..\..\source\headers\geos\platform.h.vc to ..\..\..\source\headers\geos\platform.h</Message>
+      <Command>copy ..\..\..\source\headers\geos\platform.h.vc ..\..\..\source\headers\geos\platform.h</Command>
+    </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemGroup>
     <None Include="..\..\..\source\dirlist.mk" />



More information about the geos-commits mailing list