Ghost Context Refactor
[blender-staging.git] / source / blender / editors / object / CMakeLists.txt
index a6745f95ea0e383cfe51c54e57efa40890542350..9b380ff8d4834b1792bc1ad6cb1eb5404471a0e4 100644 (file)
@@ -20,9 +20,9 @@
 
 set(INC
        ../include
+       ../../blenfont
        ../../blenkernel
        ../../blenlib
-       ../../blenloader
        ../../bmesh
        ../../gpu
        ../../ikplugin
@@ -33,32 +33,38 @@ set(INC
        ../../render/extern/include
        ../../windowmanager
        ../../../../intern/guardedalloc
+       ../../../../intern/glew-mx
 )
 
 set(INC_SYS
-
+       ${GLEW_INCLUDE_PATH}
 )
 
 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_iterators.c
        object_lattice.c
+       object_lod.c
        object_modifier.c
        object_ops.c
+       object_random.c
        object_relations.c
        object_select.c
        object_shapekey.c
        object_transform.c
+       object_warp.c
        object_vgroup.c
 
        object_intern.h
 )
 
+add_definitions(${GL_DEFINITIONS})
+
 if(WITH_PYTHON)
        add_definitions(-DWITH_PYTHON)
 endif()
@@ -67,4 +73,8 @@ if(WITH_GAMEENGINE)
        add_definitions(-DWITH_GAMEENGINE)
 endif()
 
+if(WITH_INTERNATIONAL)
+       add_definitions(-DWITH_INTERNATIONAL)
+endif()
+
 blender_add_lib(bf_editor_object "${SRC}" "${INC}" "${INC_SYS}")