From 43acabac5e971f3e38ffe365ababf871c22befc9 Mon Sep 17 00:00:00 2001 From: John Haynes Date: Sun, 29 Oct 2023 18:03:41 -0600 Subject: [PATCH] Added create-sdk under Windows --- ci/Windows/create-sdk.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 ci/Windows/create-sdk.sh diff --git a/ci/Windows/create-sdk.sh b/ci/Windows/create-sdk.sh new file mode 100755 index 000000000..66126a0dc --- /dev/null +++ b/ci/Windows/create-sdk.sh @@ -0,0 +1,7 @@ +#! /bin/bash +TARGET_DIR="${TARGET_DIR:-febio4-sdk}" +mkdir -p ${TARGET_DIR}/{include,lib,bin} +# Gotta use rsync macos cp doesn't support --parent +find . -name "*.h*" -type f -not -path "./infrastructure/*" -not -path "./${TARGET_DIR}/*" -exec rsync -R -dir {} "./${TARGET_DIR}/include/" \; +find cmbuild/lib -name "*" -type f -exec cp -a {} "./${TARGET_DIR}/lib/" \; +find cmbuild/bin -name "*" -type f -exec cp -a {} "./${TARGET_DIR}/bin/" \;