-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathCMakeLists.txt
executable file
·86 lines (78 loc) · 1.64 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# try to compile using boost
IF ( NOT CF_HAVE_CUDA )
SET ( CMAKE_REQUIRED_INCLUDES ${Boost_INCLUDE_DIR} )
CHECK_CXX_SOURCE_COMPILES (
"#include <boost/math/special_functions/erf.hpp>
int main(int argc, char* argv[])
{
boost::math::erfc(0.);
}"
CF_HAVE_BOOST_ERFC )
ENDIF()
IF ( NOT CF_HAVE_SINGLE_EXEC )
SET ( MYLIBNAME "MathTools" )
ELSE ()
SET ( MYLIBNAME "coolfluid-solver" )
ENDIF()
LIST ( APPEND MathTools_files
FindMinimum.hh
MatrixInverter.cxx
MatrixEigenSolver.hh
IntersectSolver.hh
JacobiEigenSolver.cxx
LinearFunctor.hh
MathConsts.hh
MathFunctions.hh
ZeroDeterminantException.hh
ZeroDeterminantException.cxx
RealMatrix.hh
MatrixIntersect.hh
MatrixInverter.hh
InverterT.hh
OutOfBoundsException.hh
LUInverter.hh
RealVector.hh
ConstantFunctor.hh
InverterDiag.hh
LUInverter.cxx
MathChecks.hh
MathTools.hh
MatrixIntersect.cxx
MatrixEigenSolver.cxx
JacobiEigenSolver.hh
IntersectSolver.cxx
LUInverterT.hh
LUInverterT.ci
MatrixInverterT.hh
SVDInverter.hh
SVDInverter.cxx
RCM.h
RCM.cxx
CFMat.hh
CFVecSlice.hh
CFMatSlice.hh
ExprT.hh
MatExprT.hh
ArrayT.hh
MacrosET.hh
CFVec.hh
LeastSquaresSolver.cxx
LeastSquaresSolver.hh
# Function Parser (v4.5.2) from http://warp.povusers.org/FunctionParser/
FParser/fparser.cc
#FParser/fparser_gmpint.hh
FParser/fparser.hh
#FParser/fparser_mpfr.hh
FParser/fpconfig.hh
FParser/fpoptimizer.cc
)
IF ( NOT CF_HAVE_SINGLE_EXEC )
LIST ( APPEND MathTools_cflibs Common )
CF_ADD_KERNEL_LIBRARY ( MathTools )
ELSE()
FOREACH (AFILE ${MathTools_files} )
LIST(APPEND coolfluid-solver_files ../../src/MathTools/${AFILE} )
ENDFOREACH(AFILE)
CF_CACHE_LIST_APPEND ( ${MYLIBNAME}_files ${coolfluid-solver_files} )
ENDIF()
CF_WARN_ORPHAN_FILES()