mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-18 02:24:38 +00:00
158 lines
5.3 KiB
Prolog
158 lines
5.3 KiB
Prolog
# MeshLab main configuration file for qmake
|
|
# To compile meshlab:
|
|
# - qmake
|
|
# - make
|
|
#
|
|
# If you want to compile meshlab_mini (just a subset of plugins):
|
|
# - qmake "CONFIG += meshlab_mini"
|
|
#
|
|
# MeshLab qmake config uses the following variables:
|
|
#
|
|
# MESHLAB_SOURCE_DIRECTORY: the directory where is placed the main meshlab.pro
|
|
# MESHLAB_BUILD_DIRECTORY: the directory where the meshlab build files are placed
|
|
# MESHLAB_DISTRIB_DIRECTORY: the directory that will contain all the files necessary
|
|
# for a portable version (after a build)
|
|
# (if shadow build, will be MESHLAB_BUILD_DIRECTORY/distrib)
|
|
# MESHLAB_EXTERNAL_DIRECTORY: the directory where external libraries are placed
|
|
#
|
|
|
|
TEMPLATE = subdirs
|
|
CONFIG += ordered
|
|
|
|
message("DISTRIB_DIRECTORY: "$$MESHLAB_DISTRIB_DIRECTORY)
|
|
|
|
SUBDIRS = \
|
|
external \
|
|
common \
|
|
meshlab \
|
|
meshlabserver \
|
|
meshlabplugins/io_base \ # a few basic file formats (ply, obj, off), without this you cannot open anything
|
|
meshlabplugins/decorate_base \
|
|
meshlabplugins/filter_measure \
|
|
meshlabplugins/filter_meshing
|
|
|
|
|
|
!meshlab_mini {
|
|
|
|
SUBDIRS += \
|
|
# IO plugins
|
|
meshlabplugins/io_3ds \
|
|
meshlabplugins/io_bre \
|
|
meshlabplugins/io_collada \
|
|
meshlabplugins/io_ctm \
|
|
meshlabplugins/io_expe \
|
|
meshlabplugins/io_json \
|
|
meshlabplugins/io_tri \
|
|
meshlabplugins/io_x3d \
|
|
meshlabplugins/io_pdb \
|
|
meshlabplugins/io_txt \
|
|
meshlabplugins/io_u3d \
|
|
# Filter plugins
|
|
meshlabplugins/filter_ao \
|
|
meshlabplugins/filter_camera \
|
|
meshlabplugins/filter_clean \
|
|
meshlabplugins/filter_color_projection \
|
|
meshlabplugins/filter_colorproc \
|
|
meshlabplugins/filter_create \
|
|
meshlabplugins/filter_csg \
|
|
meshlabplugins/filter_dirt \
|
|
meshlabplugins/filter_fractal \
|
|
meshlabplugins/filter_func \
|
|
meshlabplugins/filter_img_patch_param \
|
|
meshlabplugins/filter_isoparametrization \
|
|
meshlabplugins/filter_layer \
|
|
meshlabplugins/filter_mls \
|
|
meshlabplugins/filter_mutualglobal \
|
|
meshlabplugins/filter_mutualinfoxml \
|
|
meshlabplugins/filter_plymc \
|
|
meshlabplugins/filter_qhull \
|
|
meshlabplugins/filter_quality \
|
|
meshlabplugins/filter_sampling \
|
|
meshlabplugins/filter_screened_poisson \
|
|
meshlabplugins/filter_sdfgpu \
|
|
meshlabplugins/filter_select \
|
|
meshlabplugins/filter_sketchfab \
|
|
meshlabplugins/filter_ssynth \
|
|
meshlabplugins/filter_texture \
|
|
meshlabplugins/filter_trioptimize \
|
|
meshlabplugins/filter_unsharp \
|
|
meshlabplugins/filter_voronoi \
|
|
# Rendering and Decoration Plugins
|
|
meshlabplugins/decorate_background \
|
|
meshlabplugins/decorate_raster_proj \
|
|
meshlabplugins/decorate_shadow \
|
|
meshlabplugins/render_gdp \
|
|
meshlabplugins/render_radiance_scaling \
|
|
# Edit Plugins
|
|
meshlabplugins/edit_align \
|
|
meshlabplugins/edit_manipulators \
|
|
meshlabplugins/edit_measure \
|
|
meshlabplugins/edit_mutualcorrs \
|
|
meshlabplugins/edit_paint \
|
|
meshlabplugins/edit_point \
|
|
meshlabplugins/edit_referencing \
|
|
meshlabplugins/edit_quality \
|
|
meshlabplugins/edit_select
|
|
|
|
#no longer needed# meshlabplugins/filter_aging \
|
|
#no longer needed# meshlabplugins/filter_bnpts \
|
|
#no longer needed# meshlabplugins/filter_colorize \
|
|
#no longer supported# meshlabplugins/edit_pickpoints \
|
|
|
|
}
|
|
|
|
meshlab_samples {
|
|
|
|
SUBDIRS += \
|
|
# Sample Plugins
|
|
sampleplugins/sampleedit \
|
|
sampleplugins/samplefilter \
|
|
sampleplugins/samplefilterdyn \
|
|
sampleplugins/filter_createiso \
|
|
sampleplugins/filter_geodesic \
|
|
sampleplugins/sample_filtergpu
|
|
}
|
|
|
|
!equals(PWD, $$OUT_PWD) {
|
|
|
|
!meshlab_mini{
|
|
#copying the "plugins" folder inside the build directory/distrib
|
|
#this should be removed after fixing U3D compilation
|
|
!win32-msvc:plugins.commands = $(COPY_DIR) $$PWD/../distrib/plugins $$OUT_PWD/distrib
|
|
win32-msvc:plugins.commands = $(COPY_DIR) \"$$shell_path($$PWD/../distrib/plugins)\" \"$$shell_path($$OUT_PWD/distrib/plugins)\"
|
|
first.depends = $(first) plugins
|
|
export(first.depends)
|
|
export(plugins.commands)
|
|
|
|
QMAKE_EXTRA_TARGETS += first plugins
|
|
}
|
|
|
|
#copying the "lib" folder inside the build directory/distrib
|
|
!win32-msvc:lib.commands = $(COPY_DIR) $$PWD/../distrib/lib $$OUT_PWD/distrib
|
|
win32-msvc:lib.commands = $(COPY_DIR) \"$$shell_path($$PWD/../distrib/lib)\" \"$$shell_path($$OUT_PWD/distrib/lib)\"
|
|
first.depends += $(first) lib
|
|
export(first.depends)
|
|
export(lib.commands)
|
|
|
|
QMAKE_EXTRA_TARGETS += first lib
|
|
|
|
#copying the "shaders" folder inside the build directory/distrib
|
|
!win32-msvc:shaders.commands = $(COPY_DIR) $$PWD/../distrib/shaders $$OUT_PWD/distrib
|
|
win32-msvc:shaders.commands = $(COPY_DIR) \"$$shell_path($$PWD/../distrib/shaders)\" \"$$shell_path($$OUT_PWD/distrib/shaders)\"
|
|
first.depends += $(first) shaders
|
|
export(first.depends)
|
|
export(shaders.commands)
|
|
|
|
QMAKE_EXTRA_TARGETS += first shaders
|
|
|
|
#copying the "textures" folder inside the build directory/distrib
|
|
!win32-msvc:textures.commands = $(COPY_DIR) $$PWD/../distrib/textures $$OUT_PWD/distrib
|
|
win32-msvc:textures.commands = $(COPY_DIR) \"$$shell_path($$PWD/../distrib/textures)\" \"$$shell_path($$OUT_PWD/distrib/)\"
|
|
first.depends += $(first) textures
|
|
export(first.depends)
|
|
export(textures.commands)
|
|
|
|
QMAKE_EXTRA_TARGETS += first textures
|
|
|
|
}
|