mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 16:14:38 +00:00
1.7 KiB
1.7 KiB
Windows Scripts
This folder contains a series of scripts to build and deploy MeshLab under a Windows environment. Note: scripts are written in bash, therefore they should be run in a linux subsystem environment.
1_build.sh: this script builds MeshLab in a Windows environment:- it requires a properly set Visual Studio (>=2015) and MSVC compiler;
- it requires a properly set Qt environment;
cmakein the PATH env variable;- takes as arguments:
- the build directory (default:
src/build):--build_path=path/to/build - the install directory (default:
src/install):--install_path=path/to/install - the number of cores used to build MeshLab (default:
-j4)` - the possibility to build MeshLab with double precision scalar:
--double_precision
- the build directory (default:
2_deploy.sh: this script makes the given path a portable version of MeshLab. Takes as arguments:- the path where the output install path of the
1_build.shscript is placed (default:src/install):--install_path=path/to/install
- the path where the output install path of the
3_installer.sh: this script computes, starting from the portable folder of MeshLab, an NSIS installer. Takes as arguments:- the path where the output install path of the
2_deploy.shscript is placed (default:src/install):--install_path=path/to/install - if MeshLab has been built with double precision scalar, add:
--double_precision - it requires
makensis.exein the PATH env variable.
- the path where the output install path of the
Examples
Building MeshLab on Windows, having VisualStudio, MSVC and Qt installed, cmake in the PATH (build placed in meshlab/src/build):
git clone --recursive https://github.com/cnr-isti-vclab/meshlab
sh meshlab/scripts/Windows/1_build.sh