diff options
author | nicolas.dorier <nicolas.dorier@gmail.com> | 2019-06-29 14:36:04 +0900 |
---|---|---|
committer | nicolas.dorier <nicolas.dorier@gmail.com> | 2019-07-01 19:16:19 +0900 |
commit | 08c721dab2b6d33f11ecf5ed089841d1fc9d8d15 (patch) | |
tree | 6c8ae8207c41194a2749910bdd87951268a03603 /build_msvc/common.vcxproj | |
parent | b3edacb5299b94061982c2578a08b72e778797e2 (diff) |
[MSVC] Copy build output to src/ automatically after build
Diffstat (limited to 'build_msvc/common.vcxproj')
-rw-r--r-- | build_msvc/common.vcxproj | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build_msvc/common.vcxproj b/build_msvc/common.vcxproj new file mode 100644 index 0000000000..4bbcc3767f --- /dev/null +++ b/build_msvc/common.vcxproj @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<PropertyGroup><BuildDependsOn>$(BuildDependsOn);CopyBuildArtifacts</BuildDependsOn></PropertyGroup> + <Target Name="CopyBuildArtifacts" Condition="'$(ConfigurationType)' != 'StaticLibrary'"> + <ItemGroup> + <BuildArtifacts Include="$(OutDir)$(TargetName)$(TargetExt)"></BuildArtifacts> + <BuildArtifacts Include="$(OutDir)$(TargetName).pdb"></BuildArtifacts> + </ItemGroup> + <Copy SourceFiles="@(BuildArtifacts)" SkipUnchangedFiles="true" DestinationFolder="..\..\src\" Condition="'$(OutDir)' != ''"></Copy> + </Target> + <Import Project="common.vcxproj.user" Condition="Exists('common.vcxproj.user')" /> +</Project> |