Changeset 11992


Ignore:
Timestamp:
02/12/15 20:22:32 (5 years ago)
Author:
ascheibe
Message:

#2290 added missing linux prebuild commands to code editor project

File:
1 edited

Legend:

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

    r11933 r11992  
    234234  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    235235  <PropertyGroup>
    236     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    237 set ProjectDir=$(ProjectDir)
    238 set SolutionDir=$(SolutionDir)
    239 set Outdir=$(Outdir)
     236    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
     237      set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     238      set ProjectDir=$(ProjectDir)
     239      set SolutionDir=$(SolutionDir)
     240      set Outdir=$(Outdir)
    240241
    241 call PreBuildEvent.cmd
    242 </PreBuildEvent>
     242      call PreBuildEvent.cmd
     243    </PreBuildEvent>
     244    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     245      export ProjectDir=$(ProjectDir)
     246      export SolutionDir=$(SolutionDir)
     247
     248      $SolutionDir/PreBuildEvent.sh
     249    </PreBuildEvent>
    243250  </PropertyGroup>
    244251  <!-- 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.