| 1 |
|
| 2 |
|
| 3 |
# |
| 4 |
# A) Package-specific configuration options |
| 5 |
# |
| 6 |
|
| 7 |
# |
| 8 |
# B) Define the header and source files (and directories) |
| 9 |
# |
| 10 |
|
| 11 |
# |
| 12 |
# src |
| 13 |
# |
| 14 |
|
| 15 |
SET(HEADERS "") |
| 16 |
SET(SOURCES "") |
| 17 |
|
| 18 |
TRIBITS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) |
| 19 |
|
| 20 |
# |
| 21 |
# Core Files |
| 22 |
# |
| 23 |
|
| 24 |
TRIBITS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) |
| 25 |
|
| 26 |
APPEND_SET(HEADERS |
| 27 |
BelosEpetraAdapter.hpp |
| 28 |
BelosEpetraOperator.h |
| 29 |
BelosEpetraUtils.h |
| 30 |
Belos_Details_Epetra_registerLinearSolverFactory.hpp |
| 31 |
Belos_Details_Epetra_registerSolverFactory.hpp |
| 32 |
BelosSolverFactory_Epetra.hpp |
| 33 |
) |
| 34 |
|
| 35 |
APPEND_SET(SOURCES |
| 36 |
BelosEpetraAdapter.cpp |
| 37 |
BelosEpetraOperator.cpp |
| 38 |
BelosEpetraUtils.cpp |
| 39 |
Belos_Details_Epetra_registerLinearSolverFactory.cpp |
| 40 |
Belos_Details_Epetra_registerSolverFactory.cpp |
| 41 |
) |
| 42 |
|
| 43 |
# |
| 44 |
# C) Define the targets for package's library(s) |
| 45 |
# |
| 46 |
TRIBITS_ADD_LIBRARY( |
| 47 |
belosepetra |
| 48 |
HEADERS ${HEADERS} |
| 49 |
SOURCES ${SOURCES} |
| 50 |
DEPLIBS belos |
| 51 |
) |