Changeset 12470


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

#2399 fixed pre-build events in project files

Location:
trunk/sources
Files:
2 edited

Legend:

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

    r11963 r12470  
    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</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>
    195203  </PropertyGroup>
    196204  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  • 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.