mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 00:07:24 +00:00
VCGLib is now a submodule.
This commit is contained in:
parent
8c60f6f8d7
commit
8b97b62e0d
26
.github/workflows/CompileAndDeploy.yml
vendored
26
.github/workflows/CompileAndDeploy.yml
vendored
@ -12,11 +12,15 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout submodules
|
||||
shell: bash
|
||||
run: |
|
||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||
git submodule sync --recursive
|
||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||
- name: Installing dependencies
|
||||
run: |
|
||||
sudo apt install -y qt5-default qttools5-dev-tools qtscript5-dev libqt5xmlpatterns5-dev mesa-common-dev libglu1-mesa-dev lib3ds-dev libglew-dev libeigen3-dev libopenctm-dev libgmp-dev libqhull-dev
|
||||
cd ..
|
||||
git clone --depth=1 --branch=devel https://github.com/cnr-isti-vclab/vcglib.git
|
||||
- name: Setting env variables
|
||||
id: envs
|
||||
shell: bash
|
||||
@ -50,12 +54,16 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout submodules
|
||||
shell: bash
|
||||
run: |
|
||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||
git submodule sync --recursive
|
||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||
- name: Installing dependencies
|
||||
run: |
|
||||
brew install llvm libomp qt
|
||||
npm install -g appdmg
|
||||
cd ..
|
||||
git clone --depth=1 --branch=devel https://github.com/cnr-isti-vclab/vcglib.git
|
||||
- name: Setting env variables
|
||||
id: envs
|
||||
shell: bash
|
||||
@ -89,16 +97,18 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout submodules
|
||||
shell: bash
|
||||
run: |
|
||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||
git submodule sync --recursive
|
||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||
- name: Setting MSVC
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
- name: Installing QT
|
||||
uses: jurplel/install-qt-action@v2
|
||||
with:
|
||||
modules: qtscript xmlpatterns
|
||||
- name: Installing dependencies
|
||||
run: |
|
||||
cd ..
|
||||
git clone --depth=1 --branch=devel https://github.com/cnr-isti-vclab/vcglib.git
|
||||
- name: Compiling MeshLab
|
||||
run: |
|
||||
cd src\
|
||||
|
||||
8
.github/workflows/CompileMacOS.yml
vendored
8
.github/workflows/CompileMacOS.yml
vendored
@ -10,12 +10,16 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout submodules
|
||||
shell: bash
|
||||
run: |
|
||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||
git submodule sync --recursive
|
||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||
- name: Installing dependencies
|
||||
run: |
|
||||
brew install llvm libomp qt
|
||||
npm install -g appdmg
|
||||
cd ..
|
||||
git clone --depth=1 --branch=devel https://github.com/cnr-isti-vclab/vcglib.git
|
||||
- name: Setting env variables
|
||||
id: envs
|
||||
shell: bash
|
||||
|
||||
16
.github/workflows/CompileUbuntu.yml
vendored
16
.github/workflows/CompileUbuntu.yml
vendored
@ -10,11 +10,15 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout submodules
|
||||
shell: bash
|
||||
run: |
|
||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||
git submodule sync --recursive
|
||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||
- name: Installing dependencies
|
||||
run: |
|
||||
sudo apt install -y qt5-default qttools5-dev-tools qtscript5-dev libqt5xmlpatterns5-dev mesa-common-dev libglu1-mesa-dev lib3ds-dev libglew-dev libeigen3-dev libopenctm-dev libgmp-dev libqhull-dev
|
||||
cd ..
|
||||
git clone --depth=1 --branch=devel https://github.com/cnr-isti-vclab/vcglib.git
|
||||
- name: Setting env variables
|
||||
id: envs
|
||||
shell: bash
|
||||
@ -49,12 +53,16 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout submodules
|
||||
shell: bash
|
||||
run: |
|
||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||
git submodule sync --recursive
|
||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||
- name: Installing dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y qt5-default qtscript5-dev libqt5xmlpatterns5-dev mesa-common-dev libglu1-mesa-dev lib3ds-dev libglew-dev libeigen3-dev libopenctm-dev libgmp-dev libqhull-dev cmake ninja-build
|
||||
cd ..
|
||||
git clone --depth=1 --branch=devel https://github.com/cnr-isti-vclab/vcglib.git
|
||||
- name: Configuring
|
||||
run: |
|
||||
cmake src/ -G Ninja
|
||||
|
||||
20
.github/workflows/CompileWindows.yml
vendored
20
.github/workflows/CompileWindows.yml
vendored
@ -9,16 +9,18 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout submodules
|
||||
shell: bash
|
||||
run: |
|
||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||
git submodule sync --recursive
|
||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||
- name: Setting MSVC
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
- name: Installing QT
|
||||
uses: jurplel/install-qt-action@v2
|
||||
with:
|
||||
modules: qtscript xmlpatterns
|
||||
- name: Installing dependencies
|
||||
run: |
|
||||
cd ..
|
||||
git clone --depth=1 --branch=devel https://github.com/cnr-isti-vclab/vcglib.git
|
||||
- name: Compiling MeshLab
|
||||
run: |
|
||||
cd src\
|
||||
@ -40,16 +42,18 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout submodules
|
||||
shell: bash
|
||||
run: |
|
||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||
git submodule sync --recursive
|
||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||
- name: Setting MSVC
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
- name: Installing QT
|
||||
uses: jurplel/install-qt-action@v2
|
||||
with:
|
||||
modules: qtscript xmlpatterns
|
||||
- name: Installing dependencies
|
||||
run: |
|
||||
cd ..
|
||||
git clone --depth=1 --branch=devel https://github.com/cnr-isti-vclab/vcglib.git
|
||||
- name: Configure
|
||||
run: |
|
||||
cmake -S ./src -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=install
|
||||
|
||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "vcglib"]
|
||||
path = vcglib
|
||||
url = https://github.com/cnr-isti-vclab/vcglib
|
||||
@ -11,7 +11,7 @@ endif()
|
||||
|
||||
### vcglib
|
||||
if(NOT VCGDIR)
|
||||
get_filename_component(VCGDIR "${CMAKE_CURRENT_SOURCE_DIR}/../../vcglib" ABSOLUTE)
|
||||
get_filename_component(VCGDIR "${CMAKE_CURRENT_SOURCE_DIR}/../vcglib" ABSOLUTE)
|
||||
if(NOT EXISTS ${VCGDIR})
|
||||
set(VCGDIR NOTFOUND)
|
||||
endif()
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
DEFINES += MESHLAB_SCALAR=float
|
||||
|
||||
# VCG directory
|
||||
VCGDIR = ../../../vcglib
|
||||
VCGDIR = $$MESHLAB_SOURCE_DIRECTORY/../vcglib
|
||||
|
||||
# MeshLab requires C++11
|
||||
CONFIG += c++11
|
||||
|
||||
@ -16,8 +16,8 @@ HEADERS += \
|
||||
|
||||
SOURCES += \
|
||||
baseio.cpp \
|
||||
$$VCGDIR//wrap/ply/plylib.cpp\
|
||||
$$VCGDIR//wrap/openfbx/src/ofbx.cpp \
|
||||
$$VCGDIR//wrap/openfbx/src/miniz.c
|
||||
$$VCGDIR/wrap/ply/plylib.cpp \
|
||||
$$VCGDIR/wrap/openfbx/src/ofbx.cpp \
|
||||
$$VCGDIR/wrap/openfbx/src/miniz.c
|
||||
|
||||
TARGET = io_base
|
||||
|
||||
@ -1,9 +1,6 @@
|
||||
# This is the common include for all the plugins
|
||||
|
||||
include (general.pri)
|
||||
VCGDIR = ../$$VCGDIR
|
||||
# only adjust relative path if we're not using system Eigen
|
||||
!CONFIG(system_eigen3):EIGENDIR = ../$$EIGENDIR
|
||||
|
||||
TEMPLATE = lib
|
||||
CONFIG += plugin
|
||||
@ -19,7 +16,7 @@ linux-g++:LIBS += -lcommon -lGL -lGLU
|
||||
|
||||
win32-msvc:DEFINES += GLEW_STATIC _USE_MATH_DEFINES
|
||||
|
||||
INCLUDEPATH *= ../.. $$VCGDIR $$EIGENDIR
|
||||
INCLUDEPATH *= ../.. $$VCGDIR $$EIGENDIR
|
||||
!CONFIG(system_glew): INCLUDEPATH *= $$GLEWDIR/include
|
||||
DEPENDPATH += ../.. $$VCGDIR
|
||||
|
||||
|
||||
1
vcglib
Submodule
1
vcglib
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit cfe695ece30698c59e8676b9ce5250584f4adace
|
||||
Loading…
x
Reference in New Issue
Block a user