diff options
| author | y-jan137 <yousefjan24000@gmail.com> | 2026-05-16 12:10:05 +0300 |
|---|---|---|
| committer | y-jan137 <yousefjan24000@gmail.com> | 2026-05-16 12:10:05 +0300 |
| commit | 750f276a1403c5defd58b06f13c703b5e3d59245 (patch) | |
| tree | 5218b52ca98f6df3fa4e202ff999b81f35c4e28b /CMakeLists.txt | |
| parent | 92220ea5a483d6ece73bb6472af0773bc4106d73 (diff) | |
Finish TODOs
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 70f03a1..d4e2faa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,6 +37,11 @@ target_sources(linear_algebra src/qr.cpp src/qr_iteration.cpp src/cholesky.cpp + src/sym_eigen.cpp + src/svd.cpp + src/iterative.cpp + src/precond.cpp + src/expm.cpp ) target_compile_features(linear_algebra PUBLIC cxx_std_23) @@ -59,17 +64,6 @@ elseif(MSVC) endif() endif() -option(LINEAR_ALGEBRA_BUILD_EXPERIMENTS "Build experiment programs" ON) -if(LINEAR_ALGEBRA_BUILD_EXPERIMENTS) - add_executable(pivoting_vs_no_pivoting experiments/pivoting_vs_no_pivoting.cpp) - target_link_libraries(pivoting_vs_no_pivoting PRIVATE linear_algebra::core) - - add_executable(hilbert_qr experiments/hilbert_qr.cpp) - target_link_libraries(hilbert_qr PRIVATE linear_algebra::core) - - add_executable(matmul experiments/matmul.cpp) - target_link_libraries(matmul PRIVATE linear_algebra::core) -endif() if(LINEAR_ALGEBRA_BUILD_TESTS) include(FetchContent) @@ -92,6 +86,11 @@ if(LINEAR_ALGEBRA_BUILD_TESTS) tests/test_qr.cpp tests/test_qr_iteration.cpp tests/test_cholesky.cpp + tests/test_sym_eigen.cpp + tests/test_svd.cpp + tests/test_iterative.cpp + tests/test_precond.cpp + tests/test_expm.cpp ) target_link_libraries(linear_algebra_tests |