Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13863 for trunk/sources


Ignore:
Timestamp:
05/31/16 10:31:56 (8 years ago)
Author:
ascheibe
Message:

#2571 added linux prebuild event

File:
1 edited

Legend:

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

    r13581 r13863  
    136136  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    137137  <PropertyGroup>
    138     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    139 set ProjectDir=$(ProjectDir)
    140 set SolutionDir=$(SolutionDir)
    141 set Outdir=$(Outdir)
     138    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
     139      set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     140      set ProjectDir=$(ProjectDir)
     141      set SolutionDir=$(SolutionDir)
     142      set Outdir=$(Outdir)
    142143
    143 call PreBuildEvent.cmd
    144 </PreBuildEvent>
     144      call PreBuildEvent.cmd
     145    </PreBuildEvent>
     146    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     147      export ProjectDir=$(ProjectDir)
     148      export SolutionDir=$(SolutionDir)
     149
     150      $SolutionDir/PreBuildEvent.sh
     151    </PreBuildEvent>
    145152  </PropertyGroup>
    146153  <!-- 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.