summaryrefslogtreecommitdiffstats
path: root/Tests/FindLAPACK/CMakeLists.txt
blob: 5e2ea7a6a3c4da220c1d50e22658b88296f79248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
foreach(vendor IN LISTS CMake_TEST_FindLAPACK)
  add_test(NAME FindLAPACK.Test_${vendor} COMMAND
    ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
    --build-and-test
    "${CMake_SOURCE_DIR}/Tests/FindLAPACK/Test"
    "${CMake_BINARY_DIR}/Tests/FindLAPACK/Test_${vendor}"
    ${build_generator_args}
    --build-project TestFindLAPACK
    --build-options ${build_options} -DBLA_VENDOR=${vendor}
    --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
    )
endforeach()