mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 00:07:24 +00:00
move build and install dirs on macos outside src
This commit is contained in:
parent
e17459c7bd
commit
445f870215
1
.github/workflows/AutoMergeMainOnDevel.yml
vendored
1
.github/workflows/AutoMergeMainOnDevel.yml
vendored
@ -7,6 +7,7 @@ on:
|
||||
|
||||
jobs:
|
||||
auto_merge:
|
||||
if: github.repository_owner == 'cnr-isti-vclab'
|
||||
name: Automatic Merge Main On Devel
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
10
.github/workflows/CreateRelease.yml
vendored
10
.github/workflows/CreateRelease.yml
vendored
@ -117,17 +117,17 @@ jobs:
|
||||
p12-password: ${{ secrets.MACOS_CERTIFICATE_PSSW }}
|
||||
- name: Sign
|
||||
run: |
|
||||
codesign --options "runtime" --timestamp --force --deep --sign ${{ secrets.MACOS_CERT_ID }} src/install/meshlab.app
|
||||
codesign --options "runtime" --timestamp --force --deep --sign ${{ secrets.MACOS_CERT_ID }} install/meshlab.app
|
||||
- name: Notarize
|
||||
uses: devbotsxyz/xcode-notarize@v1
|
||||
with:
|
||||
product-path: "src/install/meshlab.app"
|
||||
product-path: "install/meshlab.app"
|
||||
appstore-connect-username: ${{ secrets.MACOS_NOTARIZATION_USER }}
|
||||
appstore-connect-password: ${{ secrets.MACOS_NOTARIZATION_PSSW }}
|
||||
- name: "Staple Release"
|
||||
uses: devbotsxyz/xcode-staple@v1
|
||||
with:
|
||||
product-path: "src/install/meshlab.app"
|
||||
product-path: "install/meshlab.app"
|
||||
- name: Create MeshLab DMG
|
||||
shell: bash
|
||||
run: |
|
||||
@ -136,12 +136,12 @@ jobs:
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: meshlab_macos_portable${{steps.envs.outputs.artifact_suffix}}
|
||||
path: src/install/MeshLab*.app
|
||||
path: install/MeshLab*.app
|
||||
- name: Upload DMG
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: meshlab_macos_dmg${{steps.envs.outputs.artifact_suffix}}
|
||||
path: src/install/MeshLab*-macos.dmg
|
||||
path: install/MeshLab*-macos.dmg
|
||||
|
||||
windows_build:
|
||||
needs: [update_ml_version]
|
||||
|
||||
4
.github/workflows/MacOS.yml
vendored
4
.github/workflows/MacOS.yml
vendored
@ -46,9 +46,9 @@ jobs:
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: meshlab_macos_portable${{steps.envs.outputs.artifact_suffix}}
|
||||
path: src/install/MeshLab*.app
|
||||
path: install/MeshLab*.app
|
||||
- name: Upload DMG
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: meshlab_macos_dmg${{steps.envs.outputs.artifact_suffix}}
|
||||
path: src/install/MeshLab*.dmg
|
||||
path: install/MeshLab*.dmg
|
||||
|
||||
5
.gitignore
vendored
5
.gitignore
vendored
@ -17,9 +17,8 @@
|
||||
*.db-wal
|
||||
*.AppImage
|
||||
.DS_Store
|
||||
distrib*
|
||||
src/build/*
|
||||
src/install/*
|
||||
build/*
|
||||
install/*
|
||||
src/external/boost_1_75_0
|
||||
src/external/CGAL-5.2.1
|
||||
install/macos/resources/meshlab_dmg_final.json
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
# Requires a Qt environment which is set-up properly, and an accessible
|
||||
# cmake binary.
|
||||
#
|
||||
# Without given arguments, MeshLab will be built in the meshlab/src/build
|
||||
# directory, and installed in $BUILD_PATH/../install.
|
||||
# Without given arguments, MeshLab will be built in the meshlab/build
|
||||
# directory, and installed in meshlab/install.
|
||||
#
|
||||
# You can give as argument the BUILD_PATH and the INSTALL_PATH in the
|
||||
# following way:
|
||||
@ -15,8 +15,8 @@
|
||||
SCRIPTS_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
SOURCE_PATH=$SCRIPTS_PATH/../../src
|
||||
RESOURCES_PATH=$SCRIPTS_PATH/../../resources
|
||||
BUILD_PATH=$SOURCE_PATH/build
|
||||
INSTALL_PATH=$SOURCE_PATH/install
|
||||
BUILD_PATH=$SOURCE_PATH/../build
|
||||
INSTALL_PATH=$SOURCE_PATH/../install
|
||||
CORES="-j4"
|
||||
DOUBLE_PRECISION_OPTION=""
|
||||
NIGHTLY_OPTION=""
|
||||
|
||||
@ -2,14 +2,16 @@
|
||||
# this is a script shell for deploying a meshlab-portable app.
|
||||
# Requires a properly built meshlab.
|
||||
#
|
||||
# Without given arguments, the folder that will be deployed is meshlab/distrib.
|
||||
# Without given arguments, the folder that will be deployed is meshlab/install.
|
||||
#
|
||||
# You can give as argument the DISTRIB_PATH.
|
||||
# You can give as argument the INSTALL_PATH in the following way:
|
||||
# bash 2_deploy.sh --install_path=/path/to/install
|
||||
# -i argument is also supported.
|
||||
#
|
||||
# After running this script, $DISTRIB_PATH/meshlab.app will be a portable meshlab application.
|
||||
# After running this script, $INSTALL_PATH/meshlab.app will be a portable meshlab application.
|
||||
|
||||
SCRIPTS_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
INSTALL_PATH=$SCRIPTS_PATH/../../src/install
|
||||
INSTALL_PATH=$SCRIPTS_PATH/../../install
|
||||
APPNAME="meshlab.app"
|
||||
|
||||
#checking for parameters
|
||||
@ -49,4 +51,4 @@ ${MACDEPLOYQT_EXE} $INSTALL_PATH/$APPNAME \
|
||||
-executable=$INSTALL_PATH/$APPNAME/Contents/PlugIns/libfilter_mesh_booleans.so \
|
||||
-executable=$INSTALL_PATH/$APPNAME/Contents/PlugIns/libfilter_screened_poisson.so \
|
||||
-executable=$INSTALL_PATH/$APPNAME/Contents/PlugIns/libfilter_sketchfab.so \
|
||||
-executable=$INSTALL_PATH/$APPNAME/Contents/PlugIns/libio_e57.so
|
||||
-executable=$INSTALL_PATH/$APPNAME/Contents/PlugIns/libio_e57.so
|
||||
|
||||
@ -11,8 +11,7 @@
|
||||
|
||||
SCRIPTS_PATH=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
|
||||
RESOURCES_PATH=$SCRIPTS_PATH/../../resources
|
||||
INSTALL_PATH=$SCRIPTS_PATH/../../src/install
|
||||
ML_VERSION=$(cat $SCRIPTS_PATH/../../ML_VERSION)
|
||||
INSTALL_PATH=$SCRIPTS_PATH/../../install
|
||||
|
||||
#checking for parameters
|
||||
for i in "$@"
|
||||
|
||||
@ -4,9 +4,9 @@
|
||||
# Requires a Qt environment which is set-up properly, and an accessible
|
||||
# cmake binary.
|
||||
#
|
||||
# Without given arguments, MeshLab will be built in the meshlab/src/build,
|
||||
# the folder meshlab/src/install will contain meshlab.app and
|
||||
# the DMG will be placed in meshlab/src.
|
||||
# Without given arguments, MeshLab will be built in the meshlab/build,
|
||||
# the folder meshlab/install will contain meshlab.app and
|
||||
# the DMG will be placed in the meshlab directory.
|
||||
#
|
||||
# You can give as argument the build path, the install path (that will contain
|
||||
# the portable version of MeshLab), and the number of cores to use to build MeshLab
|
||||
@ -18,8 +18,8 @@
|
||||
|
||||
SCRIPTS_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
SOURCE_PATH=$SCRIPTS_PATH/../../src
|
||||
BUILD_PATH=$SOURCE_PATH/build
|
||||
INSTALL_PATH=$SOURCE_PATH/install
|
||||
BUILD_PATH=$SOURCE_PATH/../build
|
||||
INSTALL_PATH=$SOURCE_PATH/../install
|
||||
CORES="-j4"
|
||||
DOUBLE_PRECISION_OPTION=""
|
||||
|
||||
@ -28,24 +28,24 @@ for i in "$@"
|
||||
do
|
||||
case $i in
|
||||
-b=*|--build_path=*)
|
||||
BUILD_PATH="${i#*=}"
|
||||
shift # past argument=value
|
||||
;;
|
||||
BUILD_PATH="${i#*=}"
|
||||
shift # past argument=value
|
||||
;;
|
||||
-i=*|--install_path=*)
|
||||
INSTALL_PATH="${i#*=}"/usr/
|
||||
shift # past argument=value
|
||||
;;
|
||||
INSTALL_PATH="${i#*=}"/usr/
|
||||
shift # past argument=value
|
||||
;;
|
||||
-j*)
|
||||
CORES=$i
|
||||
shift # past argument=value
|
||||
;;
|
||||
CORES=$i
|
||||
shift # past argument=value
|
||||
;;
|
||||
--double_precision)
|
||||
DOUBLE_PRECISION_OPTION="--double_precision"
|
||||
shift # past argument=value
|
||||
;;
|
||||
DOUBLE_PRECISION_OPTION="--double_precision"
|
||||
shift # past argument=value
|
||||
;;
|
||||
*)
|
||||
# unknown option
|
||||
;;
|
||||
# unknown option
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user