Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/09/12 15:32:03 (12 years ago)
Author:
ascheibe
Message:

#1329 fixed prebuild events so that they work with Mono

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Scheduling/3.3/HeuristicLab.Problems.Scheduling-3.3.csproj

    r8759 r8769  
    185185  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    186186  <PropertyGroup>
    187     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     187   <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    188188set ProjectDir=$(ProjectDir)
    189189set SolutionDir=$(SolutionDir)
    190190set Outdir=$(Outdir)
    191191
    192 call PreBuildEvent.cmd</PreBuildEvent>
     192call PreBuildEvent.cmd
     193</PreBuildEvent>
     194<PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     195export ProjectDir=$(ProjectDir)
     196export SolutionDir=$(SolutionDir)
     197
     198$SolutionDir/PreBuildEvent.sh
     199</PreBuildEvent>
    193200  </PropertyGroup>
    194201  <!-- 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.