-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
68b994c
commit 080cf39
Showing
3 changed files
with
15 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#! /bin/bash | ||
mkdir -p febio-sdk/{include,lib,bin} | ||
find . -name "*.h*" -type f -exec cp --parents -a {} ./febio-sdk/include/ \; | ||
find cmbuild/lib -name "*" -type f -exec cp -a {} ./febio-sdk/lib/ \; | ||
find cmbuild/bin -name "*" -type f -exec cp -a {} ./febio-sdk/bin/ \; | ||
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/" \; |