Ignore:
Timestamp:
06/18/15 12:53:11 (7 years ago)
Author:
ascheibe
Message:

#2399 fixed pre-build events in project files

File:
1 edited

Legend:

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

    r11984 r12470  
    190190  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    191191  <PropertyGroup>
    192     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    193 set ProjectDir=$(ProjectDir)
    194 set SolutionDir=$(SolutionDir)
    195 set Outdir=$(Outdir)
     192    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
     193      set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     194      set ProjectDir=$(ProjectDir)
     195      set SolutionDir=$(SolutionDir)
     196      set Outdir=$(Outdir)
    196197
    197 call PreBuildEvent.cmd</PreBuildEvent>
     198      call PreBuildEvent.cmd
     199    </PreBuildEvent>
     200    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     201      export ProjectDir=$(ProjectDir)
     202      export SolutionDir=$(SolutionDir)
     203
     204      $SolutionDir/PreBuildEvent.sh
     205    </PreBuildEvent>
    198206  </PropertyGroup>
    199207  <!-- 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.