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