Changeset 223
- Timestamp:
- 06/16/11 15:31:48 (13 years ago)
- Location:
- XMLIO_V2/dev/common
- Files:
-
- 6 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/common/tools/xiosInstall
r222 r223 15 15 "--debug") compil_mode="debug" ; shift ;; 16 16 "--arch") arch=$2 ; shift ; shift ;; 17 "--doc") doc="true" ; shift ;; 17 18 *) code="$1" ; shift ;; 18 19 esac 19 20 done 20 21 22 # Vérification de la présence d'un identifiant d'architecture. 23 21 24 if [[ !(-z $arch) ]] 22 25 then 23 rm -f arch.path24 rm -f arch.fcm25 ln -s arch/arch-${arch}.path ./arch.path26 ln -s arch/arch-${arch}.fcm ./arch.fcm27 source arch.path26 rm -f $install_dir/arch.path 27 rm -f $install_dir/arch.fcm 28 ln -s $install_dir/arch/arch-${arch}.path $install_dir/arch.path 29 ln -s $install_dir/arch/arch-${arch}.fcm $install_dir/arch.fcm 30 source $install_dir/arch.path 28 31 else 29 32 echo "Veuillez definir une architecture cible !" 30 33 exit 1 34 fi 35 36 # Vérification de la présence d'un mode de compilation. 37 38 if [[ "$compil_mode" == "prod" ]] 39 then 40 COMPIL_CFLAGS="%PROD_CFLAGS" 41 COMPIL_FFLAGS="%PROD_FFLAGS" 42 elif [[ "$compil_mode" == "dev" ]] 43 then 44 COMPIL_CFLAGS="%DEV_CFLAGS" 45 COMPIL_FFLAGS="%DEV_FFLAGS" 46 elif [[ "$compil_mode" == "debug" ]] 47 then 48 COMPIL_CFLAGS="%DEBUG_CFLAGS" 49 COMPIL_FFLAGS="%DEBUG_FFLAGS" 50 else 51 echo "Veuillez definir un mode de compilation [debug|dev|prod] !" 31 52 fi 32 53
Note: See TracChangeset
for help on using the changeset viewer.