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 320c186 commit e3a00a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Fusion/Generate3P.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ mkdir $SDKARTIFACT/win64_0/headers
mkdir $SDKARTIFACT/win64_0/libs
mkdir $SDKARTIFACT/win64_0/libs/Debug
mkdir $SDKARTIFACT/win64_0/libs/Release
mkdir $SDKARTIFACT/win64_0/runtimeroots
mkdir $SDKARTIFACT/win64_0/runtimeroots/Release

mkdir $SDKARTIFACT/mac64_0
Expand Down Expand Up @@ -45,7 +46,7 @@ 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 e3a00a0

Please sign in to comment.