2 # ***** BEGIN GPL LICENSE BLOCK *****
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.
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.
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.
18 # The Original Code is Copyright (C) 2006, Blender Foundation
19 # All rights reserved.
21 # The Original Code is: all of this file.
23 # Contributor(s): Jacques Beaurain.
25 # ***** END GPL LICENSE BLOCK *****
30 ../../extern/glew/include
31 ../../source/blender/imbuf
32 ../../source/blender/makesdna
36 ./intern/GHOST_Buttons.cpp
37 ./intern/GHOST_CallbackEventConsumer.cpp
38 ./intern/GHOST_C-api.cpp
39 ./intern/GHOST_DisplayManager.cpp
40 ./intern/GHOST_EventManager.cpp
41 ./intern/GHOST_EventPrinter.cpp
42 ./intern/GHOST_ISystem.cpp
43 ./intern/GHOST_ModifierKeys.cpp
44 ./intern/GHOST_NDOFManager.cpp
45 ./intern/GHOST_Path-api.cpp
46 ./intern/GHOST_Rect.cpp
47 ./intern/GHOST_System.cpp
48 ./intern/GHOST_TimerManager.cpp
49 ./intern/GHOST_Window.cpp
50 ./intern/GHOST_WindowManager.cpp
56 ./intern/GHOST_DisplayManagerCocoa.mm
57 ./intern/GHOST_SystemCocoa.mm
58 ./intern/GHOST_WindowCocoa.mm
62 ./intern/GHOST_DisplayManagerCarbon.cpp
63 ./intern/GHOST_SystemCarbon.cpp
64 ./intern/GHOST_WindowCarbon.cpp
69 ADD_DEFINITIONS(-DWITH_QUICKTIME)
72 LIST(APPEND INC ${WINTAB_INC})
75 ./intern/GHOST_DisplayManagerWin32.cpp
76 ./intern/GHOST_SystemWin32.cpp
77 ./intern/GHOST_WindowWin32.cpp
78 ./intern/GHOST_DropTargetWin32.cpp
81 LIST(APPEND INC ${X11_X11_INCLUDE_PATH})
84 ./intern/GHOST_DisplayManagerX11.cpp
85 ./intern/GHOST_SystemX11.cpp
86 ./intern/GHOST_WindowX11.cpp
89 ADD_DEFINITIONS(-DPREFIX="${CMAKE_INSTALL_PREFIX}")
93 BLENDERLIB(bf_intern_ghost "${SRC}" "${INC}")