Ignore:
Timestamp:
Feb 8, 2011, 7:32:51 PM (10 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/editor.vcxproj

    r327 r614  
    130130      <AdditionalLibraryDirectories>$(SdlLibs);$(GtkLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    131131    </Link>
     132    <PostBuildEvent>
     133      <Command>for %%I in ($(GtkLibs) $(SdlLibs)) do xcopy /y /c /d %%I\*.dll $(TargetDir)</Command>
     134    </PostBuildEvent>
    132135  </ItemDefinitionGroup>
    133136  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     
    150153      <AdditionalLibraryDirectories>$(SdlLibs);$(GtkLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    151154    </Link>
     155    <PostBuildEvent>
     156      <Command>for %%I in ($(GtkLibs) $(SdlLibs)) do xcopy /y /c /d %%I\*.dll $(TargetDir)</Command>
     157    </PostBuildEvent>
    152158  </ItemDefinitionGroup>
    153159  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Note: See TracChangeset for help on using the changeset viewer.