Changeset 8769


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

#1329 fixed prebuild events so that they work with Mono

Location:
trunk/sources
Files:
2 edited

Legend:

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

    r8759 r8769  
    180180  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    181181  <PropertyGroup>
    182     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     182   <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    183183set ProjectDir=$(ProjectDir)
    184184set SolutionDir=$(SolutionDir)
    185185set Outdir=$(Outdir)
    186186
    187 call PreBuildEvent.cmd</PreBuildEvent>
     187call PreBuildEvent.cmd
     188</PreBuildEvent>
     189<PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     190export ProjectDir=$(ProjectDir)
     191export SolutionDir=$(SolutionDir)
     192
     193$SolutionDir/PreBuildEvent.sh
     194</PreBuildEvent>
    188195  </PropertyGroup>
    189196  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  • 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.