Skip to content

Commit

Permalink
Add creation of the 'bin' directory for the Release config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaccz committed Oct 18, 2015
1 parent fd84b19 commit fe118d5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/cli/Release
/Debug
/Release
/bin
/test/.stderr*
/test/.stdout*
*.suo
Expand Down
2 changes: 2 additions & 0 deletions _clean.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ for %%i in (Debug, Release) DO (
)
)

rmdir /q /s bin

attrib -h *.suo
del /q *.suo
del /q *.sdf
Expand Down
13 changes: 7 additions & 6 deletions cli/pictcli.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,10 @@
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<TargetName>pict</TargetName>
<OutDir>$(SolutionDir)$(Configuration)\cli\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<PropertyGroup>
<TargetName>pict</TargetName>
<OutDir>$(SolutionDir)$(Configuration)\cli\</OutDir>
<DropDir>$(SolutionDir)bin\</DropDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
Expand Down Expand Up @@ -85,6 +81,11 @@
<AdditionalLibraryDirectories>..\$(Configuration)\api</AdditionalLibraryDirectories>
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;pict.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>
xcopy /Y /I $(OutDir)pict.exe $(DropDir) &amp;&amp; xcopy /Y /I $(SolutionDir)doc\pict.md $(DropDir)
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="ccommon.h" />
Expand Down

0 comments on commit fe118d5

Please sign in to comment.