Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/08/15 12:35:28 (9 years ago)
Author:
ascheibe
Message:

#2420 added linux prebuild event to sim# project file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.SimSharp/3.0.7/HeuristicLab.SimSharp-3.0.7/HeuristicLab.SimSharp-3.0.7.csproj

    r12671 r12675  
    104104  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    105105  <PropertyGroup>
    106     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    107 set ProjectDir=$(ProjectDir)
    108 set SolutionDir=$(SolutionDir)
    109 set Outdir=$(Outdir)
     106    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
     107      set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     108      set ProjectDir=$(ProjectDir)
     109      set SolutionDir=$(SolutionDir)
     110      set Outdir=$(Outdir)
    110111
    111 call PreBuildEvent.cmd
    112 </PreBuildEvent>
     112      call PreBuildEvent.cmd
     113    </PreBuildEvent>
     114    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     115      export ProjectDir=$(ProjectDir)
     116      export SolutionDir=$(SolutionDir)
     117
     118      $SolutionDir/PreBuildEvent.sh
     119    </PreBuildEvent>
    113120  </PropertyGroup>
    114121  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Note: See TracChangeset for help on using the changeset viewer.