You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
394 B
14 lines
394 B
6 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
|
||
|
|
||
|
ESCAPEDSRCROOT="$(pwd | sed 's/\//\\\//g')";
|
||
|
mkdir -p xcode;
|
||
|
cd xcode &&
|
||
|
cmake -G Xcode .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl &&
|
||
|
echo "$ 's/$ESCAPEDSRCROOT/\${SRCROOT}/g'" && #remove personally identifying info of proj generator
|
||
|
LC_CTYPE=C LANG=C find TEST.xcodeproj -type f -print0 -exec sed -i "" 's/'"$ESCAPEDSRCROOT"'/${SRCROOT}/g' {} + &&
|
||
|
|
||
|
echo "" #newline
|
||
|
|