-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
36 lines (31 loc) · 1.13 KB
/
CMakeLists.txt
File metadata and controls
36 lines (31 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
cmake_minimum_required(VERSION 3.12)
project(GMGPolarTests LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED True)
# Create a single test executable that includes all test sources
add_executable(gmgpolar_tests
gmgpolar_tests.cpp
LinearAlgebra/Vector/vector_operations.cpp
LinearAlgebra/Matrix/coo_matrix.cpp
LinearAlgebra/Matrix/csr_matrix.cpp
LinearAlgebra/Solvers/csr_lu_solver.cpp
LinearAlgebra/Solvers/coo_mumps_solver.cpp
LinearAlgebra/Solvers/tridiagonal_solver.cpp
PolarGrid/polargrid.cpp
Interpolation/prolongation.cpp
Interpolation/restriction.cpp
Residual/residual.cpp
DirectSolver/directSolver.cpp
DirectSolver/directSolverNoMumps.cpp
Smoother/smoother.cpp
ExtrapolatedSmoother/extrapolated_smoother.cpp
ConfigParser/config_parser.cpp
GMGPolar/solve_tests.cpp
GMGPolar/pcg_tests.cpp
GMGPolar/convergence_order.cpp
)
# Set the compile features and link libraries
target_compile_features(gmgpolar_tests PRIVATE cxx_std_17)
target_link_libraries(gmgpolar_tests GMGPolarLib GTest::gtest_main)
include(GoogleTest)
gtest_discover_tests(gmgpolar_tests)