2009-10-03 00:45:24 +08:00
|
|
|
project(EigenBlas)
|
|
|
|
|
2009-09-28 05:48:53 +08:00
|
|
|
add_custom_target(blas)
|
2009-09-25 19:08:39 +08:00
|
|
|
|
2010-03-02 21:50:41 +08:00
|
|
|
set(EigenBlas_SRCS single.cpp double.cpp complex_single.cpp complex_double.cpp xerbla.cpp)
|
2009-09-25 19:08:39 +08:00
|
|
|
|
2010-03-02 02:06:07 +08:00
|
|
|
add_library(eigen_blas ${EigenBlas_SRCS})
|
|
|
|
# add_library(eigen_blas SHARED ${EigenBlas_SRCS})
|
2009-09-28 05:48:53 +08:00
|
|
|
add_dependencies(blas eigen_blas)
|
2009-09-25 19:08:39 +08:00
|
|
|
|
|
|
|
install(TARGETS eigen_blas
|
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
LIBRARY DESTINATION lib
|
|
|
|
ARCHIVE DESTINATION lib)
|
|
|
|
|