~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2007-05-17 11:47:59 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517114759-yp4ybrnhp2u7pk66
Tags: 2.44-1
* New upstream release.
* Drop debian/patches/01_64bits_stupidity, not needed anymore: as of this
  version blender is 64 bits safe again. Adjust README.Debian accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
 
2
#
 
3
# This program is free software; you can redistribute it and/or
 
4
# modify it under the terms of the GNU General Public License
 
5
# as published by the Free Software Foundation; either version 2
 
6
# of the License, or (at your option) any later version. The Blender
 
7
# Foundation also sells licenses for use in proprietary software under
 
8
# the Blender License.  See http://www.blender.org/BL/ for information
 
9
# about this.
 
10
#
 
11
# This program is distributed in the hope that it will be useful,
 
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
# GNU General Public License for more details.
 
15
#
 
16
# You should have received a copy of the GNU General Public License
 
17
# along with this program; if not, write to the Free Software Foundation,
 
18
# Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
19
#
 
20
# The Original Code is Copyright (C) 2006, Blender Foundation
 
21
# All rights reserved.
 
22
#
 
23
# The Original Code is: all of this file.
 
24
#
 
25
# Contributor(s): Jacques Beaurain.
 
26
#
 
27
# ***** END GPL/BL DUAL LICENSE BLOCK *****
 
28
 
 
29
FILE(GLOB SRC intern/*.c intern/CMP_nodes/*.c intern/SHD_nodes/*.c)
 
30
 
 
31
SET(INC 
 
32
  . ../../../intern/guardedalloc ../include ../blenlib ../makesdna
 
33
  ../python ../render/extern/include ../../../intern/decimation/extern
 
34
  ../imbuf ../avi ../../../intern/elbeem/extern
 
35
  ../../../intern/iksolver/extern ../blenloader ../quicktime
 
36
  ../blenkernel
 
37
  ${SDL_INC}
 
38
  ${ZLIB_INC}
 
39
)
 
40
 
 
41
IF(WITH_VERSE)
 
42
  ADD_DEFINITIONS(-DWITH_VERSE)
 
43
  SET(INC ${INC} ${VERSE_INC})
 
44
ENDIF(WITH_VERSE)
 
45
 
 
46
IF(WITH_OPENEXR)
 
47
  ADD_DEFINITIONS(-DWITH_OPENEXR)
 
48
ENDIF(WITH_OPENEXR)
 
49
 
 
50
IF(WITH_QUICKTIME)
 
51
  SET(INC ${INC} ${QUICKTIME_INC})
 
52
  ADD_DEFINITIONS(-DWITH_QUICKTIME)
 
53
ENDIF(WITH_QUICKTIME)
 
54
 
 
55
IF(WITH_FFMPEG)
 
56
  SET(INC ${INC} ${FFMPEG_INC})
 
57
  ADD_DEFINITIONS(-DWITH_FFMPEG)
 
58
ENDIF(WITH_FFMPEG)
 
59
 
 
60
ADD_DEFINITIONS(-DWITH_CCGSUBSURF)
 
61
 
 
62
BLENDERLIB(bf_nodes "${SRC}" "${INC}")
 
63
 
 
64
IF(WITH_VERSE)
 
65
  ADD_DEPENDENCIES(bf_nodes mkprot verse)
 
66
ENDIF(WITH_VERSE)
 
67
 
 
68
IF(WITH_INTERNATIONAL)
 
69
   ADD_DEFINITIONS(-DWITH_FREETYPE2)
 
70
ENDIF(WITH_INTERNATIONAL)
 
71