Changeset 87909 in vbox for trunk/tools
- Timestamp:
- Mar 2, 2021 11:58:33 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bin/gen-slickedit-workspace.sh
r87331 r87909 102 102 export MY_GET_NAME=$1 103 103 } 104 105 ## 106 # Gets the newest version of a library (like openssl). 107 # 108 # @param $1 The library base path relative to root. 109 my_get_newest_ver() 110 { 111 cd "${MY_ABS_DIR}" 112 latest= 113 for ver in "$1"*; 114 do 115 if test -z "${latest}" || "${MY_EXPR}" "${ver}" ">" "${latest}"; then 116 latest="${ver}" 117 fi 118 done 119 if test -z "${latest}"; then 120 echo "error: could not find any version of: $1" >&2; 121 exit 1; 122 fi 123 echo "${latest}" 124 return 0; 125 } 126 104 127 105 128 ## … … 1182 1205 1183 1206 # A few things from src/lib 1184 my_generate_project "zlib" "src/libs/zlib-1.2.11" --begin-incs "include" --end-includes "src/libs/zlib-1.2.11/*.c" "src/libs/zlib-1.2.11/*.h" 1185 my_generate_project "liblzf" "src/libs/liblzf-3.4" --begin-incs "include" --end-includes "src/libs/liblzf-3.4" 1186 my_generate_project "libpng" "src/libs/libpng-1.6.36" --begin-incs "include" --end-includes "src/libs/libpng-1.6.36/*.c" "src/libs/libpng-1.6.36/*.h" 1187 my_generate_project "openssl" "src/libs/openssl-1.1.1i" --begin-incs "include" "src/libs/openssl-1.1.1i/crypto" --end-includes "src/libs/openssl-1.1.1i" 1188 my_generate_project "curl" "src/libs/curl-7.64.0" --begin-incs "include" "src/libs/curl-7.64.0/include" --end-includes "src/libs/curl-7.64.0" 1207 lib=$(my_get_newest_ver src/libs/zlib) 1208 my_generate_project "zlib" "${lib}" --begin-incs "include" --end-includes "${lib}/*.c" "${lib}/*.h" 1209 lib=$(my_get_newest_ver src/libs/liblzf) 1210 my_generate_project "liblzf" "${lib}" --begin-incs "include" --end-includes "${lib}" 1211 lib=$(my_get_newest_ver src/libs/libpng) 1212 my_generate_project "libpng" "${lib}" --begin-incs "include" --end-includes "${lib}/*.c" "${lib}/*.h" 1213 lib=$(my_get_newest_ver src/libs/openssl) 1214 my_generate_project "openssl" "${lib}" --begin-incs "include" "${lib}/crypto" --end-includes "${lib}" 1215 lib=$(my_get_newest_ver src/libs/curl) 1216 my_generate_project "curl" "${lib}" --begin-incs "include" "${lib}/include" --end-includes "${lib}" 1189 1217 1190 1218 # webtools
Note:
See TracChangeset
for help on using the changeset viewer.