78 lines
1.3 KiB
CMake
78 lines
1.3 KiB
CMake
#================
|
|
# The TaSMET code
|
|
#================
|
|
|
|
include_directories(
|
|
${PYTHON_INCLUDE_PATH}
|
|
${ARMADILLO_INCLUDE_DIRS}
|
|
.
|
|
protobuf
|
|
duct
|
|
ductbc
|
|
# duct/cell
|
|
# duct/connectors
|
|
# duct/eq
|
|
# duct/geom
|
|
# duct/geom/grid
|
|
# duct/drag
|
|
# duct/heat
|
|
# mech
|
|
# python
|
|
# seg
|
|
# sol
|
|
sys
|
|
solver
|
|
# var
|
|
# volume
|
|
)
|
|
|
|
add_library(tasmet_src
|
|
|
|
tasmet_tracer.cpp
|
|
tasmet_exception.cpp
|
|
tasmet_assert.cpp
|
|
tasmet_evalscript.cpp
|
|
|
|
protobuf/message_tools.cpp
|
|
|
|
duct/grid.cpp
|
|
duct/geom.cpp
|
|
duct/duct.cpp
|
|
|
|
ductbc/ductbc.cpp
|
|
ductbc/pressurebc.cpp
|
|
ductbc/adiabaticwall.cpp
|
|
|
|
funcs/bessel.cpp
|
|
funcs/cbessj.cpp
|
|
funcs/rottfuncs.cpp
|
|
funcs/skewsine.cpp
|
|
funcs/sph_j.cpp
|
|
|
|
solver/solver.cpp
|
|
solver/system.cpp
|
|
solver/newton_raphson.cpp
|
|
solver/brent.cpp
|
|
|
|
material/gas.cpp
|
|
material/air.cpp
|
|
material/helium.cpp
|
|
material/nitrogen.cpp
|
|
material/solid.cpp
|
|
material/adiabatictemp.cpp
|
|
|
|
export/export.cpp
|
|
|
|
# sys/enginesystem.cpp
|
|
sys/globalconf.cpp
|
|
sys/tasmet_variable.cpp
|
|
|
|
sys/jacobian.cpp
|
|
sys/tasystem.cpp
|
|
sys/triplets.cpp
|
|
)
|
|
|
|
add_subdirectory(gui)
|
|
add_subdirectory(protobuf)
|
|
target_link_libraries(tasmet_src Qt5::Widgets hdf5 hdf5_hl dl superlu pthread)
|