Free cookie consent management tool by TermsFeed Policy Generator

Changeset 14882


Ignore:
Timestamp:
04/23/17 12:53:09 (7 years ago)
Author:
abeham
Message:

#2664: made post build event (merge configs) in Clients.Hive.Slave project OS dependent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.Slave/3.3/HeuristicLab.Clients.Hive.Slave-3.3.csproj

    r14207 r14882  
    187187  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    188188  <PropertyGroup>
    189     <PostBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    190 set ProjectDir=$(ProjectDir)
    191 set SolutionDir=$(SolutionDir)
    192 set Outdir=$(Outdir)
    193 set TargetDir=$(TargetDir)
    194 set Platform=$(PlatformName)
    195 set Configuration=$(ConfigurationName)
    196 
    197 call "$(SolutionDir)MergeConfigs.cmd"</PostBuildEvent>
    198   </PropertyGroup>
    199   <PropertyGroup>
    200189    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    201190set ProjectDir=$(ProjectDir)
     
    209198
    210199$SolutionDir/PreBuildEvent.sh
    211 </PreBuildEvent>
     200    </PreBuildEvent>
     201    <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
     202      set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     203      set ProjectDir=$(ProjectDir)
     204      set SolutionDir=$(SolutionDir)
     205      set OutDir=$(OutDir)
     206      set TargetDir=$(TargetDir)
     207      set Platform=$(PlatformName)
     208      set Configuration=$(ConfigurationName)
     209
     210      call "$(SolutionDir)MergeConfigs.cmd"
     211    </PostBuildEvent>
     212    <PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     213export OutDir=$(OutDir)
     214export ProjectDir=$(ProjectDir)
     215export SolutionDir=$(SolutionDir)
     216export TargetDir=$(TargetDir)
     217
     218$SolutionDir/MergeConfigs.sh
     219    </PostBuildEvent>
    212220  </PropertyGroup>
    213221  <!-- 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.