Ghost Context Refactor
[blender-staging.git] / source / blender / editors / object / CMakeLists.txt
index 05c042a4182248b0cd92b1ce7ffaf416a9f64481..9b380ff8d4834b1792bc1ad6cb1eb5404471a0e4 100644 (file)
@@ -20,9 +20,9 @@
 
 set(INC
        ../include
 
 set(INC
        ../include
+       ../../blenfont
        ../../blenkernel
        ../../blenlib
        ../../blenkernel
        ../../blenlib
-       ../../blenloader
        ../../bmesh
        ../../gpu
        ../../ikplugin
        ../../bmesh
        ../../gpu
        ../../ikplugin
@@ -33,31 +33,38 @@ set(INC
        ../../render/extern/include
        ../../windowmanager
        ../../../../intern/guardedalloc
        ../../render/extern/include
        ../../windowmanager
        ../../../../intern/guardedalloc
+       ../../../../intern/glew-mx
 )
 
 set(INC_SYS
 )
 
 set(INC_SYS
-
+       ${GLEW_INCLUDE_PATH}
 )
 
 set(SRC
        object_add.c
        object_bake.c
 )
 
 set(SRC
        object_add.c
        object_bake.c
+       object_bake_api.c
        object_constraint.c
        object_edit.c
        object_group.c
        object_hook.c
        object_lattice.c
        object_constraint.c
        object_edit.c
        object_group.c
        object_hook.c
        object_lattice.c
+       object_lod.c
        object_modifier.c
        object_ops.c
        object_modifier.c
        object_ops.c
+       object_random.c
        object_relations.c
        object_select.c
        object_shapekey.c
        object_transform.c
        object_relations.c
        object_select.c
        object_shapekey.c
        object_transform.c
+       object_warp.c
        object_vgroup.c
 
        object_intern.h
 )
 
        object_vgroup.c
 
        object_intern.h
 )
 
+add_definitions(${GL_DEFINITIONS})
+
 if(WITH_PYTHON)
        add_definitions(-DWITH_PYTHON)
 endif()
 if(WITH_PYTHON)
        add_definitions(-DWITH_PYTHON)
 endif()
@@ -66,4 +73,8 @@ if(WITH_GAMEENGINE)
        add_definitions(-DWITH_GAMEENGINE)
 endif()
 
        add_definitions(-DWITH_GAMEENGINE)
 endif()
 
+if(WITH_INTERNATIONAL)
+       add_definitions(-DWITH_INTERNATIONAL)
+endif()
+
 blender_add_lib(bf_editor_object "${SRC}" "${INC}" "${INC_SYS}")
 blender_add_lib(bf_editor_object "${SRC}" "${INC}" "${INC_SYS}")