Start setting up 1-liner conda build

This commit is contained in:
Jeffrey Zampieron
2020-08-31 13:33:08 -04:00
committed by wwmayer
parent 27f1c89100
commit 88b0277bea
2 changed files with 5 additions and 31 deletions

View File

@@ -1,27 +0,0 @@
#!/usr/bin/env bash
BREW_LIST=(ninja \
doxygen \
hdf5@1.10 \
boost \
xerces-c \
opencascade \
vtk \
swig \
qt5 \
freecad/freecad/coin \
boost-python3 \
pcl \
pyside \
libspnav \
pybind11 \
)
for pkg in ${BREW_LIST[@]}; do
echo "Brew Installing Pkg: ${pkg}"
brew install ${pkg}
if [ $? != 0 ]; then
echo "Failed to install ${pkg}"
exit 1
fi
done

View File

@@ -1,14 +1,15 @@
##!/usr/bin/env bash
BUILDDIR=freecad_build
HOST=$(uname)
mkdir -p build
cd build
mkdir -p ${BUILDDIR}
pushd ${BUILDDIR}
if [[ ${FEATURE_DEBUG} = 1 ]]; then
BUILD_TYPE="Debug"
BUILD_TYPE="Debug"
else
BUILD_TYPE="Release"
BUILD_TYPE="Release"
fi
declare -a CMAKE_PLATFORM_FLAGS