| 1 |
|
| 2 |
|
| 3 |
# |
| 4 |
# A) Package-specific configuration options |
| 5 |
# |
| 6 |
|
| 7 |
TRIBITS_CONFIGURE_FILE(${PACKAGE_NAME}_config.h) |
| 8 |
|
| 9 |
# |
| 10 |
# B) Define the header and source files (and directories) |
| 11 |
# |
| 12 |
|
| 13 |
# |
| 14 |
# src |
| 15 |
# |
| 16 |
|
| 17 |
SET(HEADERS "") |
| 18 |
SET(SOURCES "") |
| 19 |
|
| 20 |
TRIBITS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) |
| 21 |
|
| 22 |
SET(HEADERS ${HEADERS} |
| 23 |
${CMAKE_CURRENT_BINARY_DIR}/${PACKAGE_NAME}_config.h |
| 24 |
) |
| 25 |
|
| 26 |
# |
| 27 |
# Core Files |
| 28 |
# |
| 29 |
|
| 30 |
TRIBITS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) |
| 31 |
|
| 32 |
APPEND_SET(HEADERS |
| 33 |
AnasaziBasicEigenproblem.hpp |
| 34 |
AnasaziBasicOrthoManager.hpp |
| 35 |
AnasaziBasicOutputManager.hpp |
| 36 |
AnasaziBasicSort.hpp |
| 37 |
AnasaziBlockDavidson.hpp |
| 38 |
AnasaziBlockDavidsonSolMgr.hpp |
| 39 |
AnasaziBlockKrylovSchur.hpp |
| 40 |
AnasaziBlockKrylovSchurSolMgr.hpp |
| 41 |
AnasaziConfigDefs.hpp |
| 42 |
AnasaziEigenproblem.hpp |
| 43 |
AnasaziEigensolver.hpp |
| 44 |
AnasaziEigensolverDecl.hpp |
| 45 |
AnasaziLOBPCG.hpp |
| 46 |
AnasaziLOBPCGSolMgr.hpp |
| 47 |
AnasaziGenOrthoManager.hpp |
| 48 |
AnasaziHelperTraits.hpp |
| 49 |
AnasaziICGSOrthoManager.hpp |
| 50 |
AnasaziIRTR.hpp |
| 51 |
AnasaziMatOrthoManager.hpp |
| 52 |
AnasaziMultiVec.hpp |
| 53 |
AnasaziMultiVecTraits.hpp |
| 54 |
AnasaziOperator.hpp |
| 55 |
AnasaziOperatorTraits.hpp |
| 56 |
AnasaziOrthoManager.hpp |
| 57 |
AnasaziOutputManager.hpp |
| 58 |
AnasaziRTRBase.hpp |
| 59 |
AnasaziRTRSolMgr.hpp |
| 60 |
AnasaziSimpleLOBPCGSolMgr.hpp |
| 61 |
AnasaziSIRTR.hpp |
| 62 |
AnasaziSolverManager.hpp |
| 63 |
AnasaziSortManager.hpp |
| 64 |
AnasaziSolverUtils.hpp |
| 65 |
AnasaziStatusTest.hpp |
| 66 |
AnasaziStatusTestDecl.hpp |
| 67 |
AnasaziStatusTestCombo.hpp |
| 68 |
AnasaziStatusTestMaxIters.hpp |
| 69 |
AnasaziStatusTestWithOrdering.hpp |
| 70 |
AnasaziStatusTestOutput.hpp |
| 71 |
AnasaziStatusTestResNorm.hpp |
| 72 |
AnasaziSVQBOrthoManager.hpp |
| 73 |
AnasaziTypes.hpp |
| 74 |
) |
| 75 |
|
| 76 |
|
| 77 |
# |
| 78 |
# Util Files |
| 79 |
# |
| 80 |
|
| 81 |
APPEND_SET(HEADERS ${HEADERS} |
| 82 |
AnasaziMVOPTester.hpp |
| 83 |
) |
| 84 |
|
| 85 |
|
| 86 |
# |
| 87 |
# Comp Files |
| 88 |
# |
| 89 |
|
| 90 |
APPEND_SET(HEADERS ${HEADERS} |
| 91 |
AnasaziBlockDavidson.hpp |
| 92 |
AnasaziBlockKrylovSchur.hpp |
| 93 |
AnasaziLOBPCG.hpp |
| 94 |
AnasaziRTRBase.hpp |
| 95 |
AnasaziIRTR.hpp |
| 96 |
AnasaziSIRTR.hpp |
| 97 |
AnasaziBlockDavidsonSolMgr.hpp |
| 98 |
AnasaziBlockKrylovSchurSolMgr.hpp |
| 99 |
AnasaziLOBPCGSolMgr.hpp |
| 100 |
AnasaziSimpleLOBPCGSolMgr.hpp |
| 101 |
AnasaziRTRSolMgr.hpp |
| 102 |
) |
| 103 |
|
| 104 |
IF (TPL_ENABLE_MPI) |
| 105 |
|
| 106 |
ENDIF() |
| 107 |
|
| 108 |
# |
| 109 |
# C) Define the targets for package's library(s) |
| 110 |
# |
| 111 |
|
| 112 |
TRIBITS_ADD_LIBRARY( |
| 113 |
anasazithyra |
| 114 |
HEADERS ${HEADERS} |
| 115 |
SOURCES ${SOURCES} |
| 116 |
) |