Skip to content
Snippets Groups Projects
Commit 5984e9d0 authored by Carl Philipp Klemm's avatar Carl Philipp Klemm
Browse files

windows package: add readme

parent 5b015abf
Branches
No related tags found
No related merge requests found
#!/bin/bash -e
PORJECT_NAME=@PROJECT_NAME@
SYSTEM_PROC=@CMAKE_SYSTEM_PROCESSOR@
ONNXNAME="@ONNX_NAME@"
SYSTEM_PROC=AMD64
VERSION="@CMAKE_PROJECT_VERSION_MAJOR@.@CMAKE_PROJECT_VERSION_MINOR@.@CMAKE_PROJECT_VERSION_PATCH@"
BINARYDIR="@CMAKE_CURRENT_BINARY_DIR@"
SRCDIR="@CMAKE_CURRENT_SOURCE_DIR@"
RELDIRECTORY="$BINARYDIR/packaged/$VERSION/release"
ZIPNAME=$PROJECTNAME-$SYSTEM_PROC-$VERSION
ZIPNAME=$PORJECT_NAME-$SYSTEM_PROC-$VERSION
rm $BINARYDIR/packaged/$ZIPNAME.zip || true
cd $BINARYDIR
......@@ -18,5 +17,6 @@ cp libeisgenerator_static.a $RELDIRECTORY
cp eisgenerator_export.exe $RELDIRECTORY
cp eisgenerator_test.exe $RELDIRECTORY
cp $SRCDIR/gpl-3.0.txt $SRCDIR/lgpl-3.0.txt $RELDIRECTORY
cp $SRCDIR/README.md $RELDIRECTORY
cd $RELDIRECTORY/..
zip -r $BINARYDIR/packaged/$ZIPNAME.zip release
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment