Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/12/15 20:23:42 (9 years ago)
Author:
ascheibe
Message:

#2282 fixed output path and prebuild events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/HeuristicLab.Algorithms.ParameterlessPopulationPyramid-3.3.csproj

    r11987 r11993  
    162162  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    163163  <PropertyGroup>
    164     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    165 set ProjectDir=$(ProjectDir)
    166 set SolutionDir=$(SolutionDir)
    167 set Outdir=$(Outdir)
     164    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
     165      set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     166      set ProjectDir=$(ProjectDir)
     167      set SolutionDir=$(SolutionDir)
     168      set Outdir=$(Outdir)
    168169
    169 call PreBuildEvent.cmd</PreBuildEvent>
     170      call PreBuildEvent.cmd
     171    </PreBuildEvent>
     172    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     173      export ProjectDir=$(ProjectDir)
     174      export SolutionDir=$(SolutionDir)
     175
     176      $SolutionDir/PreBuildEvent.sh
     177    </PreBuildEvent>
    170178  </PropertyGroup>
    171179  <!-- 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.