Free cookie consent management tool by TermsFeed Policy Generator

Changeset 11116


Ignore:
Timestamp:
07/07/14 16:08:42 (10 years ago)
Author:
ascheibe
Message:

#2206 fixed project files to work with linux

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/HeuristicLab.DataPreprocessing.Views-3.4.csproj

    r11114 r11116  
    272272  </ItemGroup>
    273273  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    274   <PropertyGroup>
    275     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     274<PropertyGroup>
     275    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    276276set ProjectDir=$(ProjectDir)
    277277set SolutionDir=$(SolutionDir)
    278278set Outdir=$(Outdir)
    279279
    280 call PreBuildEvent.cmd</PreBuildEvent>
     280call PreBuildEvent.cmd
     281</PreBuildEvent>
     282    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     283export ProjectDir=$(ProjectDir)
     284export SolutionDir=$(SolutionDir)
     285
     286$SolutionDir/PreBuildEvent.sh
     287</PreBuildEvent>
    281288  </PropertyGroup>
    282289  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  • trunk/sources/HeuristicLab.DataPreprocessing/3.4/HeuristicLab.DataPreprocessing-3.4.csproj

    r11114 r11116  
    167167  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    168168  <PropertyGroup>
    169     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     169    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    170170set ProjectDir=$(ProjectDir)
    171171set SolutionDir=$(SolutionDir)
    172172set Outdir=$(Outdir)
    173173
    174 call PreBuildEvent.cmd</PreBuildEvent>
     174call PreBuildEvent.cmd
     175</PreBuildEvent>
     176    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     177export ProjectDir=$(ProjectDir)
     178export SolutionDir=$(SolutionDir)
     179
     180$SolutionDir/PreBuildEvent.sh
     181</PreBuildEvent>
    175182  </PropertyGroup>
    176183  <!-- 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.