summaryrefslogtreecommitdiffstats
path: root/contrib/build-scripts/platform-id-mac.sh
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-05-12 13:12:33 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-05-12 13:12:33 (GMT)
commitb62e7979600feee23dc7cdb61042a8fc7673122b (patch)
treef7351372f37979dd2d048e0b68a16a4cd3b2aadb /contrib/build-scripts/platform-id-mac.sh
parent1b11b310be61e51b3ac5ebb83f7c8a33aef3d6e8 (diff)
downloaduscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.zip
uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.gz
uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.bz2
Major Refactoring v2.0
Diffstat (limited to 'contrib/build-scripts/platform-id-mac.sh')
-rwxr-xr-xcontrib/build-scripts/platform-id-mac.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/contrib/build-scripts/platform-id-mac.sh b/contrib/build-scripts/platform-id-mac.sh
deleted file mode 100755
index b105be3..0000000
--- a/contrib/build-scripts/platform-id-mac.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-function version {
- echo "$@" | awk -F. '{ printf("%03d%03d%03d\n", $1,$2,$3); }';
-}
-
-CMAKE_INFO=`cmake --system-information 2> /dev/null`
-
-CURRENT_OSX_VERSION=`echo "$CMAKE_INFO" |grep CURRENT_OSX_VERSION |grep -v _CURRENT_OSX_VERSION | awk '{print $2}' |sed 's/\"//g'`
-CMAKE_CXX_COMPILER_ID=`echo "$CMAKE_INFO" |grep 'CMAKE_CXX_COMPILER_ID ' | awk '{print tolower($2)}' |sed 's/\"//g' | sed 's/apple//g'`
-CPU=`uname -m`
-
-CPP_LIB="libc++"
-if [ "$(version "10.9.0")" -gt "$(version "$CURRENT_OSX_VERSION")" ]; then
- # pre-mavericks
- CPP_LIB="libstdc++"
-fi
-
-echo "darwin-${CPU}-${CMAKE_CXX_COMPILER_ID}-${CPP_LIB}"