Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8456 for branches


Ignore:
Timestamp:
08/09/12 10:56:46 (12 years ago)
Author:
ascheibe
Message:

#1861 fixed Pre and PostBuild events to work on Linux

Location:
branches/HeuristicLab.Mono
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Mono/HeuristicLab.Algorithms.GradientDescent/3.3/HeuristicLab.Algorithms.GradientDescent.csproj

    r8448 r8456  
    193193  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    194194  <PropertyGroup>
    195     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     195    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    196196set ProjectDir=$(ProjectDir)
    197197set SolutionDir=$(SolutionDir)
  • branches/HeuristicLab.Mono/HeuristicLab.ExtLibs/HeuristicLab.ALGLIB/3.6.0/HeuristicLab.ALGLIB-3.6.0/HeuristicLab.ALGLIB-3.6.0.csproj

    r8418 r8456  
    134134  -->
    135135  <PropertyGroup>
    136     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     136    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    137137set ProjectDir=$(ProjectDir)
    138138set SolutionDir=$(SolutionDir)
     
    141141call PreBuildEvent.cmd
    142142</PreBuildEvent>
     143  <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     144export ProjectDir=$(ProjectDir)
     145export SolutionDir=$(SolutionDir)
     146$SolutionDir/PreBuildEvent.sh
     147</PreBuildEvent>
    143148  </PropertyGroup>
    144149</Project>
  • branches/HeuristicLab.Mono/HeuristicLab/3.3/HeuristicLab-3.3.csproj

    r8450 r8456  
    634634call "$(SolutionDir)MergeConfigs.cmd"
    635635if exist "%25ProjectDir%25CustomPostBuild.cmd" call CustomPostBuild.cmd</PostBuildEvent>
     636 <PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     637export Outdir=$(Outdir)
     638export ProjectDir=$(ProjectDir)
     639export SolutionDir=$(SolutionDir)
     640
     641$SolutionDir/MergeConfigs.sh
     642</PostBuildEvent>
    636643  </PropertyGroup>
    637644</Project>
  • branches/HeuristicLab.Mono/PreBuildEvent.sh

    r8440 r8456  
    44if [ -f $AIFile ];
    55then
    6    svnwcrev $ProjectDir $AIFile $ProjectDir/Properties/AssemblyInfo.cs
     6   $SolutionDir/svnwcrev $ProjectDir $AIFile $ProjectDir/Properties/AssemblyInfo.cs
    77fi
    88
    99if [ -f $PluginFile ];
    1010then
    11   svnwcrev $ProjectDir $PluginFile $ProjectDir/Plugin.cs
     11  $SolutionDir/svnwcrev $ProjectDir $PluginFile $ProjectDir/Plugin.cs
    1212fi
Note: See TracChangeset for help on using the changeset viewer.