[Mobies-commit] [commit] r3873 - UDM/trunk/Projects/Win32/VC10/tests/CreateLampDiagram

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Mon Aug 29 14:32:52 CDT 2011


Author: ksmyth
Date: Mon Aug 29 14:32:52 2011
New Revision: 3873

Log:
Dont fail on directory already existing

Modified:
   UDM/trunk/Projects/Win32/VC10/tests/CreateLampDiagram/CreateLampDiagram.vcxproj

Modified: UDM/trunk/Projects/Win32/VC10/tests/CreateLampDiagram/CreateLampDiagram.vcxproj
==============================================================================
--- UDM/trunk/Projects/Win32/VC10/tests/CreateLampDiagram/CreateLampDiagram.vcxproj	Mon Aug 29 14:32:51 2011	(r3872)
+++ UDM/trunk/Projects/Win32/VC10/tests/CreateLampDiagram/CreateLampDiagram.vcxproj	Mon Aug 29 14:32:52 2011	(r3873)
@@ -96,7 +96,8 @@
       </AdditionalDependencies>
     </mga2udmxml>
     <PreBuildEvent>
-      <Command>mkdir "$(OutDir)Gen\samples"</Command>
+      <Command>mkdir "$(OutDir)Gen\samples"
+if exist "$(OutDir)Gen\samples\" exit /b 0</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
@@ -112,7 +113,8 @@
       </AdditionalDependencies>
     </mga2udmxml>
     <PreBuildEvent>
-      <Command>mkdir "$(OutDir)Gen\samples"</Command>
+      <Command>mkdir "$(OutDir)Gen\samples"
+if exist "$(OutDir)Gen\samples\" exit /b 0</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -132,7 +134,8 @@
       </AdditionalDependencies>
     </mga2udmxml>
     <PreBuildEvent>
-      <Command>mkdir "$(OutDir)Gen\samples"</Command>
+      <Command>mkdir "$(OutDir)Gen\samples"
+if exist "$(OutDir)Gen\samples\" exit /b 0</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@@ -152,7 +155,8 @@
       </AdditionalDependencies>
     </mga2udmxml>
     <PreBuildEvent>
-      <Command>mkdir "$(OutDir)Gen\samples"</Command>
+      <Command>mkdir "$(OutDir)Gen\samples"
+if exist "$(OutDir)Gen\samples\" exit /b 0</Command>
     </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemGroup>


More information about the Mobies-commit mailing list