blob: b98fe5d66f0c65327e2a23514dec7db0ff3bb27d (
plain)
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
|
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright 2014 Blender Foundation. All rights reserved.
set(INC
.
intern
../blenkernel
../blenlib
../depsgraph
../functions
../imbuf
../makesdna
../makesrna
../nodes
../../../intern/guardedalloc
)
set(INC_SYS
${EIGEN3_INCLUDE_DIRS}
)
set(SRC
intern/SIM_mass_spring.cpp
intern/hair_volume.cpp
intern/implicit_blender.c
intern/implicit_eigen.cpp
intern/ConstrainedConjugateGradient.h
intern/eigen_utils.h
intern/implicit.h
SIM_mass_spring.h
)
set(LIB
bf_blenkernel
)
if(WITH_OPENMP_STATIC)
list(APPEND LIB
${OpenMP_LIBRARIES}
)
endif()
blender_add_lib(bf_simulation "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|