| 1 |
# |
| 2 |
# Advanced Simulation Library <http://asl.org.il> |
| 3 |
# |
| 4 |
# Copyright 2015 Avtech Scientific <http://avtechscientific.com> |
| 5 |
# |
| 6 |
# |
| 7 |
# This file is part of Advanced Simulation Library (ASL). |
| 8 |
# |
| 9 |
# ASL is free software: you can redistribute it and/or modify it |
| 10 |
# under the terms of the GNU Affero General Public License as |
| 11 |
# published by the Free Software Foundation, version 3 of the License. |
| 12 |
# |
| 13 |
# ASL is distributed in the hope that it will be useful, |
| 14 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
# GNU Affero General Public License for more details. |
| 17 |
# |
| 18 |
# You should have received a copy of the GNU Affero General Public License |
| 19 |
# along with ASL. If not, see <http://www.gnu.org/licenses/>. |
| 20 |
# |
| 21 |
|
| 22 |
|
| 23 |
include_directories(${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src/acl) |
| 24 |
|
| 25 |
|
| 26 |
# aslnum |
| 27 |
|
| 28 |
set(aslnum_PUBLIC_HEADERS |
| 29 |
aslNumMethod.h |
| 30 |
aslSingleKernelNM.h |
| 31 |
aslFDAdvectionDiffusion.h |
| 32 |
aslFDAdvectionDiffusionBC.h |
| 33 |
aslFDStefanMaxwell.h |
| 34 |
aslFDElChemKinetics.h |
| 35 |
aslFDMultiPhase.h |
| 36 |
aslFDAdvectionDiffusion2.h |
| 37 |
aslFDAdvectionDiffusionInhomogeneous.h |
| 38 |
aslLBGK.h |
| 39 |
aslLBGKBC.h |
| 40 |
aslFDElasticity.h |
| 41 |
aslFDPoroElasticity.h |
| 42 |
aslFDPoroElasticityBC.h |
| 43 |
aslBCond.h |
| 44 |
aslBasicBC.h |
| 45 |
aslBasicBC2.h |
| 46 |
aslCrystalGrowthBC.h |
| 47 |
aslNumMethodsMerger.h |
| 48 |
aslFDElasticityBC.h |
| 49 |
aslLevelSet.h |
| 50 |
aslLevelSetLinear.h |
| 51 |
aslDFOptimizer.h |
| 52 |
aslLSNormalGrowth.h |
| 53 |
aslInterfaceTrackingAlg1.h |
| 54 |
aslLSFacetedGrowth.h |
| 55 |
aslTimeContinuations.h |
| 56 |
aslDataResampling.h |
| 57 |
) |
| 58 |
|
| 59 |
set(aslnum_SOURCES |
| 60 |
aslNumMethod.cxx |
| 61 |
aslSingleKernelNM.cxx |
| 62 |
aslFDAdvectionDiffusion.cxx |
| 63 |
aslFDAdvectionDiffusionBC.cxx |
| 64 |
aslFDStefanMaxwell.cxx |
| 65 |
aslFDElChemKinetics.cxx |
| 66 |
aslFDMultiPhase.cxx |
| 67 |
aslFDAdvectionDiffusion2.cxx |
| 68 |
aslFDAdvectionDiffusionInhomogeneous.cxx |
| 69 |
aslLBGK.cxx |
| 70 |
aslLBGKBC.cxx |
| 71 |
aslFDElasticity.cxx |
| 72 |
aslFDPoroElasticity.cxx |
| 73 |
aslFDPoroElasticityBC.cxx |
| 74 |
aslBCond.cxx |
| 75 |
aslBasicBC.cxx |
| 76 |
aslBasicBC2.cxx |
| 77 |
aslCrystalGrowthBC.cxx |
| 78 |
aslFDElasticityBC.cxx |
| 79 |
aslNumMethodsMerger.cxx |
| 80 |
aslLevelSet.cxx |
| 81 |
aslLevelSetLinear.cxx |
| 82 |
aslDFOptimizer.cxx |
| 83 |
aslInterfaceTrackingAlg1.cxx |
| 84 |
aslLSNormalGrowth.cxx |
| 85 |
aslLSFacetedGrowth.cxx |
| 86 |
aslTimeContinuations.cxx |
| 87 |
aslDataResampling.cxx |
| 88 |
) |
| 89 |
|
| 90 |
add_library(aslnum ${aslnum_PUBLIC_HEADERS} ${aslnum_SOURCES}) |
| 91 |
target_link_libraries(aslnum PRIVATE asl aslacl aslcommon ${OpenCL_LIBRARIES}) |
| 92 |
INSTALL_SUBLIB(aslnum aslnum_PUBLIC_HEADERS) |