~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to .pc/0008-look_for_droid_ttf_with_fontconfig.patch/source/blender/blenfont/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ***** BEGIN GPL 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.
 
7
#
 
8
# This program is distributed in the hope that it will be useful,
 
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
# GNU General Public License for more details.
 
12
#
 
13
# You should have received a copy of the GNU General Public License
 
14
# along with this program; if not, write to the Free Software Foundation,
 
15
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
16
#
 
17
# The Original Code is Copyright (C) 2008, Blender Foundation
 
18
# All rights reserved.
 
19
#
 
20
# The Original Code is: all of this file.
 
21
#
 
22
# ***** END GPL LICENSE BLOCK *****
 
23
 
 
24
set(INC
 
25
        .
 
26
        ../blenkernel
 
27
        ../blenlib
 
28
        ../blenloader
 
29
        ../editors/include
 
30
        ../makesdna
 
31
        ../makesrna
 
32
        ../python
 
33
        ../imbuf
 
34
        ../../../intern/guardedalloc
 
35
        ../../../intern/locale
 
36
)
 
37
 
 
38
set(INC_SYS
 
39
        ${GLEW_INCLUDE_PATH}
 
40
        ${FREETYPE_INCLUDE_DIRS}
 
41
)
 
42
 
 
43
set(SRC
 
44
        intern/blf.c
 
45
        intern/blf_dir.c
 
46
        intern/blf_font.c
 
47
        intern/blf_glyph.c
 
48
        intern/blf_lang.c
 
49
        intern/blf_translation.c
 
50
        intern/blf_util.c
 
51
 
 
52
        BLF_api.h
 
53
        BLF_translation.h
 
54
        intern/blf_internal.h
 
55
        intern/blf_internal_types.h
 
56
)
 
57
 
 
58
if(WITH_INTERNATIONAL)
 
59
        add_definitions(-DWITH_INTERNATIONAL)
 
60
endif()
 
61
 
 
62
add_definitions(-DGLEW_STATIC)
 
63
 
 
64
blender_add_lib(bf_blenfont "${SRC}" "${INC}" "${INC_SYS}")
 
65