2008-04-16 22:40:48 +00:00
|
|
|
# ***** BEGIN GPL LICENSE BLOCK *****
|
2006-11-17 02:27:12 +00:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
2008-04-16 22:40:48 +00:00
|
|
|
# of the License, or (at your option) any later version.
|
2006-11-17 02:27:12 +00:00
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software Foundation,
|
2010-02-12 13:34:04 +00:00
|
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2006-11-17 02:27:12 +00:00
|
|
|
#
|
|
|
|
# The Original Code is Copyright (C) 2006, Blender Foundation
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# The Original Code is: all of this file.
|
|
|
|
#
|
|
|
|
# Contributor(s): Jacques Beaurain.
|
|
|
|
#
|
2008-04-16 22:40:48 +00:00
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
2006-11-17 02:27:12 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
set(INC
|
2009-09-06 01:51:23 +00:00
|
|
|
.
|
2011-07-17 09:11:13 +00:00
|
|
|
../common
|
|
|
|
../../BlenderRoutines
|
|
|
|
../../Converter
|
|
|
|
../../Expressions
|
|
|
|
../../GameLogic
|
|
|
|
../../Ketsji
|
|
|
|
../../Network
|
|
|
|
../../Network/LoopBackNetwork
|
|
|
|
../../Physics/common
|
|
|
|
../../Rasterizer
|
|
|
|
../../Rasterizer/RAS_OpenGLRasterizer
|
|
|
|
../../SceneGraph
|
|
|
|
../../../blender
|
|
|
|
../../../blender/blenfont
|
|
|
|
../../../blender/blenkernel
|
|
|
|
../../../blender/blenlib
|
|
|
|
../../../blender/blenloader
|
|
|
|
../../../blender/gpu
|
|
|
|
../../../blender/imbuf
|
|
|
|
../../../blender/makesdna
|
|
|
|
../../../blender/makesrna
|
|
|
|
../../../../intern/container
|
2009-09-06 01:51:23 +00:00
|
|
|
../../../../intern/ghost
|
|
|
|
../../../../intern/guardedalloc
|
2011-07-17 09:11:13 +00:00
|
|
|
../../../../intern/string
|
2011-05-31 01:15:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(INC_SYS
|
2013-07-15 08:26:16 +00:00
|
|
|
../../../../intern/moto/include
|
2011-04-05 23:31:01 +00:00
|
|
|
${GLEW_INCLUDE_PATH}
|
2011-01-25 14:43:13 +00:00
|
|
|
${PYTHON_INCLUDE_DIRS}
|
2013-07-20 01:17:00 +00:00
|
|
|
${BOOST_INCLUDE_DIR}
|
2006-11-17 02:27:12 +00:00
|
|
|
)
|
|
|
|
|
2013-07-15 08:26:16 +00:00
|
|
|
set(SRC
|
2010-10-23 04:05:55 +00:00
|
|
|
GPG_Application.cpp
|
|
|
|
GPG_Canvas.cpp
|
|
|
|
GPG_KeyboardDevice.cpp
|
|
|
|
GPG_System.cpp
|
2011-07-17 09:11:13 +00:00
|
|
|
GPG_ghost.cpp
|
2010-11-29 04:35:56 +00:00
|
|
|
|
|
|
|
GPG_Application.h
|
|
|
|
GPG_Canvas.h
|
|
|
|
GPG_KeyboardDevice.h
|
|
|
|
GPG_System.h
|
2010-10-23 04:05:55 +00:00
|
|
|
)
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
add_definitions(-DGLEW_STATIC)
|
2009-12-31 04:56:23 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_CODEC_FFMPEG)
|
|
|
|
add_definitions(-DWITH_FFMPEG)
|
|
|
|
endif()
|
2009-01-26 08:34:40 +00:00
|
|
|
|
2011-09-20 09:32:14 +00:00
|
|
|
if(WITH_INTERNATIONAL)
|
2011-09-26 10:35:47 +00:00
|
|
|
add_definitions(-DWITH_INTERNATIONAL)
|
2011-09-20 09:32:14 +00:00
|
|
|
endif()
|
|
|
|
|
2013-07-19 23:31:45 +00:00
|
|
|
if(WITH_AUDASPACE)
|
|
|
|
list(APPEND INC
|
|
|
|
../../../../intern/audaspace/intern
|
|
|
|
)
|
|
|
|
add_definitions(-DWITH_AUDASPACE)
|
|
|
|
endif()
|
|
|
|
|
2011-05-31 01:15:44 +00:00
|
|
|
blender_add_lib_nolist(ge_player_ghost "${SRC}" "${INC}" "${INC_SYS}")
|