looks like this is needed for MSVC
[blender.git] / source / blender / editors / space_file / CMakeLists.txt
1 # $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
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 FILE(GLOB SRC *.c)
28
29 SET(INC
30         ../../blenfont
31         ../../blenkernel
32         ../../blenlib
33         ../../blenloader
34         ../../imbuf
35         ../include
36         ../../../../intern/audaspace/intern
37         ../../../../intern/guardedalloc
38         ../../makesdna
39         ../../makesrna
40         ../../render/extern/include
41         ../../windowmanager
42 )
43
44 IF(WITH_OPENEXR)
45         ADD_DEFINITIONS(-DWITH_OPENEXR)
46 ENDIF(WITH_OPENEXR)
47
48 IF(WITH_TIFF)
49         ADD_DEFINITIONS(-DWITH_TIFF)
50 ENDIF(WITH_TIFF)
51
52 IF(WITH_OPENJPEG)
53         ADD_DEFINITIONS(-DWITH_OPENJPEG)
54 ENDIF(WITH_OPENJPEG)
55
56 IF(WITH_DDS)
57         ADD_DEFINITIONS(-DWITH_DDS)
58 ENDIF(WITH_DDS)
59
60 IF(WIN32)
61         SET(INC ${INC} ${PTHREADS_INC})
62 ENDIF(WIN32)
63
64 BLENDERLIB(bf_editor_space_file "${SRC}" "${INC}")