Skip to content

Commit

Permalink
Added create-sdk under Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tundranerd committed Oct 30, 2023
1 parent da5beb3 commit 43acaba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/Windows/create-sdk.sh
Original file line number Diff line number Diff line change
@@ -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/" \;

0 comments on commit 43acaba

Please sign in to comment.