Free cookie consent management tool by TermsFeed Policy Generator

Changeset 11830


Ignore:
Timestamp:
01/27/15 15:56:05 (10 years ago)
Author:
ascheibe
Message:

#2290 made protogen project file also work on linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.ProtobufCS/2.4.1/ProtobufCS/src/ProtoGen/ProtoGen-2.4.1.473.csproj

    r11623 r11830  
    189189  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    190190  <PropertyGroup>
    191     <PostBuildEvent>copy "$(TargetPath)" "$(SolutionDir)"
    192 copy "$(TargetDir)Google.ProtocolBuffers-2.4.1.473.dll" "$(SolutionDir)"
    193 copy "$(ProjectDir)..\..\lib\protoc.exe" "$(SolutionDir)"</PostBuildEvent>
    194   </PropertyGroup>
     191    <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
     192    copy "$(TargetPath)" "$(SolutionDir)"
     193    copy "$(TargetDir)Google.ProtocolBuffers-2.4.1.473.dll" "$(SolutionDir)"
     194    copy "$(ProjectDir)..\..\lib\protoc.exe" "$(SolutionDir)"
     195  </PostBuildEvent>
     196    <PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     197    cp "$(TargetPath)" "$(SolutionDir)"
     198    cp "$(TargetDir)Google.ProtocolBuffers-2.4.1.473.dll" "$(SolutionDir)"
     199    cp "$(ProjectDir)..\..\lib\protoc.exe" "$(SolutionDir)"
     200  </PostBuildEvent>
     201  </PropertyGroup> 
    195202  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    196203       Other similar extension points exist, see Microsoft.Common.targets.
Note: See TracChangeset for help on using the changeset viewer.