rename cmake include/libraries to conform with suggested cmake names
[blender.git] / source / blender / quicktime / CMakeLists.txt
1 # $Id$
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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 set(INC 
28         .
29         ../quicktime
30         ../makesdna
31         ../makesrna
32         ../blenlib
33         ../blenkernel
34         ../avi
35         ../imbuf
36         ../imbuf/intern
37         ../blenloader
38         ../render/extern/include
39         ../include
40         ../windowmanager
41         ../../../intern/audaspace/intern
42         ../../../intern/guardedalloc
43 )
44
45 set(INC_SYS
46         ${QUICKTIME_INCLUDE_DIRS}
47 )
48
49 if(USE_QTKIT)
50         set(SRC
51                 apple/qtkit_import.m
52                 apple/qtkit_export.m
53
54                 quicktime_export.h
55                 quicktime_import.h
56         )
57 else()
58         set(SRC
59                 apple/quicktime_import.c
60                 apple/quicktime_export.c
61
62                 quicktime_export.h
63                 quicktime_import.h
64         )
65 endif()
66
67 add_definitions(-DWITH_QUICKTIME)
68
69 blender_add_lib(bf_quicktime "${SRC}" "${INC}" "${INC_SYS}")