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-10-25 17:08:40 +00:00
|
|
|
# since this includes bullet we get errors from the headers too
|
2010-12-08 08:43:06 +00:00
|
|
|
remove_strict_flags()
|
2010-10-25 17:08:40 +00:00
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
set(INC
|
2009-09-06 01:51:23 +00:00
|
|
|
.
|
|
|
|
../common
|
2014-07-16 00:52:01 +00:00
|
|
|
../../Converter
|
2009-09-06 01:51:23 +00:00
|
|
|
../../Expressions
|
|
|
|
../../GameLogic
|
2011-07-17 09:11:13 +00:00
|
|
|
../../Ketsji
|
|
|
|
../../Rasterizer
|
2009-09-06 01:51:23 +00:00
|
|
|
../../SceneGraph
|
2011-07-17 09:11:13 +00:00
|
|
|
../../../blender/blenkernel
|
|
|
|
../../../blender/blenlib
|
|
|
|
../../../blender/makesdna
|
|
|
|
../../../../intern/container
|
|
|
|
../../../../intern/guardedalloc
|
2014-10-07 20:46:19 +00:00
|
|
|
../../../../intern/glew-mx
|
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}
|
2006-11-17 02:27:12 +00:00
|
|
|
)
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
set(SRC
|
2010-10-23 04:05:55 +00:00
|
|
|
CcdPhysicsEnvironment.cpp
|
|
|
|
CcdPhysicsController.cpp
|
|
|
|
CcdGraphicController.cpp
|
2010-11-29 04:35:56 +00:00
|
|
|
|
|
|
|
CcdGraphicController.h
|
|
|
|
CcdPhysicsController.h
|
|
|
|
CcdPhysicsEnvironment.h
|
2010-10-23 04:05:55 +00:00
|
|
|
)
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_BULLET)
|
2013-04-10 22:49:50 +00:00
|
|
|
list(APPEND INC_SYS
|
2013-01-03 00:23:52 +00:00
|
|
|
${BULLET_INCLUDE_DIRS}
|
|
|
|
)
|
2013-01-23 07:26:39 +00:00
|
|
|
add_definitions(-DWITH_BULLET)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2010-10-10 07:01:56 +00:00
|
|
|
|
2014-10-07 20:46:19 +00:00
|
|
|
add_definitions(${GL_DEFINITIONS})
|
|
|
|
|
2011-05-31 01:15:44 +00:00
|
|
|
blender_add_lib(ge_phys_bullet "${SRC}" "${INC}" "${INC_SYS}")
|