| 1 |
add_executable(xexample1_CBLAS cblas_example1.c) |
| 2 |
add_executable(xexample2_CBLAS cblas_example2.c) |
| 3 |
|
| 4 |
target_link_libraries(xexample1_CBLAS ${CBLASLIB}) |
| 5 |
target_link_libraries(xexample2_CBLAS ${CBLASLIB} ${BLAS_LIBRARIES}) |
| 6 |
|
| 7 |
add_test(example1_CBLAS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/xexample1_CBLAS) |
| 8 |
add_test(example2_CBLAS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/xexample2_CBLAS) |
| 9 |
|
| 10 |
if(BUILD_INDEX64_EXT_API) |
| 11 |
add_executable(xexample1_64_CBLAS cblas_example1_64.c) |
| 12 |
add_executable(xexample2_64_CBLAS cblas_example2_64.c) |
| 13 |
|
| 14 |
target_link_libraries(xexample1_64_CBLAS ${CBLASLIB}) |
| 15 |
target_link_libraries(xexample2_64_CBLAS ${CBLASLIB} ${BLAS_LIBRARIES}) |
| 16 |
|
| 17 |
add_test(example1_64_CBLAS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/xexample1_64_CBLAS) |
| 18 |
add_test(example2_64_CBLAS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/xexample2_64_CBLAS) |
| 19 |
endif() |