Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
openCARP
meshalyzer
Commits
3a7d9b64
Commit
3a7d9b64
authored
Aug 28, 2018
by
Edward Vigmond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduced number of VTK libs
parent
951299c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Makefile
Makefile
+3
-3
No files found.
Makefile
View file @
3a7d9b64
HOSTMACHINE
:=
$(
shell
uname
)
include
make.conf
VTK_LIBDIR
=
/usr/l
ocal/l
ib
VTK_INCDIR
=
/usr/
local/
include/vtk-8.1
VTK_LIBDIR
=
/usr/lib
64
VTK_INCDIR
=
/usr/include/vtk-8.1
FLTK_INC
:=
$(
shell
fltk-config
--use-glut
--use-gl
--cxxflags
)
FLTK_LD_FLAGS
:=
$(
shell
fltk-config
--use-images
--use-glut
--use-gl
--ldflags
)
...
...
@@ -48,7 +48,7 @@ CXXFLAGS = -std=c++11 -g -O$(DEBUG_LEVEL) $(OMP_FLAG) -MMD -DNOMINMAX
# VTK
ifdef
VTK_LIBDIR
COMMON_INC
+=
-DUSE_VTK
-I
$(VTK_INCDIR)
VTK_LSLIBS
=
$(
shell
ls
$(VTK_LIBDIR)
/libvtk
*
$(LIB_EXT)
|
grep
-v
Python
|grep
-v
Java |grep
-v
TCL
)
VTK_LSLIBS
=
$(
shell
ls
$(VTK_LIBDIR)
/libvtk
*
$(LIB_EXT)
|
grep
-
E
v
'(
Python
)
|(Java
)
|(TCL
)
|(Parallel
)
|(MPI
)
'
)
a
=
$(
subst
$(VTK_LIBDIR)
/lib,-l,
$(VTK_LSLIBS)
)
VTK_LIBS
=
$(
subst
$(LIB_EXT)
,,
$(a)
)
LIBS
+=
$(VTK_LIBS)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment