Ignore:
Timestamp:
Feb 8, 2011, 7:32:51 PM (12 years ago)
Author:
sam
Message:

Copy all necessary DLLs to the target dir after a successful build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/win32/monsterz.vcxproj

    r352 r614  
    139139      <AdditionalLibraryDirectories>$(SdlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    140140    </Link>
     141    <PostBuildEvent>
     142      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll $(TargetDir)</Command>
     143    </PostBuildEvent>
    141144  </ItemDefinitionGroup>
    142145  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     
    159162      <AdditionalLibraryDirectories>$(SdlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    160163    </Link>
     164    <PostBuildEvent>
     165      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll $(TargetDir)</Command>
     166    </PostBuildEvent>
    161167  </ItemDefinitionGroup>
    162168  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Note: See TracChangeset for help on using the changeset viewer.