Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
Mpp
Commits
4ba61c3e
Commit
4ba61c3e
authored
Mar 26, 2020
by
niklas.baumgarten
Browse files
changed tests inclusion
parent
6cc694a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeListsMpp.inc
View file @
4ba61c3e
...
...
@@ -121,7 +121,7 @@ add_subdirectory(${PROJECT_MPP_DIR}/src)
# Tests
if
(
BUILD_TESTS
)
include
(
$
{
PROJECT_MPP_DIR
}
/
tests
/
CMakeLists
.
txt
)
add_subdirectory
(
$
{
PROJECT_MPP_DIR
}
/
tests
/
)
endif
()
#---------------------------------------------------------------------------------------#
tests/CMakeLists.txt
View file @
4ba61c3e
# Includes for mpp tests
#---------------------------------------------------------------------------------------#
set
(
TEST_DIR
${
PROJECT_MPP_DIR
}
/tests
)
# Test Executables
add_executable
(
TestShape
${
TEST_DIR
}
/
TestShape.cpp
)
add_executable
(
TestQuadrature
${
TEST_DIR
}
/
TestQuadrature.cpp
)
add_executable
(
TestCellConstruction
${
TEST_DIR
}
/
TestCellConstruction.cpp
)
add_executable
(
TestCellInterface
${
TEST_DIR
}
/
TestCellInterface.cpp
)
add_executable
(
TestConfig
${
TEST_DIR
}
/
TestConfig.cpp
)
add_executable
(
TestChainConfig
${
TEST_DIR
}
/
TestChainConfig.cpp
)
add_executable
(
TestVtuPlot
${
TEST_DIR
}
/
TestVtuPlot.cpp
)
add_executable
(
TestShape TestShape.cpp
)
add_executable
(
TestQuadrature TestQuadrature.cpp
)
add_executable
(
TestCellConstruction TestCellConstruction.cpp
)
add_executable
(
TestCellInterface TestCellInterface.cpp
)
add_executable
(
TestConfig TestConfig.cpp
)
add_executable
(
TestChainConfig TestChainConfig.cpp
)
add_executable
(
TestVtuPlot TestVtuPlot.cpp
)
# Linking
target_link_libraries
(
TestShape SRC LIB_PS
${
SUPERLU
}
${
BLAS_LIBRARIES
}
...
...
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