Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12594


Ignore:
Timestamp:
07/06/15 10:18:41 (9 years ago)
Author:
ascheibe
Message:

#2306 fixed pre-build event

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FitnessLandscapeAnalysis/HeuristicLab.Problems.NK/HeuristicLab.Problems.NK.csproj

    r12582 r12594  
    187187  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    188188  <PropertyGroup>
    189     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    190 set ProjectDir=$(ProjectDir)
    191 set SolutionDir=$(SolutionDir)
    192 set Outdir=$(Outdir)
     189    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
     190      set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     191      set ProjectDir=$(ProjectDir)
     192      set SolutionDir=$(SolutionDir)
     193      set Outdir=$(Outdir)
    193194
    194 call PreBuildEvent.cmd
    195 </PreBuildEvent>
     195      call PreBuildEvent.cmd
     196    </PreBuildEvent>
     197    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     198      export ProjectDir=$(ProjectDir)
     199      export SolutionDir=$(SolutionDir)
     200
     201      $SolutionDir/PreBuildEvent.sh
     202    </PreBuildEvent>
    196203  </PropertyGroup>
    197204  <PropertyGroup>
Note: See TracChangeset for help on using the changeset viewer.