~diresu/blender/blender-command-port

« back to all changes in this revision

Viewing changes to source/blender/python/CMakeLists.txt

  • Committer: theeth
  • Date: 2008-10-14 16:52:04 UTC
  • Revision ID: vcs-imports@canonical.com-20081014165204-r32w2gm6s0osvdhn
copy back trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: CMakeLists.txt 16366 2008-09-04 20:51:28Z blendix $
 
2
# ***** BEGIN GPL LICENSE BLOCK *****
 
3
#
 
4
# This program is free software; you can redistribute it and/or
 
5
# modify it under the terms of the GNU General Public License
 
6
# as published by the Free Software Foundation; either version 2
 
7
# of the License, or (at your option) any later version.
 
8
#
 
9
# This program is distributed in the hope that it will be useful,
 
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
# GNU General Public License for more details.
 
13
#
 
14
# You should have received a copy of the GNU General Public License
 
15
# along with this program; if not, write to the Free Software Foundation,
 
16
# Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
17
#
 
18
# The Original Code is Copyright (C) 2006, Blender Foundation
 
19
# All rights reserved.
 
20
#
 
21
# The Original Code is: all of this file.
 
22
#
 
23
# Contributor(s): Jacques Beaurain.
 
24
#
 
25
# ***** END GPL LICENSE BLOCK *****
 
26
 
 
27
FILE(GLOB SRC api2_2x/*.c)
 
28
SET(SRC ${SRC}
 
29
  BPY_interface.c
 
30
  BPY_menus.c
 
31
)
 
32
 
 
33
SET(INC 
 
34
  api2_2x ../blenkernel ../blenlib ../blenloader
 
35
  ../render/extern/include ../radiosity/extern/include
 
36
  ../makesdna ../../../intern/guardedalloc ../../../intern/bmfont ../imbuf ../include
 
37
  ${PYTHON_INC} ../../../extern/glew/include ../gpu
 
38
)
 
39
 
 
40
IF(WITH_QUICKTIME)
 
41
  SET(INC ${INC} ${QUICKTIME_INC})
 
42
  ADD_DEFINITIONS(-DWITH_QUICKTIME)
 
43
ENDIF(WITH_QUICKTIME)
 
44
 
 
45
IF(WITH_OPENEXR)
 
46
  ADD_DEFINITIONS(-DWITH_OPENEXR)
 
47
ENDIF(WITH_OPENEXR)
 
48
 
 
49
IF(WITH_FFMPEG)
 
50
  ADD_DEFINITIONS(-DWITH_FFMPEG)
 
51
ENDIF(WITH_FFMPEG)
 
52
 
 
53
IF(BF_BUILDINFO)
 
54
  ADD_DEFINITIONS(-DNAN_BUILDINFO)
 
55
ENDIF(BF_BUILDINFO)
 
56
 
 
57
BLENDERLIB_NOLIST(blender_python "${SRC}" "${INC}")
 
58
#env.BlenderLib ( libname='blender_python', sources = Split(sources), includes = Split(incs), defines = defs, libtype=['core','game2'], priority = [60,115] )