Ticket #17163: CMakeLists.txt

File CMakeLists.txt, 471 bytes (added by krunk7@…, 12 years ago)

CMakeLists.txt for newmat/files

Line 
1CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
2PROJECT(NEWMAT)
3SET(NEWMAT_SOURCES
4        bandmat.cpp cholesky.cpp evalue.cpp fft.cpp hholder.cpp
5        jacobi.cpp myexcept.cpp newmat1.cpp newmat2.cpp newmat3.cpp
6        newmat4.cpp newmat5.cpp newmat6.cpp newmat7.cpp newmat8.cpp
7        newmat9.cpp newmatex.cpp newmatnl.cpp newmatrm.cpp solution.cpp
8        sort.cpp submat.cpp svd.cpp newfft.cpp)
9
10ADD_LIBRARY(newmat STATIC ${NEWMAT_SOURCES})
11
12INSTALL_FILES(/include/newmat .*\\.h$)
13INSTALL_TARGETS(/lib newmat)