have cmake build editors as different libs like scons and nan-makefiles
authorCampbell Barton <ideasman42@gmail.com>
Fri, 4 Jun 2010 11:34:57 +0000 (11:34 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 4 Jun 2010 11:34:57 +0000 (11:34 +0000)
38 files changed:
source/blender/editors/CMakeLists.txt
source/blender/editors/animation/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/armature/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/curve/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/datafiles/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/gpencil/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/interface/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/mesh/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/metaball/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/object/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/physics/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/render/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/screen/CMakeLists.txt
source/blender/editors/sculpt_paint/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/sound/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_action/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_api/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_buttons/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_console/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_file/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_graph/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_image/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_info/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_logic/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_nla/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_node/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_outliner/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_script/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_sequencer/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_sound/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_text/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_time/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_userpref/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/space_view3d/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/transform/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/util/CMakeLists.txt [new file with mode: 0644]
source/blender/editors/uvedit/CMakeLists.txt [new file with mode: 0644]
source/creator/CMakeLists.txt

index bf379ae..e02cff3 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC */*.c)
-
-SET(INC ../windowmanager
-       ../editors/include ../editors/interface
-       ../../../intern/guardedalloc ../../../intern/memutil
-       ../blenlib ../makesdna ../makesrna ../blenkernel
-       ../include ../imbuf ../render/extern/include
-       ../../../intern/bsp/extern
-       ../../../intern/decimation/extern ../blenloader ../python
-       ../../kernel/gen_system ../readstreamglue
-       ../../../intern/elbeem/extern
-       ../../../intern/ghost ../../../intern/opennl/extern ../../../extern/glew/include ../../../intern/smoke/extern
-       ../../../intern/audaspace/intern
-       ../nodes
-       ../gpu
-       ../blenfont
-       ../ikplugin
-)
-
-ADD_DEFINITIONS(-DGLEW_STATIC)
-
-IF(WITH_GAMEENGINE)
-       ADD_DEFINITIONS(-DGAMEBLENDER)
-ENDIF(WITH_GAMEENGINE)
-
-IF(WITH_INTERNATIONAL)
-       ADD_DEFINITIONS(-DINTERNATIONAL)
-ENDIF(WITH_INTERNATIONAL)
-
-IF(WITH_OPENEXR)
-       ADD_DEFINITIONS(-DWITH_OPENEXR)
-ENDIF(WITH_OPENEXR)
-
-IF(WITH_TIFF)
-       ADD_DEFINITIONS(-DWITH_TIFF)
-ENDIF(WITH_TIFF)
-
-IF(WITH_OPENJPEG)
-       ADD_DEFINITIONS(-DWITH_OPENJPEG)
-ENDIF(WITH_OPENJPEG)
-
-IF(WITH_QUICKTIME)
-       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
-       ADD_DEFINITIONS(-DWITH_QUICKTIME)
-ENDIF(WITH_QUICKTIME)
-
-IF(WITH_FFMPEG)
-       SET(INC ${INC} ${FFMPEG_INC})
-       ADD_DEFINITIONS(-DWITH_FFMPEG)
-ENDIF(WITH_FFMPEG)
-
-IF(WITH_OPENMP)
-               ADD_DEFINITIONS(-DPARALLEL=1)
-ENDIF(WITH_OPENMP)
-
-IF(NOT WITH_ELBEEM)
-       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
-ENDIF(NOT WITH_ELBEEM)
-
-IF(WITH_PYTHON)
-       SET(INC ${INC} ${PYTHON_INC})
-ELSE(WITH_PYTHON)
-       ADD_DEFINITIONS(-DDISABLE_PYTHON)
-ENDIF(WITH_PYTHON)
-
-IF(WIN32)
-       SET(INC ${INC} ${PTHREADS_INC})
-ENDIF(WIN32)
-
-IF(WITH_BUILDINFO)
-       ADD_DEFINITIONS(-DNAN_BUILDINFO)
-ENDIF(WITH_BUILDINFO)
-
-BLENDERLIB_NOLIST(bf_editors "${SRC}" "${INC}")
-
+ADD_SUBDIRECTORY(animation)
+ADD_SUBDIRECTORY(armature)
+ADD_SUBDIRECTORY(curve)
+ADD_SUBDIRECTORY(datafiles)
+ADD_SUBDIRECTORY(gpencil)
+ADD_SUBDIRECTORY(interface)
+ADD_SUBDIRECTORY(mesh)
+ADD_SUBDIRECTORY(metaball)
+ADD_SUBDIRECTORY(object)
+ADD_SUBDIRECTORY(physics)
+ADD_SUBDIRECTORY(render)
+ADD_SUBDIRECTORY(screen)
+ADD_SUBDIRECTORY(sculpt_paint)
+ADD_SUBDIRECTORY(sound)
+ADD_SUBDIRECTORY(space_action)
+ADD_SUBDIRECTORY(space_api)
+ADD_SUBDIRECTORY(space_buttons)
+ADD_SUBDIRECTORY(space_console)
+ADD_SUBDIRECTORY(space_file)
+ADD_SUBDIRECTORY(space_graph)
+ADD_SUBDIRECTORY(space_image)
+ADD_SUBDIRECTORY(space_info)
+ADD_SUBDIRECTORY(space_logic)
+ADD_SUBDIRECTORY(space_nla)
+ADD_SUBDIRECTORY(space_node)
+ADD_SUBDIRECTORY(space_outliner)
+ADD_SUBDIRECTORY(space_script)
+ADD_SUBDIRECTORY(space_sequencer)
+ADD_SUBDIRECTORY(space_sound)
+ADD_SUBDIRECTORY(space_text)
+ADD_SUBDIRECTORY(space_time)
+ADD_SUBDIRECTORY(space_userpref)
+ADD_SUBDIRECTORY(space_view3d)
+ADD_SUBDIRECTORY(transform)
+ADD_SUBDIRECTORY(util)
+ADD_SUBDIRECTORY(uvedit)
diff --git a/source/blender/editors/animation/CMakeLists.txt b/source/blender/editors/animation/CMakeLists.txt
new file mode 100644 (file)
index 0000000..1f1b9d8
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_animation "${SRC}" "${INC}")
diff --git a/source/blender/editors/armature/CMakeLists.txt b/source/blender/editors/armature/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f9c1095
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_armature "${SRC}" "${INC}")
diff --git a/source/blender/editors/curve/CMakeLists.txt b/source/blender/editors/curve/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5fe7e04
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_curve "${SRC}" "${INC}")
diff --git a/source/blender/editors/datafiles/CMakeLists.txt b/source/blender/editors/datafiles/CMakeLists.txt
new file mode 100644 (file)
index 0000000..a27643f
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_datafiles "${SRC}" "${INC}")
diff --git a/source/blender/editors/gpencil/CMakeLists.txt b/source/blender/editors/gpencil/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9f70659
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_gpencil "${SRC}" "${INC}")
diff --git a/source/blender/editors/interface/CMakeLists.txt b/source/blender/editors/interface/CMakeLists.txt
new file mode 100644 (file)
index 0000000..bf2a4b1
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_interface "${SRC}" "${INC}")
diff --git a/source/blender/editors/mesh/CMakeLists.txt b/source/blender/editors/mesh/CMakeLists.txt
new file mode 100644 (file)
index 0000000..dd6fee5
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_mesh "${SRC}" "${INC}")
diff --git a/source/blender/editors/metaball/CMakeLists.txt b/source/blender/editors/metaball/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9531066
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_metaball "${SRC}" "${INC}")
diff --git a/source/blender/editors/object/CMakeLists.txt b/source/blender/editors/object/CMakeLists.txt
new file mode 100644 (file)
index 0000000..c5843ab
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_object "${SRC}" "${INC}")
diff --git a/source/blender/editors/physics/CMakeLists.txt b/source/blender/editors/physics/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d51f9c6
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_physics "${SRC}" "${INC}")
diff --git a/source/blender/editors/render/CMakeLists.txt b/source/blender/editors/render/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ebda196
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_render "${SRC}" "${INC}")
index 5708ab6..8ac3811 100644 (file)
@@ -1,13 +1,10 @@
 # $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
-# ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
+# ***** BEGIN GPL LICENSE BLOCK *****
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
 # as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version. The Blender
-# Foundation also sells licenses for use in proprietary software under
-# the Blender License.  See http://www.blender.org/BL/ for information
-# about this.
+# of the License, or (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 #
 # Contributor(s): Jacques Beaurain.
 #
-# ***** END GPL/BL DUAL LICENSE BLOCK *****
+# ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC */*.c)
+FILE(GLOB SRC *.c)
 
