Skip to content

Commit

Permalink
Improved automatic linking and release
Browse files Browse the repository at this point in the history
  • Loading branch information
DDunda committed Sep 1, 2021
1 parent 4aa07aa commit de6aa5a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 29 deletions.
13 changes: 6 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
.vs/**
Debug/**
Release/**
x64/**
*.aps

.vs/
out/
tmp/
bin/
build/
build/

*.user
24 changes: 24 additions & 0 deletions Synthboard.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -74,21 +74,29 @@
<LinkIncremental>true</LinkIncremental>
<IncludePath>$(SDL)\include\;$(SDL_image)\include\;$(IncludePath)</IncludePath>
<LibraryPath>$(SDL)\lib\$(PlatformShortName)\;$(SDL_image)\lib\$(PlatformShortName)\;$(LibraryPath)</LibraryPath>
<OutDir>$(ProjectDir)out\$(Configuration)_$(PlatformShortName)\</OutDir>
<IntDir>$(ProjectDir)tmp\$(Configuration)_$(PlatformShortName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<IncludePath>$(SDL)\include\;$(SDL_image)\include\;$(IncludePath)</IncludePath>
<LibraryPath>$(SDL)\lib\$(PlatformShortName)\;$(SDL_image)\lib\$(PlatformShortName)\;$(LibraryPath)</LibraryPath>
<OutDir>$(ProjectDir)out\$(Configuration)_$(PlatformShortName)\</OutDir>
<IntDir>$(ProjectDir)tmp\$(Configuration)_$(PlatformShortName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SDL)\include\;$(SDL_image)\include\;$(IncludePath)</IncludePath>
<LibraryPath>$(SDL)\lib\$(PlatformShortName)\;$(SDL_image)\lib\$(PlatformShortName)\;$(LibraryPath)</LibraryPath>
<OutDir>$(ProjectDir)out\$(Configuration)_$(PlatformShortName)\</OutDir>
<IntDir>$(ProjectDir)tmp\$(Configuration)_$(PlatformShortName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(SDL)\include\;$(SDL_image)\include\;$(IncludePath)</IncludePath>
<LibraryPath>$(SDL)\lib\$(PlatformShortName)\;$(SDL_image)\lib\$(PlatformShortName)\;$(LibraryPath)</LibraryPath>
<OutDir>$(ProjectDir)out\$(Configuration)_$(PlatformShortName)\</OutDir>
<IntDir>$(ProjectDir)tmp\$(Configuration)_$(PlatformShortName)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
Expand All @@ -100,6 +108,10 @@
<AdditionalDependencies>SDL2.lib;SDL2main.lib;SDL2_image.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SubSystem>Console</SubSystem>
</Link>
<PostBuildEvent>
<Command>copy "$(SDL)\lib\$(PlatformShortName)\*.dll" "$(OutDir)"
copy "$(SDL_image)\lib\$(PlatformShortName)\*.dll" "$(OutDir)"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
Expand All @@ -111,6 +123,10 @@
<AdditionalDependencies>SDL2.lib;SDL2main.lib;SDL2_image.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SubSystem>Console</SubSystem>
</Link>
<PostBuildEvent>
<Command>copy "$(SDL)\lib\$(PlatformShortName)\*.dll" "$(OutDir)"
copy "$(SDL_image)\lib\$(PlatformShortName)\*.dll" "$(OutDir)"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
Expand All @@ -127,6 +143,10 @@
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>SDL2.lib;SDL2main.lib;SDL2_image.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>copy "$(SDL)\lib\$(PlatformShortName)\*.dll" "$(OutDir)"
copy "$(SDL_image)\lib\$(PlatformShortName)\*.dll" "$(OutDir)"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
Expand All @@ -143,6 +163,10 @@
<AdditionalDependencies>SDL2.lib;SDL2main.lib;SDL2_image.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SubSystem>Windows</SubSystem>
</Link>
<PostBuildEvent>
<Command>copy "$(SDL)\lib\$(PlatformShortName)\*.dll" "$(OutDir)"
copy "$(SDL_image)\lib\$(PlatformShortName)\*.dll" "$(OutDir)"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="AbstractedAccess.cpp" />
Expand Down
22 changes: 0 additions & 22 deletions Synthboard.vcxproj.user

This file was deleted.

0 comments on commit de6aa5a

Please sign in to comment.