diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-01-12 15:22:45 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-01-12 15:22:45 (GMT) |
commit | 6d0622c0bb8f0e52589c82252f2cc1eb847ad9bf (patch) | |
tree | cbb87d3447f0972fe61d7db8454804035d4f1184 /contrib | |
parent | 9e7e73725c20fbc95dccd9c1477a4d7c907be321 (diff) | |
download | uscxml-6d0622c0bb8f0e52589c82252f2cc1eb847ad9bf.zip uscxml-6d0622c0bb8f0e52589c82252f2cc1eb847ad9bf.tar.gz uscxml-6d0622c0bb8f0e52589c82252f2cc1eb847ad9bf.tar.bz2 |
Started to fix Windows compilation issues
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/cmake/FunctionExists.cmake | 2 | ||||
-rw-r--r-- | contrib/cmake/HeaderExists.cmake | 2 | ||||
-rwxr-xr-x | contrib/local/compress_and_upload_deps.sh | 14 |
3 files changed, 14 insertions, 4 deletions
diff --git a/contrib/cmake/FunctionExists.cmake b/contrib/cmake/FunctionExists.cmake new file mode 100644 index 0000000..d2877a1 --- /dev/null +++ b/contrib/cmake/FunctionExists.cmake @@ -0,0 +1,2 @@ +include(CheckFunctionExists) +CHECK_FUNCTION_EXISTS(strndup HAS_STRNDUP) diff --git a/contrib/cmake/HeaderExists.cmake b/contrib/cmake/HeaderExists.cmake new file mode 100644 index 0000000..09eabbe --- /dev/null +++ b/contrib/cmake/HeaderExists.cmake @@ -0,0 +1,2 @@ +include(CheckIncludeFile) +CHECK_INCLUDE_FILE(unistd.h HAS_UNISTD_H) diff --git a/contrib/local/compress_and_upload_deps.sh b/contrib/local/compress_and_upload_deps.sh index 641219d..9f64118 100755 --- a/contrib/local/compress_and_upload_deps.sh +++ b/contrib/local/compress_and_upload_deps.sh @@ -22,11 +22,17 @@ if [ ! -d $1 ]; then exit fi -PLATFORM=`basename $1` VERSION=$2 cd ../prebuilt -tar cvzf uscxml-prebuilt-${PLATFORM}.tgz ${PLATFORM} -scp uscxml-prebuilt-${PLATFORM}.tgz ${UMUNDO_PREBUILT_HOST}/${VERSION} -rm uscxml-prebuilt-${PLATFORM}.tgz
\ No newline at end of file +PLATFORMS=`find . -maxdepth 1 -type d -regex ./[^\.].*` +for FILE in ${PLATFORMS}; do + PLATFORM=`basename $FILE` + if [ "$PLATFORM" != "include" ]; then + echo $FILE + tar cvzf uscxml-prebuilt-${PLATFORM}.tgz ${FILE} + scp uscxml-prebuilt-${PLATFORM}.tgz ${UMUNDO_PREBUILT_HOST}/${VERSION} + rm uscxml-prebuilt-${PLATFORM}.tgz + fi +done
\ No newline at end of file |