Changeset 614


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.

Location:
trunk/win32
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/win32/Contribs.props

    r327 r614  
    44  <PropertyGroup Label="UserMacros">
    55    <ContribDir>$(SolutionDir)\..\contrib</ContribDir>
    6     <GtkDir>$(ContribDir)\gtk+-bundle_2.22.1-20101227_win32</GtkDir>
    7     <GtkGlDir>$(ContribDir)\gtkglarea</GtkGlDir>
    8     <SdlDir>$(ContribDir)\SDL-1.2.14</SdlDir>
    9     <SdlImageDir>$(ContribDir)\SDL_image-1.2.10</SdlImageDir>
    10     <SdlMixerDir>$(ContribDir)\SDL_mixer-1.2.11</SdlMixerDir>
     6    <GtkDir>$(ContribDir)\gtk-2.22.1</GtkDir>
     7    <GtkGlDir>$(ContribDir)\gtkglarea-2.0.1</GtkGlDir>
     8    <SdlDir>$(ContribDir)\sdl-1.2.14</SdlDir>
     9    <SdlImageDir>$(ContribDir)\sdl-image-1.2.10</SdlImageDir>
     10    <SdlMixerDir>$(ContribDir)\sdl-mixer-1.2.11</SdlMixerDir>
    1111    <GtkIncludes>$(GtkDir)\lib\glib-2.0\include;$(GtkDir)\lib\gtk-2.0\include;$(GtkDir)\include\glib-2.0;$(GtkDir)\include\gtk-2.0;$(GtkDir)\include\cairo;$(GtkDir)\include\pango-1.0;$(GtkDir)\include\gdk-pixbuf-2.0;$(GtkDir)\include\atk-1.0;$(GtkGlDir)\include</GtkIncludes>
    1212    <SdlIncludes>$(SdlDir)\include;$(SdlImageDir)\include;$(SdlMixerDir)\include</SdlIncludes>
    13     <GtkLibs>$(GtkDir)\lib;$(GtkGlDir)\lib</GtkLibs>
     13    <GtkLibs>$(GtkDir)\lib;$(GtkDir)\bin;$(GtkGlDir)\lib</GtkLibs>
    1414    <SdlLibs>$(SdlDir)\lib;$(SdlImageDir)\lib;$(SdlMixerDir)\lib</SdlLibs>
    1515    <GtkDeps>gobject-2.0.lib;gthread-2.0.lib;glib-2.0.lib;gdk-win32-2.0.lib;gtk-win32-2.0.lib;gtkgl-2.0.lib</GtkDeps>
  • trunk/win32/deushax.vcxproj

    r327 r614  
    130130      <AdditionalLibraryDirectories>$(SdlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    131131    </Link>
     132    <PostBuildEvent>
     133      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll $(TargetDir)</Command>
     134    </PostBuildEvent>
    132135  </ItemDefinitionGroup>
    133136  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     
    150153      <AdditionalLibraryDirectories>$(SdlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    151154    </Link>
     155    <PostBuildEvent>
     156      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll $(TargetDir)</Command>
     157    </PostBuildEvent>
    152158  </ItemDefinitionGroup>
    153159  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  • 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" />
  • 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.