Skip to content

Commit

Permalink
fixing bash script for fusion 3p
Browse files Browse the repository at this point in the history
  • Loading branch information
gangatp committed Feb 21, 2024
1 parent 44438a3 commit 320c186
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Fusion/Generate3P.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ cp -r Autogenerated/Bindings/CppDynamic $SDKARTIFACT/win64_0/headers
cp -r Autogenerated/Bindings/Cpp $SDKARTIFACT/mac64_0/headers
cp -r Autogenerated/Bindings/CppDynamic $SDKARTIFACT/mac64_0/headers

cp -r Autogenerated/Bindings/Cpp mkdir $SDKARTIFACT/linux_0/inc
cp -r Autogenerated/Bindings/CppDynamic mkdir $SDKARTIFACT/linux_0/inc
cp -r Autogenerated/Bindings/Cpp $SDKARTIFACT/linux_0/inc
cp -r Autogenerated/Bindings/CppDynamic $SDKARTIFACT/linux_0/inc


major_version =($grep -oPm1 "(?<=lib3mf\"\sversion=\")[^.]+" AutomaticComponentToolkit/lib3mf.xml)
major_version =$(grep -oPm1 "(?<=lib3mf\"\sversion=\")[^.]+" AutomaticComponentToolkit/lib3mf.xml)

echo Copy binaries
cp $LOCATION/lib3mf.dll/lib3mf.dll $SDKARTIFACT/win64_0/libs/Release/lib3mf.$major_version.dll || failed "Error copying binary"
Expand Down

0 comments on commit 320c186

Please sign in to comment.