Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/physics/CMakeLists.txt')
-rw-r--r--source/blender/editors/physics/CMakeLists.txt23
1 files changed, 15 insertions, 8 deletions
diff --git a/source/blender/editors/physics/CMakeLists.txt b/source/blender/editors/physics/CMakeLists.txt
index 49f20bb9ed0..481f6d8df44 100644
--- a/source/blender/editors/physics/CMakeLists.txt
+++ b/source/blender/editors/physics/CMakeLists.txt
@@ -19,8 +19,6 @@
#
# ***** END GPL LICENSE BLOCK *****
-FILE(GLOB SRC *.c)
-
SET(INC
../include
../../blenkernel
@@ -32,16 +30,25 @@ SET(INC
../../../../intern/guardedalloc
)
-IF(NOT WITH_FLUID)
+SET(SRC
+ particle_boids.c
+ particle_edit.c
+ particle_object.c
+ physics_fluid.c
+ physics_ops.c
+ physics_pointcache.c
+)
+
+IF(WIN32)
+ LIST(APPEND INC ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(NOT WITH_MOD_FLUID)
ADD_DEFINITIONS(-DDISABLE_ELBEEM)
-ENDIF(NOT WITH_FLUID)
+ENDIF(NOT WITH_MOD_FLUID)
IF(WITH_OPENMP)
ADD_DEFINITIONS(-DPARALLEL=1)
ENDIF(WITH_OPENMP)
-IF(WIN32)
- LIST(APPEND INC ${PTHREADS_INC})
-ENDIF(WIN32)
-
BLENDERLIB(bf_editor_physics "${SRC}" "${INC}")