-SET(INC ../../windowmanager
+SET(INC
+       ../../windowmanager
        ../../editors/include
-       ../../../../intern/guardedalloc ../../../../intern/memutil
-       ../../blenlib ../../makesdna ../../makesrna ../../blenkernel
-       ../../include ../../imbuf 
-       ../../render/extern/include ../../../../intern/bsp/extern 
-       ../../../intern/decimation/extern ../../blenloader
-       ../../../kernel/gen_system ../../readstreamglue
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
        ../../../../intern/elbeem/extern
-       ../../../../intern/ghost ../../../../intern/opennl/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
        ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
 )
 
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
 IF(WITH_INTERNATIONAL)
        ADD_DEFINITIONS(-DINTERNATIONAL)
 ENDIF(WITH_INTERNATIONAL)
@@ -50,8 +68,16 @@ IF(WITH_OPENEXR)
        ADD_DEFINITIONS(-DWITH_OPENEXR)
 ENDIF(WITH_OPENEXR)
 
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
 IF(WITH_QUICKTIME)
-       SET(INC ${INC} ../../quicktime ${QUICKTIME_INC})
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
        ADD_DEFINITIONS(-DWITH_QUICKTIME)
 ENDIF(WITH_QUICKTIME)
 
@@ -60,8 +86,16 @@ IF(WITH_FFMPEG)
        ADD_DEFINITIONS(-DWITH_FFMPEG)
 ENDIF(WITH_FFMPEG)
 
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
 IF(WITH_PYTHON)
-       SET(INC ${INC} ../../python ${PYTHON_INC})
+       SET(INC ${INC} ${PYTHON_INC})
 ELSE(WITH_PYTHON)
        ADD_DEFINITIONS(-DDISABLE_PYTHON)
 ENDIF(WITH_PYTHON)
@@ -74,5 +108,4 @@ IF(WITH_BUILDINFO)
        ADD_DEFINITIONS(-DNAN_BUILDINFO)
 ENDIF(WITH_BUILDINFO)
 
-BLENDERLIB_NOLIST(bf_editors "${SRC}" "${INC}")
-
+BLENDERLIB(bf_editor_screen "${SRC}" "${INC}")
diff --git a/source/blender/editors/sculpt_paint/CMakeLists.txt b/source/blender/editors/sculpt_paint/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9d0aefe
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_sculpt_paint "${SRC}" "${INC}")
diff --git a/source/blender/editors/sound/CMakeLists.txt b/source/blender/editors/sound/CMakeLists.txt
new file mode 100644 (file)
index 0000000..525f67f
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_sound "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_action/CMakeLists.txt b/source/blender/editors/space_action/CMakeLists.txt
new file mode 100644 (file)
index 0000000..509b77b
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_action "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_api/CMakeLists.txt b/source/blender/editors/space_api/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4179138
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_api "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_buttons/CMakeLists.txt b/source/blender/editors/space_buttons/CMakeLists.txt
new file mode 100644 (file)
index 0000000..70c0423
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_buttons "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_console/CMakeLists.txt b/source/blender/editors/space_console/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8646edd
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_console "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_file/CMakeLists.txt b/source/blender/editors/space_file/CMakeLists.txt
new file mode 100644 (file)
index 0000000..21eb49c
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_file "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_graph/CMakeLists.txt b/source/blender/editors/space_graph/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9d743ec
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_graph "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_image/CMakeLists.txt b/source/blender/editors/space_image/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0947fa6
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_image "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_info/CMakeLists.txt b/source/blender/editors/space_info/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ccdf6df
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_info "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_logic/CMakeLists.txt b/source/blender/editors/space_logic/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5c3902d
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_logic "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_nla/CMakeLists.txt b/source/blender/editors/space_nla/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0e4166a
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_nla "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_node/CMakeLists.txt b/source/blender/editors/space_node/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fd1dbfb
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_node "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_outliner/CMakeLists.txt b/source/blender/editors/space_outliner/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fd1e1b2
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_outliner "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_script/CMakeLists.txt b/source/blender/editors/space_script/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ef39dc1
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_script "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_sequencer/CMakeLists.txt b/source/blender/editors/space_sequencer/CMakeLists.txt
new file mode 100644 (file)
index 0000000..db4b9e0
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_sequencer "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_sound/CMakeLists.txt b/source/blender/editors/space_sound/CMakeLists.txt
new file mode 100644 (file)
index 0000000..500b461
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_sound "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_text/CMakeLists.txt b/source/blender/editors/space_text/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d694661
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_text "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_time/CMakeLists.txt b/source/blender/editors/space_time/CMakeLists.txt
new file mode 100644 (file)
index 0000000..31502ff
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_time "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_userpref/CMakeLists.txt b/source/blender/editors/space_userpref/CMakeLists.txt
new file mode 100644 (file)
index 0000000..cb41001
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_userpref "${SRC}" "${INC}")
diff --git a/source/blender/editors/space_view3d/CMakeLists.txt b/source/blender/editors/space_view3d/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f17d5c0
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_space_view3d "${SRC}" "${INC}")
diff --git a/source/blender/editors/transform/CMakeLists.txt b/source/blender/editors/transform/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5ca527f
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_transform "${SRC}" "${INC}")
diff --git a/source/blender/editors/util/CMakeLists.txt b/source/blender/editors/util/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5fcf465
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_util "${SRC}" "${INC}")
diff --git a/source/blender/editors/uvedit/CMakeLists.txt b/source/blender/editors/uvedit/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ba38f3d
--- /dev/null
@@ -0,0 +1,111 @@
+# $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2006, Blender Foundation
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): Jacques Beaurain.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+FILE(GLOB SRC *.c)
+
+SET(INC
+       ../../windowmanager
+       ../../editors/include
+       ../../editors/interface
+       ../../../../intern/guardedalloc
+       ../../../../intern/memutil
+       ../../blenlib ../../makesdna
+       ../../makesrna ../../blenkernel
+       ../../include ../../imbuf
+       ../../render/extern/include
+       ../../../../intern/bsp/extern
+       ../../../../intern/decimation/extern
+       ../../blenloader
+       ../../python
+       ../../../kernel/gen_system
+       ../../readstreamglue
+       ../../../../intern/elbeem/extern
+       ../../../../intern/ghost
+       ../../../../intern/opennl/extern
+       ../../../../extern/glew/include
+       ../../../../intern/smoke/extern
+       ../../../../intern/audaspace/intern
+       ../../nodes
+       ../../gpu
+       ../../blenfont
+       ../../ikplugin
+)
+
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DGAMEBLENDER)
+ENDIF(WITH_GAMEENGINE)
+
+IF(WITH_INTERNATIONAL)
+       ADD_DEFINITIONS(-DINTERNATIONAL)
+ENDIF(WITH_INTERNATIONAL)
+
+IF(WITH_OPENEXR)
+       ADD_DEFINITIONS(-DWITH_OPENEXR)
+ENDIF(WITH_OPENEXR)
+
+IF(WITH_TIFF)
+       ADD_DEFINITIONS(-DWITH_TIFF)
+ENDIF(WITH_TIFF)
+
+IF(WITH_OPENJPEG)
+       ADD_DEFINITIONS(-DWITH_OPENJPEG)
+ENDIF(WITH_OPENJPEG)
+
+IF(WITH_QUICKTIME)
+       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       ADD_DEFINITIONS(-DWITH_QUICKTIME)
+ENDIF(WITH_QUICKTIME)
+
+IF(WITH_FFMPEG)
+       SET(INC ${INC} ${FFMPEG_INC})
+       ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
+IF(WITH_OPENMP)
+               ADD_DEFINITIONS(-DPARALLEL=1)
+ENDIF(WITH_OPENMP)
+
+IF(NOT WITH_ELBEEM)
+       ADD_DEFINITIONS(-DDISABLE_ELBEEM)
+ENDIF(NOT WITH_ELBEEM)
+
+IF(WITH_PYTHON)
+       SET(INC ${INC} ${PYTHON_INC})
+ELSE(WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(WITH_PYTHON)
+
+IF(WIN32)
+       SET(INC ${INC} ${PTHREADS_INC})
+ENDIF(WIN32)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DNAN_BUILDINFO)
+ENDIF(WITH_BUILDINFO)
+
+BLENDERLIB(bf_editor_uvedit "${SRC}" "${INC}")
index 4c0ab56..97a85b5 100644 (file)
@@ -345,7 +345,7 @@ ADD_DEPENDENCIES(blender makesdna)
 
 FILE(READ ${CMAKE_BINARY_DIR}/cmake_blender_libs.txt BLENDER_LINK_LIBS)
 
