3 # updates a vcxproj that had been converted from prior visual studio 2005
8 outdir="$HOME/fixed_proj"
10 if [ ! -d "$outdir" ]; then mkdir -p $outdir; fi
12 for i in ${parms[*]}; do
14 base=$(basename "$curr_parm")
18 sed -e 's/<PlatformToolset>v80<\/PlatformToolset>/<PlatformToolset>v100<\/PlatformToolset>/g' |
19 sed -e 's/ide_files/build/g' |
20 sed -e 's/release_[de][lx][el]/release/g' |
21 sed -e 's/debug_[de][lx][el]/debug/g' |
22 sed -e 's/<IntDir .*<\/IntDir>//g' |
23 sed -e 's/<OutDir .*<\/OutDir>//g' |
24 sed -e 's/<OutputPath.*<\/OutputPath>//g' |
25 sed -e 's/<TargetFrameworkVersion>v2.0<\/TargetFrameworkVersion>/<TargetFrameworkVersion>v4.0<\/TargetFrameworkVersion>/g' |
26 sed -e 's/\.\.\\\.\.\\\.\.\\build/\.\.\\\.\.\\\.\.\\\.\.\\\.\.\\build/g' |
27 sed -e 's/\.\.\\\.\.\\lib_src/\.\.\\\.\.\\\.\.\\\.\.\\\.\.\\libraries/g' |