Skip to content

Commit

Permalink
CMake builds now only generates "Target.so" file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ghorwin committed Jul 10, 2023
1 parent c9c7cae commit fed3c88
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions data/FMI_template/build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,11 @@ cd $BUILD_SCRIPT_DIR &&
mkdir -p ../bin/release &&
# copy for Linux/Unix builds
if [ -e $BUILDDIR/$FMU_SHARED_LIB_NAME.so ]; then
cp -f $BUILDDIR/$FMU_SHARED_LIB_NAME.so.$FMU_SHARED_LIB_VERSION ../bin/release/$FMU_SHARED_LIB_NAME.so.$FMU_SHARED_LIB_VERSION &&
echo "Copied $FMU_SHARED_LIB_NAME.so.$FMU_SHARED_LIB_VERSION to bin/release ***"
cp -f $BUILDDIR/$FMU_SHARED_LIB_NAME.so.$FMU_SHARED_LIB_VERSION ../bin/release/$FMU_SHARED_LIB_TARGET_NAME.so &&
echo "Created ../bin/release/$FMU_SHARED_LIB_TARGET_NAME.so ***"
fi &&
# copy for Mac builds
if [ -e $BUILDDIR/$FMU_SHARED_LIB_NAME.dylib ]; then
cp -f $BUILDDIR/$FMU_SHARED_LIB_NAME.$FMU_SHARED_LIB_VERSION.dylib ../bin/release/$FMU_SHARED_LIB_NAME.$FMU_SHARED_LIB_VERSION.dylib &&
echo "Copied $FMU_SHARED_LIB_NAME.$FMU_SHARED_LIB_VERSION.dylib to bin/release ***"
cp -f $BUILDDIR/$FMU_SHARED_LIB_NAME.$FMU_SHARED_LIB_VERSION.dylib ../bin/release/$FMU_SHARED_LIB_TARGET_NAME.dylib &&
echo "Created ../bin/release/$FMU_SHARED_LIB_TARGET_NAME.dylib ***"
fi
Expand Down

0 comments on commit fed3c88

Please sign in to comment.