mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 00:07:24 +00:00
system lib3ds under linux
This commit is contained in:
parent
1d8193b6ef
commit
b71a3bade5
@ -28,5 +28,5 @@ echo "Build path is: " $BUILD_PATH
|
||||
SOURCE_PATH=$PWD/../../src
|
||||
|
||||
cd $BUILD_PATH
|
||||
qmake $SOURCE_PATH/meshlab.pro "CONFIG+= system_eigen3 system_glew system_openctm system_lib3ds"
|
||||
qmake $SOURCE_PATH/meshlab.pro
|
||||
make -j4
|
||||
|
||||
@ -28,5 +28,5 @@ echo "Build path is: " $BUILD_PATH
|
||||
SOURCE_PATH=$PWD/../../src
|
||||
|
||||
cd $BUILD_PATH
|
||||
qmake $SOURCE_PATH/meshlab.pro "CONFIG+=meshlab_mini system_eigen3 system_glew"
|
||||
qmake $SOURCE_PATH/meshlab.pro "CONFIG+=meshlab_mini"
|
||||
make -j4
|
||||
|
||||
@ -1,3 +1,11 @@
|
||||
# this pri file finds all the external libraries already installed in the system
|
||||
# that could be used instead of the ones placed in the external folder.
|
||||
|
||||
# to avoid to use system libraries and to use only the ones in the external folder,
|
||||
# execute qmake with the following argument:
|
||||
# qmake "CONFIG+=disable_system_libs"
|
||||
!disable_system_libs {
|
||||
|
||||
linux {
|
||||
#### static libs ####
|
||||
|
||||
@ -12,6 +20,11 @@ linux {
|
||||
CONFIG += system_openctm
|
||||
}
|
||||
|
||||
#lib3ds
|
||||
exists(/usr/lib/x86_64-linux-gnu/lib3ds.so){
|
||||
CONFIG += system_lib3ds
|
||||
}
|
||||
|
||||
|
||||
#### header only libs ####
|
||||
#eigen
|
||||
@ -24,3 +37,5 @@ linux {
|
||||
CONFIG += system_glew
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -285,3 +285,24 @@ edit_select.depends = common
|
||||
|
||||
QMAKE_EXTRA_TARGETS += first copydir
|
||||
}
|
||||
|
||||
#
|
||||
# this is just for project info
|
||||
# prints all the system libraries that meshlab is using instead of
|
||||
# the ones placed in the external folder.
|
||||
# The libraris are included effectively in general.pri and
|
||||
# in external.pro
|
||||
#
|
||||
include(find_system_libs.pri)
|
||||
system_eigen3 {
|
||||
message("Using system eigen3")
|
||||
}
|
||||
system_glew {
|
||||
message("Using system glew")
|
||||
}
|
||||
system_openctm {
|
||||
message("Using system openctm")
|
||||
}
|
||||
system_lib3ds {
|
||||
message("Using system lib3ds")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user