Changeset 9702 for trunk/sources
- Timestamp:
- 07/06/13 14:57:56 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/prepareProjectsForMono.sh
r8654 r9702 3 3 REP="<Reference Include=\"System.Windows.Forms.DataVisualization\" > \n <HintPath>..\/..\/bin\/System.Windows.Forms.DataVisualization.dll<\/HintPath> \n <\/Reference>" 4 4 5 for filename in $(find -name '*.csproj')5 for filename in $(find . -name '*.csproj') 6 6 do 7 7 sed "s/$ORIG/$REP/g" $filename > tmp … … 11 11 12 12 # remove projects that do not build 13 sed -e '/ProtocolBuffers-2.4.1.473/,+1d' -e '/ProtoGen-2.4.1.473/,+1d' -e '/HeuristicLab.ProtobufCS-2.4.1.473/,+1d' HeuristicLab.ExtLibs.sln > tmp 14 mv tmp HeuristicLab.ExtLibs.sln 13 unamestr=`uname` 14 if [[ "$unamestr" == 'Darwin' ]]; then 15 16 awk '/ProtocolBuffers-2.4.1.473|ProtoGen-2.4.1.473|HeuristicLab.ProtobufCS-2.4.1.473/ {while (/ProtocolBuffers-2.4.1.473|ProtoGen-2.4.1.473|HeuristicLab.ProtobufCS-2.4.1.473/ && getline>0) ; next} 1' HeuristicLab.ExtLibs.sln > tmp 17 mv tmp HeuristicLab.ExtLibs.sln 15 18 16 sed -e '/HeuristicLab.Problems.ExternalEvaluation-3.3/,+1d' -e '/HeuristicLab.Problems.ExternalEvaluation.GP-3.4/,+1d' -e '/HeuristicLab.Problems.ExternalEvaluation.Views-3.3/,+1d' "HeuristicLab 3.3.sln" > tmp 17 mv tmp "HeuristicLab 3.3.sln" 19 awk '/HeuristicLab.Problems.ExternalEvaluation-3.3|HeuristicLab.Problems.ExternalEvaluation.GP-3.4|HeuristicLab.Problems.ExternalEvaluation.Views-3.3/ {while (/HeuristicLab.Problems.ExternalEvaluation-3.3|HeuristicLab.Problems.ExternalEvaluation.GP-3.4|HeuristicLab.Problems.ExternalEvaluation.Views-3.3/ && getline>0) ; next} 1' "HeuristicLab 3.3.sln" > tmp 20 mv tmp "HeuristicLab 3.3.sln" 21 22 elif [[ "$unamestr" == 'Linux' ]]; then 23 sed -e '/ProtocolBuffers-2.4.1.473/,+1d' -e '/ProtoGen-2.4.1.473/,+1d' -e '/HeuristicLab.ProtobufCS-2.4.1.473/,+1d' HeuristicLab.ExtLibs.sln > tmp 24 mv tmp HeuristicLab.ExtLibs.sln 25 26 sed -e '/HeuristicLab.Problems.ExternalEvaluation-3.3/,+1d' -e '/HeuristicLab.Problems.ExternalEvaluation.GP-3.4/,+1d' -e '/HeuristicLab.Problems.ExternalEvaluation.Views-3.3/,+1d' "HeuristicLab 3.3.sln" > tmp 27 mv tmp "HeuristicLab 3.3.sln" 28 else 29 echo "Unsupported operating system, compiling HeuristicLab may not work!" 30 fi 18 31 19 32
Note: See TracChangeset
for help on using the changeset viewer.