22 lines
746 B
Bash
22 lines
746 B
Bash
#!/usr/bin/env bash
|
|
mkdir -p 'dependencies/precompiled'
|
|
DEP_WORKING_DIR='dependencies/precompiled'
|
|
DEP_PRE_BUILD_COMMAND=''
|
|
DEP_BUILD_COMMAND=''
|
|
DEP_POST_BUILD_COMMAND=''
|
|
DEP_CLEAN_COMMAND=''
|
|
# won't be copied to project $OUTDIR
|
|
DEP_STATIC_OUT_FILES=$(find dependencies/precompiled -name '*.a' | sed 's,dependencies/precompiled/,,')
|
|
# will be copied tp project $OUTDIR
|
|
case $OS in
|
|
WINDOWS)
|
|
DEP_DYNAMIC_OUT_FILES=$(find dependencies/precompiled -name '*.dll' | sed 's,dependencies/precompiled/,,')
|
|
;;
|
|
LINUX)
|
|
DEP_DYNAMIC_OUT_FILES=$(find dependencies/precompiled -name '*.so' | sed 's,dependencies/precompiled/,,')
|
|
;;
|
|
*)
|
|
error "operating system $OS has no configuration variants"
|
|
;;
|
|
esac
|