-SET(BLENDER_LINK_LIBS bf_nodes ${BLENDER_LINK_LIBS} bf_windowmanager bf_editors blender_render)
+SET(BLENDER_LINK_LIBS bf_nodes ${BLENDER_LINK_LIBS} bf_windowmanager blender_render)
 
 IF(WITH_ELBEEM)
        SET(BLENDER_LINK_LIBS ${BLENDER_LINK_LIBS} bf_elbeem)
@@ -359,7 +359,45 @@ ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux")
        # Sort libraries
        SET(BLENDER_SORTED_LIBS
                bf_windowmanager
-               bf_editors
+
+        bf_editor_space_api
+        bf_editor_space_action
+        bf_editor_space_buttons
+        bf_editor_space_console
+        bf_editor_space_file
+        bf_editor_space_graph
+        bf_editor_space_image
+        bf_editor_space_info
+        bf_editor_space_logic
+        bf_editor_space_nla
+        bf_editor_space_node
+        bf_editor_space_outliner
+        bf_editor_space_script
+        bf_editor_space_sequencer
+        bf_editor_space_sound
+        bf_editor_space_time
+        bf_editor_space_userpref
+        bf_editor_space_view3d
+
+        bf_editor_text
+        bf_editor_transform
+        bf_editor_util
+        bf_editor_uvedit
+        bf_editor_curve
+        bf_editor_armature
+        bf_editor_gpencil
+        bf_editor_interface
+        bf_editor_mesh
+        bf_editor_metaball
+        bf_editor_object
+        bf_editor_physics
+        bf_editor_render
+        bf_editor_screen
+        bf_editor_sculpt_paint
+        bf_editor_sound
+        bf_editor_animation
+        bf_editor_datafiles
+
                blender_BSP 
                bf_ghost 
                bf_string 
@@ -429,6 +467,7 @@ ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux")
                bf_blenfont
                bf_audaspace
                bf_decimation
+
        )
 
        IF(WITH_CXX_GUARDEDALLOC)