Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
xerus
xerus
Commits
be2ac569
Commit
be2ac569
authored
May 02, 2020
by
Philipp Trunschke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add option for testing shared library
parent
a3ea6068
Pipeline
#2036
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Makefile
Makefile
+6
-2
No files found.
Makefile
View file @
be2ac569
...
...
@@ -23,7 +23,8 @@ help:
# ------------------------------------------------------------------------------------------------------
# Name of the test executable
TEST_NAME
=
XerusTest
TEST_NAME
=
XerusTest_static
# TEST_NAME = XerusTest_dynamic
# ------------------------------------------------------------------------------------------------------
...
...
@@ -291,9 +292,12 @@ install:
@
printf
"Cannot install xerus: INSTALL_LIB_PATH not set. Please set the path in config file.
\n
"
endif
$(TEST_NAME)
:
$(MINIMAL_DEPS) $(UNIT_TEST_OBJECTS) $(TEST_OBJECTS) build/libxerus.a build/libxerus_misc.a | libxerus_misc_dependencies libxerus_dependencies
XerusTest_static
:
$(MINIMAL_DEPS) $(UNIT_TEST_OBJECTS) $(TEST_OBJECTS) build/libxerus.a build/libxerus_misc.a | libxerus_misc_dependencies libxerus_dependencies
$(CXX)
-D
XERUS_UNITTEST
$(FLAGS)
$(UNIT_TEST_OBJECTS)
$(TEST_OBJECTS)
build/libxerus.a build/libxerus_misc.a
$(SUITESPARSE)
$(LAPACK_LIBRARIES)
$(ARPACK_LIBRARIES)
$(BLAS_LIBRARIES)
$(BOOST_LIBS)
$(CALLSTACK_LIBS)
-o
$(TEST_NAME)
XerusTest_dynamic
:
$(MINIMAL_DEPS) $(UNIT_TEST_OBJECTS) $(TEST_OBJECTS) build/libxerus.so build/libxerus_misc.so | libxerus_misc_dependencies libxerus_dependencies
$(CXX)
-D
XERUS_UNITTEST
$(FLAGS)
$(UNIT_TEST_OBJECTS)
$(TEST_OBJECTS)
build/libxerus.so build/libxerus_misc.so
$(SUITESPARSE)
$(LAPACK_LIBRARIES)
$(ARPACK_LIBRARIES)
$(BLAS_LIBRARIES)
$(BOOST_LIBS)
$(CALLSTACK_LIBS)
-o
$(TEST_NAME)
build/print_boost_version
:
src/print_boost_version.cpp
@
$(CXX)
-o
$@
$<
...
...
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