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/space_view3d/CMakeLists.txt')
-rw-r--r--source/blender/editors/space_view3d/CMakeLists.txt39
1 files changed, 27 insertions, 12 deletions
diff --git a/source/blender/editors/space_view3d/CMakeLists.txt b/source/blender/editors/space_view3d/CMakeLists.txt
index 48747898981..1f47a25ad92 100644
--- a/source/blender/editors/space_view3d/CMakeLists.txt
+++ b/source/blender/editors/space_view3d/CMakeLists.txt
@@ -19,9 +19,7 @@
#
# ***** END GPL LICENSE BLOCK *****
-FILE(GLOB SRC *.c)
-
-SET(INC
+set(INC
../include
../../blenfont
../../blenkernel
@@ -36,15 +34,32 @@ SET(INC
../../../../intern/smoke/extern
)
-IF(WITH_GAMEENGINE)
- LIST(APPEND INC ../../../kernel/gen_system)
- ADD_DEFINITIONS(-DGAMEBLENDER)
-ENDIF(WITH_GAMEENGINE)
+set(SRC
+ drawanimviz.c
+ drawarmature.c
+ drawmesh.c
+ drawobject.c
+ drawvolume.c
+ space_view3d.c
+ view3d_buttons.c
+ view3d_draw.c
+ view3d_edit.c
+ view3d_fly.c
+ view3d_header.c
+ view3d_ops.c
+ view3d_select.c
+ view3d_snap.c
+ view3d_toolbar.c
+ view3d_view.c
+
+ view3d_intern.h
+)
-IF(WIN32)
- LIST(APPEND INC ${PTHREADS_INC})
-ENDIF(WIN32)
+if(WITH_GAMEENGINE)
+ list(APPEND INC ../../../kernel/gen_system)
+ add_definitions(-DWITH_GAMEENGINE)
+endif()
-ADD_DEFINITIONS(-DGLEW_STATIC)
+add_definitions(-DGLEW_STATIC)
-BLENDERLIB(bf_editor_space_view3d "${SRC}" "${INC}")
+blender_add_lib(bf_editor_space_view3d "${SRC}" "${INC}")