Code cleanup: remove readblenfile module, only contained some utility functions
[blender-staging.git] / source / gameengine / GamePlayer / ghost / 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         ../../../../intern/string
30         ../../../../intern/ghost
31         ../../../../intern/guardedalloc
32         ../../../../intern/container
33         ../../../../intern/moto/include
34         ../../../../source/gameengine/Rasterizer/RAS_OpenGLRasterizer
35         ../../../../source/gameengine/BlenderRoutines
36         ../../../../source/gameengine/Converter
37         ../../../../source/blender/imbuf
38         ../../../../source/gameengine/Ketsji
39         ../../../../source/blender/blenfont
40         ../../../../source/blender/blenlib
41         ../../../../source/blender/blenkernel
42         ../../../../source/blender
43         ../../../../source/blender/makesdna
44         ../../../../source/blender/makesrna
45         ../../../../source/gameengine/Rasterizer
46         ../../../../source/gameengine/GameLogic
47         ../../../../source/gameengine/Expressions
48         ../../../../source/gameengine/Network
49         ../../../../source/gameengine/SceneGraph
50         ../../../../source/gameengine/Physics/common
51         ../../../../source/gameengine/Network/LoopBackNetwork
52         ../../../../source/gameengine/GamePlayer/common
53         ../../../../source/blender/blenloader
54         ../../../../source/blender/gpu
55         ${GLEW_INCLUDE_PATH}
56         ${PYTHON_INCLUDE_DIRS}
57 )
58
59 set(SRC 
60         GPG_Application.cpp
61         GPG_Canvas.cpp
62         GPG_ghost.cpp
63         GPG_KeyboardDevice.cpp
64         GPG_System.cpp
65
66         GPG_Application.h
67         GPG_Canvas.h
68         GPG_KeyboardDevice.h
69         GPG_System.h
70 )
71
72 add_definitions(-DGLEW_STATIC)
73
74 if(WITH_CODEC_FFMPEG)
75         add_definitions(-DWITH_FFMPEG)
76 endif()
77
78 blender_add_lib_nolist(ge_player_ghost "${SRC}" "${INC}")