rm -rf CuraEngine
git clone ${CURA_ENGINE_REPO}
if [ $? != 0 ]; then echo "Failed to clone CuraEngine"; exit 1; fi
- make -C CuraEngine
+ make -C CuraEngine VERSION=${BUILD_NAME}
if [ $? != 0 ]; then echo "Failed to build CuraEngine"; exit 1; fi
cp CuraEngine/CuraEngine scripts/darwin/dist/Cura.app/Contents/Resources/CuraEngine
rm -rf CuraEngine
git clone ${CURA_ENGINE_REPO}
if [ $? != 0 ]; then echo "Failed to clone CuraEngine"; exit 1; fi
- make -C CuraEngine
+ make -C CuraEngine VERSION=${BUILD_NAME}
if [ $? != 0 ]; then echo "Failed to build CuraEngine"; exit 1; fi
rm -rf scripts/linux/${BUILD_TARGET}/usr/share/cura
mkdir -p scripts/linux/${BUILD_TARGET}/usr/share/cura
rm -rf ${TARGET_DIR}/python/Lib/OpenGL/DLLS/gle*
#Build the C++ engine
- mingw32-make -C CuraEngine
+ mingw32-make -C CuraEngine VERSION=${BUILD_NAME}
if [ $? != 0 ]; then echo "Failed to build CuraEngine"; exit 1; fi
fi