File: CMakeLists.txt

package info (click to toggle)
lapack 3.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 72,832 kB
  • ctags: 41,660
  • sloc: fortran: 581,236; ansic: 175,264; makefile: 4,428; python: 269; sh: 133
file content (8 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
add_executable(xexample1_CBLAS cblas_example1.c)
add_executable(xexample2_CBLAS cblas_example2.c)

target_link_libraries(xexample1_CBLAS cblas ${BLAS_LIBRARIES})
target_link_libraries(xexample2_CBLAS cblas ${BLAS_LIBRARIES})

add_test(example1_CBLAS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/xexample1_CBLAS)
add_test(example2_CBLAS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/xexample2_CBLAS)