include headers in cmake source, added a script to check for consistency, reporting missing headers & C files.

this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
This commit is contained in:
Campbell Barton 2010-11-29 04:35:56 +00:00
parent 4c82be95fd
commit e8397e6193
96 changed files with 1752 additions and 65 deletions

@ -0,0 +1,191 @@
# $Id:
# ***** BEGIN GPL LICENSE BLOCK *****
#
# 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
# of the License, or (at your option) any later version.
#
# 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,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# Contributor(s): Campbell Barton
#
# ***** END GPL LICENSE BLOCK *****
IGNORE = \
"/test/",\
"/decimate_glut_test/",\
"/BSP_GhostTest/",\
"/release/",\
"/xembed/",\
"/decimation/intern/future/",\
"/TerraplayNetwork/",\
"/ik_glut_test/"
import os
from os.path import join, dirname, normpath
base = join(os.getcwd(), "..", "..")
base = normpath(base)
global_h = set()
global_c = set()
import os
from os.path import splitext
def source_list(path, filename_check=None):
for dirpath, dirnames, filenames in os.walk(path):
# skip '.svn'
if dirpath.startswith("."):
continue
for filename in filenames:
if filename_check is None or filename_check(filename):
yield os.path.join(dirpath, filename)
# extension checking
def is_c_header(filename):
ext = splitext(filename)[1]
return (ext in (".h", ".hpp", ".hxx"))
def is_cmake(filename):
ext = splitext(filename)[1]
return (ext == ".cmake") or (filename == "CMakeLists.txt")
def is_c_header(filename):
ext = splitext(filename)[1]
return (ext in (".h", ".hpp", ".hxx"))
def is_c(filename):
ext = splitext(filename)[1]
return (ext in (".c", ".cpp", ".cxx", ".m", ".mm", ".rc"))
def is_c_any(filename):
return is_c(filename) or is_c_header(filename)
def cmake_get_src(f):
sources_h = []
sources_c = []
filen = open(f, "r")
it = iter(filen)
found = False
i = 0
# print(f)
while it is not None:
while it is not None:
i += 1
try:
l = next(it)
except StopIteration:
it = None
break
l = l.strip()
if not l.startswith("#"):
if 'SET(SRC' in l or ('SET(' in l and l.endswith("SRC")):
if len(l.split()) > 1:
raise Exception("strict formatting not kept 'SET(SRC*' %s:%d" % (f, i))
found = True
break
if "LIST(APPEND SRC" in l:
if l.endswith(")"):
raise Exception("strict formatting not kept 'LIST(APPEND SRC...)' on 1 line %s:%d" % (f, i))
found = True
break
if found:
cmake_base = dirname(f)
while it is not None:
i += 1
try:
l = next(it)
except StopIteration:
it = None
break
l = l.strip()
if not l.startswith("#"):
if ")" in l:
if l.strip() != ")":
raise Exception("strict formatting not kept '*)' %s:%d" % (f, i))
break
if not l:
pass
elif l.startswith("$"):
print("Cant use var '%s' %s:%d" % (l, f, i))
elif len(l.split()) > 1:
raise Exception("Multi-line define '%s' %s:%d" % (l, f, i))
else:
new_file = normpath(join(cmake_base, l))
if is_c_header(new_file):
sources_h.append(new_file)
elif is_c(new_file):
sources_c.append(new_file)
else:
raise Exception("unknown file type - not c or h %s -> %s" % (f, new_file))
# print(new_file)
global_h.update(set(sources_h))
global_c.update(set(sources_c))
'''
if not sources_h and not sources_c:
raise Exception("No sources %s" % f)
sources_h_fs = list(source_list(cmake_base, is_c_header))
sources_c_fs = list(source_list(cmake_base, is_c))
'''
# find missing C files:
'''
for ff in sources_c_fs:
if ff not in sources_c:
print(" missing: " + ff)
'''
filen.close()
for cmake in source_list(base, is_cmake):
cmake_get_src(cmake)
def is_ignore(f):
for ig in IGNORE:
if ig in f:
return True
return False
# First do stupid check, do these files exist?
for f in (global_h | global_c):
if f.endswith("dna.c"):
continue
if not os.path.exists(f):
raise Exception("CMake referenced file missing: " + f)
# now check on files not accounted for.
print("\nC/C++ Files CMake doesnt know about...")
for cf in sorted(source_list(base, is_c)):
if not is_ignore(cf):
if cf not in global_c:
print("missing_c: ", cf)
print("\nC/C++ Headers CMake doesnt know about...")
for hf in sorted(source_list(base, is_c_header)):
if not is_ignore(hf):
if hf not in global_h:
print("missing_h: ", hf)

@ -7,16 +7,12 @@ MACRO(BLENDERLIB_NOLIST
MESSAGE(STATUS "Configuring library ${name}")
# Gather all headers
FILE(GLOB_RECURSE INC_ALL *.h)
INCLUDE_DIRECTORIES(${includes})
ADD_LIBRARY(${name} ${INC_ALL} ${sources})
ADD_LIBRARY(${name} ${sources})
# Group by location on disk
SOURCE_GROUP("Source Files" FILES CMakeLists.txt)
SET(ALL_FILES ${sources} ${INC_ALL})
FOREACH(SRC ${ALL_FILES})
FOREACH(SRC ${sources})
GET_FILENAME_COMPONENT(SRC_EXT ${SRC} EXT)
IF(${SRC_EXT} MATCHES ".h" OR ${SRC_EXT} MATCHES ".hpp")
SOURCE_GROUP("Header Files" FILES ${SRC})

@ -20,6 +20,8 @@
SET(SRC
binreloc.c
include/binreloc.h
)
SET(INC

@ -143,6 +143,180 @@ SET(SRC
src/LinearMath/btConvexHull.cpp
src/LinearMath/btGeometryUtil.cpp
src/LinearMath/btQuickprof.cpp
src/Bullet-C-Api.h
src/BulletCollision/BroadphaseCollision/btAxisSweep3.h
src/BulletCollision/BroadphaseCollision/btBroadphaseInterface.h
src/BulletCollision/BroadphaseCollision/btBroadphaseProxy.h
src/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h
src/BulletCollision/BroadphaseCollision/btDbvt.h
src/BulletCollision/BroadphaseCollision/btDbvtBroadphase.h
src/BulletCollision/BroadphaseCollision/btDispatcher.h
src/BulletCollision/BroadphaseCollision/btMultiSapBroadphase.h
src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h
src/BulletCollision/BroadphaseCollision/btOverlappingPairCallback.h
src/BulletCollision/BroadphaseCollision/btQuantizedBvh.h
src/BulletCollision/BroadphaseCollision/btSimpleBroadphase.h
src/BulletCollision/CollisionDispatch/SphereTriangleDetector.h
src/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.h
src/BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.h
src/BulletCollision/CollisionDispatch/btBoxBoxDetector.h
src/BulletCollision/CollisionDispatch/btCollisionConfiguration.h
src/BulletCollision/CollisionDispatch/btCollisionCreateFunc.h
src/BulletCollision/CollisionDispatch/btCollisionDispatcher.h
src/BulletCollision/CollisionDispatch/btCollisionObject.h
src/BulletCollision/CollisionDispatch/btCollisionWorld.h
src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.h
src/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.h
src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.h
src/BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.h
src/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h
src/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.h
src/BulletCollision/CollisionDispatch/btGhostObject.h
src/BulletCollision/CollisionDispatch/btManifoldResult.h
src/BulletCollision/CollisionDispatch/btSimulationIslandManager.h
src/BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.h
src/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.h
src/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.h
src/BulletCollision/CollisionDispatch/btUnionFind.h
src/BulletCollision/CollisionShapes/btBoxShape.h
src/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h
src/BulletCollision/CollisionShapes/btCapsuleShape.h
src/BulletCollision/CollisionShapes/btCollisionMargin.h
src/BulletCollision/CollisionShapes/btCollisionShape.h
src/BulletCollision/CollisionShapes/btCompoundShape.h
src/BulletCollision/CollisionShapes/btConcaveShape.h
src/BulletCollision/CollisionShapes/btConeShape.h
src/BulletCollision/CollisionShapes/btConvexHullShape.h
src/BulletCollision/CollisionShapes/btConvexInternalShape.h
src/BulletCollision/CollisionShapes/btConvexPointCloudShape.h
src/BulletCollision/CollisionShapes/btConvexShape.h
src/BulletCollision/CollisionShapes/btConvexTriangleMeshShape.h
src/BulletCollision/CollisionShapes/btCylinderShape.h
src/BulletCollision/CollisionShapes/btEmptyShape.h
src/BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h
src/BulletCollision/CollisionShapes/btMaterial.h
src/BulletCollision/CollisionShapes/btMinkowskiSumShape.h
src/BulletCollision/CollisionShapes/btMultiSphereShape.h
src/BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.h
src/BulletCollision/CollisionShapes/btOptimizedBvh.h
src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.h
src/BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.h
src/BulletCollision/CollisionShapes/btShapeHull.h
src/BulletCollision/CollisionShapes/btSphereShape.h
src/BulletCollision/CollisionShapes/btStaticPlaneShape.h
src/BulletCollision/CollisionShapes/btStridingMeshInterface.h
src/BulletCollision/CollisionShapes/btTetrahedronShape.h
src/BulletCollision/CollisionShapes/btTriangleBuffer.h
src/BulletCollision/CollisionShapes/btTriangleCallback.h
src/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h
src/BulletCollision/CollisionShapes/btTriangleIndexVertexMaterialArray.h
src/BulletCollision/CollisionShapes/btTriangleMesh.h
src/BulletCollision/CollisionShapes/btTriangleMeshShape.h
src/BulletCollision/CollisionShapes/btTriangleShape.h
src/BulletCollision/CollisionShapes/btUniformScalingShape.h
src/BulletCollision/Gimpact/btBoxCollision.h
src/BulletCollision/Gimpact/btClipPolygon.h
src/BulletCollision/Gimpact/btContactProcessing.h
src/BulletCollision/Gimpact/btGImpactBvh.h
src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h
src/BulletCollision/Gimpact/btGImpactMassUtil.h
src/BulletCollision/Gimpact/btGImpactQuantizedBvh.h
src/BulletCollision/Gimpact/btGImpactShape.h
src/BulletCollision/Gimpact/btGenericPoolAllocator.h
src/BulletCollision/Gimpact/btGeometryOperations.h
src/BulletCollision/Gimpact/btQuantization.h
src/BulletCollision/Gimpact/btTriangleShapeEx.h
src/BulletCollision/Gimpact/gim_array.h
src/BulletCollision/Gimpact/gim_basic_geometry_operations.h
src/BulletCollision/Gimpact/gim_bitset.h
src/BulletCollision/Gimpact/gim_box_collision.h
src/BulletCollision/Gimpact/gim_box_set.h
src/BulletCollision/Gimpact/gim_clip_polygon.h
src/BulletCollision/Gimpact/gim_contact.h
src/BulletCollision/Gimpact/gim_geom_types.h
src/BulletCollision/Gimpact/gim_geometry.h
src/BulletCollision/Gimpact/gim_hash_table.h
src/BulletCollision/Gimpact/gim_linear_math.h
src/BulletCollision/Gimpact/gim_math.h
src/BulletCollision/Gimpact/gim_memory.h
src/BulletCollision/Gimpact/gim_radixsort.h
src/BulletCollision/Gimpact/gim_tri_collision.h
src/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.h
src/BulletCollision/NarrowPhaseCollision/btConvexCast.h
src/BulletCollision/NarrowPhaseCollision/btConvexPenetrationDepthSolver.h
src/BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h
src/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.h
src/BulletCollision/NarrowPhaseCollision/btGjkEpa.h
src/BulletCollision/NarrowPhaseCollision/btGjkEpa2.h
src/BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.h
src/BulletCollision/NarrowPhaseCollision/btGjkPairDetector.h
src/BulletCollision/NarrowPhaseCollision/btManifoldPoint.h
src/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.h
src/BulletCollision/NarrowPhaseCollision/btPersistentManifold.h
src/BulletCollision/NarrowPhaseCollision/btPointCollector.h
src/BulletCollision/NarrowPhaseCollision/btRaycastCallback.h
src/BulletCollision/NarrowPhaseCollision/btSimplexSolverInterface.h
src/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.h
src/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.h
src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.h
src/BulletDynamics/ConstraintSolver/btConstraintSolver.h
src/BulletDynamics/ConstraintSolver/btContactConstraint.h
src/BulletDynamics/ConstraintSolver/btContactSolverInfo.h
src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h
src/BulletDynamics/ConstraintSolver/btHingeConstraint.h
src/BulletDynamics/ConstraintSolver/btJacobianEntry.h
src/BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h
src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h
src/BulletDynamics/ConstraintSolver/btSliderConstraint.h
src/BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h
src/BulletDynamics/ConstraintSolver/btSolverBody.h
src/BulletDynamics/ConstraintSolver/btSolverConstraint.h
src/BulletDynamics/ConstraintSolver/btTypedConstraint.h
src/BulletDynamics/Dynamics/btActionInterface.h
src/BulletDynamics/Dynamics/btContinuousDynamicsWorld.h
src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h
src/BulletDynamics/Dynamics/btDynamicsWorld.h
src/BulletDynamics/Dynamics/btRigidBody.h
src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.h
src/BulletDynamics/Vehicle/btRaycastVehicle.h
src/BulletDynamics/Vehicle/btVehicleRaycaster.h
src/BulletDynamics/Vehicle/btWheelInfo.h
src/BulletSoftBody/btSoftBody.h
src/BulletSoftBody/btSoftBodyConcaveCollisionAlgorithm.h
src/BulletSoftBody/btSoftBodyHelpers.h
src/BulletSoftBody/btSoftBodyInternals.h
src/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h
src/BulletSoftBody/btSoftRigidCollisionAlgorithm.h
src/BulletSoftBody/btSoftRigidDynamicsWorld.h
src/BulletSoftBody/btSoftSoftCollisionAlgorithm.h
src/BulletSoftBody/btSparseSDF.h
src/LinearMath/btAabbUtil2.h
src/LinearMath/btAlignedAllocator.h
src/LinearMath/btAlignedObjectArray.h
src/LinearMath/btConvexHull.h
src/LinearMath/btDefaultMotionState.h
src/LinearMath/btGeometryUtil.h
src/LinearMath/btHashMap.h
src/LinearMath/btIDebugDraw.h
src/LinearMath/btList.h
src/LinearMath/btMatrix3x3.h
src/LinearMath/btMinMax.h
src/LinearMath/btMotionState.h
src/LinearMath/btPoint3.h
src/LinearMath/btPoolAllocator.h
src/LinearMath/btQuadWord.h
src/LinearMath/btQuaternion.h
src/LinearMath/btQuickprof.h
src/LinearMath/btRandom.h
src/LinearMath/btScalar.h
src/LinearMath/btSimdMinMax.h
src/LinearMath/btStackAlloc.h
src/LinearMath/btTransform.h
src/LinearMath/btTransformUtil.h
src/LinearMath/btVector3.h
src/btBulletCollisionCommon.h
src/btBulletDynamicsCommon.h
)
BLENDERLIB(extern_bullet "${SRC}" "${INC}")

@ -34,6 +34,10 @@ ENDIF(UNIX)
SET(SRC
src/glew.c
include/GL/glew.h
include/GL/glxew.h
include/GL/wglew.h
)
ADD_DEFINITIONS(-DGLEW_STATIC)

@ -47,6 +47,30 @@ SET(SRC
t2.c
tcd.c
tgt.c
bio.h
cio.h
dwt.h
event.h
fix.h
image.h
int.h
j2k.h
j2k_lib.h
jp2.h
jpt.h
mct.h
mqc.h
openjpeg.h
opj_includes.h
opj_malloc.h
pi.h
raw.h
t1.h
t1_luts.h
t2.h
tcd.h
tgt.h
)
BLENDERLIB(extern_openjpeg "${SRC}" "${INC}")

@ -34,6 +34,14 @@ SET(SRC
LzmaDec.c
LzmaEnc.c
LzmaLib.c
Alloc.h
LzFind.h
LzHash.h
LzmaDec.h
LzmaEnc.h
LzmaLib.h
Types.h
)
BLENDERLIB(extern_lzma "${SRC}" "${INC}")

@ -30,6 +30,10 @@ SET(INC
SET(SRC
minilzo/minilzo.c
minilzo/lzoconf.h
minilzo/lzodefs.h
minilzo/minilzo.h
)
BLENDERLIB(extern_minilzo "${SRC}" "${INC}")

@ -118,6 +118,39 @@ SET(SRC
intern/AUD_Space.h
intern/AUD_StreamBufferFactory.cpp
intern/AUD_StreamBufferFactory.h
FX/AUD_AccumulatorFactory.h
FX/AUD_BaseIIRFilterReader.h
FX/AUD_ButterworthFactory.h
FX/AUD_CallbackIIRFilterReader.h
FX/AUD_DelayFactory.h
FX/AUD_DelayReader.h
FX/AUD_DoubleFactory.h
FX/AUD_DoubleReader.h
FX/AUD_EffectFactory.h
FX/AUD_EffectReader.h
FX/AUD_EnvelopeFactory.h
FX/AUD_FaderFactory.h
FX/AUD_FaderReader.h
FX/AUD_HighpassFactory.h
FX/AUD_IIRFilterFactory.h
FX/AUD_IIRFilterReader.h
FX/AUD_LimiterFactory.h
FX/AUD_LimiterReader.h
FX/AUD_LoopFactory.h
FX/AUD_LoopReader.h
FX/AUD_LowpassFactory.h
FX/AUD_PingPongFactory.h
FX/AUD_PitchFactory.h
FX/AUD_PitchReader.h
FX/AUD_RectifyFactory.h
FX/AUD_ReverseFactory.h
FX/AUD_ReverseReader.h
FX/AUD_SquareFactory.h
FX/AUD_SumFactory.h
FX/AUD_SuperposeFactory.h
FX/AUD_SuperposeReader.h
FX/AUD_VolumeFactory.h
)
IF(WITH_FFMPEG)
@ -126,6 +159,9 @@ IF(WITH_FFMPEG)
SET(FFMPEGSRC
ffmpeg/AUD_FFMPEGFactory.cpp
ffmpeg/AUD_FFMPEGReader.cpp
ffmpeg/AUD_FFMPEGFactory.h
ffmpeg/AUD_FFMPEGReader.h
)
ENDIF(WITH_FFMPEG)
@ -134,6 +170,8 @@ IF(WITH_SDL)
LIST(APPEND INC SDL ${SDL_INCLUDE_DIR})
SET(SDLSRC
SDL/AUD_SDLDevice.cpp
SDL/AUD_SDLDevice.h
)
ENDIF(WITH_SDL)
@ -142,6 +180,8 @@ IF(WITH_OPENAL)
LIST(APPEND INC OpenAL ${OPENAL_INCLUDE_DIR})
SET(OPENALSRC
OpenAL/AUD_OpenALDevice.cpp
OpenAL/AUD_OpenALDevice.h
)
ENDIF(WITH_OPENAL)
@ -150,6 +190,8 @@ IF(WITH_JACK)
LIST(APPEND INC jack ${JACK_INC})
SET(JACKSRC
jack/AUD_JackDevice.cpp
jack/AUD_JackDevice.h
)
ENDIF(WITH_JACK)
@ -159,6 +201,9 @@ IF(WITH_SNDFILE)
SET(SNDFILESRC
sndfile/AUD_SndFileFactory.cpp
sndfile/AUD_SndFileReader.cpp
sndfile/AUD_SndFileFactory.h
sndfile/AUD_SndFileReader.h
)
ENDIF(WITH_SNDFILE)
@ -167,26 +212,44 @@ IF(WITH_SAMPLERATE)
SET(SRCFILESRC
SRC/AUD_SRCResampleFactory.cpp
SRC/AUD_SRCResampleReader.cpp
SRC/AUD_SRCResampleFactory.h
SRC/AUD_SRCResampleReader.h
)
ENDIF(WITH_SAMPLERATE)
#IF(WITH_FFTW3)
# ADD_DEFINITIONS(-DWITH_FFTW3)
# LIST(APPEND INC fftw ${FFTW3_INC})
# SET(FFTW3SRC
# fftw/AUD_BandPassFactory.cpp
# fftw/AUD_BandPassReader.cpp
# )
#ENDIF(WITH_FFTW3)
IF(WITH_FFTW3 AND FALSE)
ADD_DEFINITIONS(-DWITH_FFTW3)
LIST(APPEND INC fftw ${FFTW3_INC})
SET(FFTW3SRC
fftw/AUD_BandPassFactory.cpp
fftw/AUD_BandPassReader.cpp
fftw/AUD_BandPassFactory.h
fftw/AUD_BandPassReader.h
)
ENDIF(WITH_FFTW3 AND FALSE)
IF(WITH_PYTHON)
LIST(APPEND INC Python ${PYTHON_INC})
SET(PYTHONSRC
Python/AUD_PyAPI.cpp
Python/AUD_PyAPI.h
)
ADD_DEFINITIONS(-DWITH_PYTHON)
ENDIF(WITH_PYTHON)
SET(SRC ${SRC} ${FFMPEGSRC} ${SNDFILESRC} ${SRCFILESRC} ${FFTW3SRC} ${SDLSRC} ${OPENALSRC} ${JACKSRC} ${PYTHONSRC})
SET(SRC
${SRC}
${FFMPEGSRC}
${SNDFILESRC}
${SRCFILESRC}
${FFTW3SRC}
${SDLSRC}
${OPENALSRC}
${JACKSRC}
${PYTHONSRC}
)
BLENDERLIB(bf_intern_audaspace "${SRC}" "${INC}")

@ -53,6 +53,26 @@ SET(SRC
intern/BOP_Tag.cpp
intern/BOP_Triangulator.cpp
intern/BOP_Vertex.cpp
extern/BOP_Interface.h
intern/BOP_BBox.h
intern/BOP_BSPNode.h
intern/BOP_BSPTree.h
intern/BOP_Chrono.h
intern/BOP_Edge.h
intern/BOP_Face.h
intern/BOP_Face2Face.h
intern/BOP_Indexs.h
intern/BOP_MathUtils.h
intern/BOP_Merge.h
intern/BOP_Merge2.h
intern/BOP_Mesh.h
intern/BOP_Misc.h
intern/BOP_Segment.h
intern/BOP_Splitter.h
intern/BOP_Tag.h
intern/BOP_Triangulator.h
intern/BOP_Vertex.h
)
BLENDERLIB(bf_intern_bop "${SRC}" "${INC}")

@ -35,6 +35,12 @@ SET(SRC
intern/BSP_CSGMesh.cpp
intern/BSP_MeshPrimitives.cpp
intern/CSG_BooleanOps.cpp
extern/CSG_BooleanOps.h
intern/BSP_CSGException.h
intern/BSP_CSGMesh.h
intern/BSP_CSGMesh_CFIterator.h
intern/BSP_MeshPrimitives.h
)
BLENDERLIB(bf_intern_bsp "${SRC}" "${INC}")

@ -30,6 +30,12 @@ SET(INC
SET(SRC
intern/CTR_List.cpp
CTR_List.h
CTR_Map.h
CTR_TaggedIndex.h
CTR_TaggedSetOps.h
CTR_UHeap.h
)
BLENDERLIB(bf_intern_ctr "${SRC}" "${INC}")

@ -40,6 +40,20 @@ SET(SRC
intern/LOD_QSDecimator.cpp
intern/LOD_QuadricEditor.cpp
intern/LOD_decimation.cpp
extern/LOD_decimation.h
intern/LOD_DecimationClass.h
intern/LOD_EdgeCollapser.h
intern/LOD_ExternBufferEditor.h
intern/LOD_ExternNormalEditor.h
intern/LOD_FaceNormalEditor.h
intern/LOD_ManMesh2.h
intern/LOD_MeshBounds.h
intern/LOD_MeshException.h
intern/LOD_MeshPrimitives.h
intern/LOD_QSDecimator.h
intern/LOD_Quadric.h
intern/LOD_QuadricEditor.h
)
BLENDERLIB(bf_intern_decimate "${SRC}" "${INC}")

@ -54,6 +54,36 @@ SET(SRC
intern/solver_main.cpp
intern/solver_util.cpp
intern/utilities.cpp
extern/LBM_fluidsim.h
extern/elbeem.h
intern/attributes.h
intern/controlparticles.h
intern/elbeem_control.h
intern/isosurface.h
intern/loop_tools.h
intern/mcubes_tables.h
intern/mvmcoords.h
intern/ntl_blenderdumper.h
intern/ntl_bsptree.h
intern/ntl_geometryclass.h
intern/ntl_geometrymodel.h
intern/ntl_geometryobject.h
intern/ntl_geometryshader.h
intern/ntl_lighting.h
intern/ntl_matrices.h
intern/ntl_ray.h
intern/ntl_vector3dim.h
intern/ntl_world.h
intern/paraloopend.h
intern/parametrizer.h
intern/particletracer.h
intern/simulation_object.h
intern/solver_class.h
intern/solver_control.h
intern/solver_interface.h
intern/solver_relax.h
intern/utilities.h
)
ADD_DEFINITIONS(-DNOGUI -DELBEEM_BLENDER=1)

@ -33,35 +33,75 @@ SET(INC
)
SET(SRC
./intern/GHOST_Buttons.cpp
./intern/GHOST_CallbackEventConsumer.cpp
./intern/GHOST_C-api.cpp
./intern/GHOST_DisplayManager.cpp
./intern/GHOST_EventManager.cpp
./intern/GHOST_EventPrinter.cpp
./intern/GHOST_ISystem.cpp
./intern/GHOST_ModifierKeys.cpp
./intern/GHOST_NDOFManager.cpp
./intern/GHOST_Path-api.cpp
./intern/GHOST_Rect.cpp
./intern/GHOST_System.cpp
./intern/GHOST_TimerManager.cpp
./intern/GHOST_Window.cpp
./intern/GHOST_WindowManager.cpp
intern/GHOST_Buttons.cpp
intern/GHOST_CallbackEventConsumer.cpp
intern/GHOST_C-api.cpp
intern/GHOST_DisplayManager.cpp
intern/GHOST_EventManager.cpp
intern/GHOST_EventPrinter.cpp
intern/GHOST_ISystem.cpp
intern/GHOST_ModifierKeys.cpp
intern/GHOST_NDOFManager.cpp
intern/GHOST_Path-api.cpp
intern/GHOST_Rect.cpp
intern/GHOST_System.cpp
intern/GHOST_TimerManager.cpp
intern/GHOST_Window.cpp
intern/GHOST_WindowManager.cpp
GHOST_C-api.h
GHOST_IEvent.h
GHOST_IEventConsumer.h
GHOST_ISystem.h
GHOST_ITimerTask.h
GHOST_IWindow.h
GHOST_Path-api.h
GHOST_Rect.h
GHOST_Types.h
intern/GHOST_Buttons.h
intern/GHOST_CallbackEventConsumer.h
intern/GHOST_Debug.h
intern/GHOST_DisplayManager.h
intern/GHOST_Event.h
intern/GHOST_EventButton.h
intern/GHOST_EventCursor.h
intern/GHOST_EventDragnDrop.h
intern/GHOST_EventKey.h
intern/GHOST_EventManager.h
intern/GHOST_EventNDOF.h
intern/GHOST_EventPrinter.h
intern/GHOST_EventString.h
intern/GHOST_EventTrackpad.h
intern/GHOST_EventWheel.h
intern/GHOST_ModifierKeys.h
intern/GHOST_NDOFManager.h
intern/GHOST_System.h
intern/GHOST_TimerManager.h
intern/GHOST_TimerTask.h
intern/GHOST_Window.h
intern/GHOST_WindowManager.h
)
IF(APPLE)
IF(WITH_COCOA)
LIST(APPEND SRC
./intern/GHOST_DisplayManagerCocoa.mm
./intern/GHOST_SystemCocoa.mm
./intern/GHOST_WindowCocoa.mm
intern/GHOST_DisplayManagerCocoa.mm
intern/GHOST_SystemCocoa.mm
intern/GHOST_WindowCocoa.mm
intern/GHOST_DisplayManagerCocoa.h
intern/GHOST_SystemCocoa.h
intern/GHOST_WindowCocoa.h
)
ELSE(WITH_COCOA)
LIST(APPEND SRC
./intern/GHOST_DisplayManagerCarbon.cpp
./intern/GHOST_SystemCarbon.cpp
./intern/GHOST_WindowCarbon.cpp
intern/GHOST_DisplayManagerCarbon.cpp
intern/GHOST_SystemCarbon.cpp
intern/GHOST_WindowCarbon.cpp
intern/GHOST_DisplayManagerCarbon.h
intern/GHOST_SystemCarbon.h
intern/GHOST_WindowCarbon.h
)
ENDIF(WITH_COCOA)
@ -73,9 +113,13 @@ ELSEIF(UNIX)
LIST(APPEND INC ${X11_X11_INCLUDE_PATH})
LIST(APPEND SRC
./intern/GHOST_DisplayManagerX11.cpp
./intern/GHOST_SystemX11.cpp
./intern/GHOST_WindowX11.cpp
intern/GHOST_DisplayManagerX11.cpp
intern/GHOST_SystemX11.cpp
intern/GHOST_WindowX11.cpp
intern/GHOST_DisplayManagerX11.h
intern/GHOST_SystemX11.h
intern/GHOST_WindowX11.h
)
ADD_DEFINITIONS(-DPREFIX="${CMAKE_INSTALL_PREFIX}")
@ -88,10 +132,15 @@ ELSEIF(WIN32)
LIST(APPEND INC ${WINTAB_INC})
LIST(APPEND SRC
./intern/GHOST_DisplayManagerWin32.cpp
./intern/GHOST_SystemWin32.cpp
./intern/GHOST_WindowWin32.cpp
./intern/GHOST_DropTargetWin32.cpp
intern/GHOST_DisplayManagerWin32.cpp
intern/GHOST_SystemWin32.cpp
intern/GHOST_WindowWin32.cpp
intern/GHOST_DropTargetWin32.cpp
intern/GHOST_DisplayManagerWin32.h
intern/GHOST_DropTargetWin32.h
intern/GHOST_SystemWin32.h
intern/GHOST_WindowWin32.h
)
ENDIF(APPLE)

@ -28,16 +28,25 @@ SET(INC .)
SET(SRC
./intern/mallocn.c
BLO_sys_types.h
MEM_guardedalloc.h
)
IF(WIN32 AND NOT UNIX)
LIST(APPEND SRC ./intern/mmap_win.c)
LIST(APPEND SRC
intern/mmap_win.c
mmap_win.h
)
ENDIF(WIN32 AND NOT UNIX)
BLENDERLIB(bf_intern_guardedalloc "${SRC}" "${INC}")
# Override C++ alloc, optional.
IF(WITH_CXX_GUARDEDALLOC)
SET(SRC cpp/mallocn.cpp)
SET(SRC
cpp/mallocn.cpp
)
BLENDERLIB(bf_intern_guardedalloc_cpp "${SRC}" "${INC}")
ENDIF(WITH_CXX_GUARDEDALLOC)

@ -37,6 +37,37 @@ SET(SRC
intern/IK_QTask.cpp
intern/IK_Solver.cpp
intern/MT_ExpMap.cpp
extern/IK_solver.h
intern/IK_QJacobian.h
intern/IK_QJacobianSolver.h
intern/IK_QSegment.h
intern/IK_QTask.h
intern/MT_ExpMap.h
intern/TNT/cholesky.h
intern/TNT/cmat.h
intern/TNT/fcscmat.h
intern/TNT/fmat.h
intern/TNT/fortran.h
intern/TNT/fspvec.h
intern/TNT/index.h
intern/TNT/lapack.h
intern/TNT/lu.h
intern/TNT/qr.h
intern/TNT/region1d.h
intern/TNT/region2d.h
intern/TNT/stopwatch.h
intern/TNT/subscript.h
intern/TNT/svd.h
intern/TNT/tnt.h
intern/TNT/tntmath.h
intern/TNT/tntreqs.h
intern/TNT/transv.h
intern/TNT/triang.h
intern/TNT/trisolve.h
intern/TNT/vec.h
intern/TNT/vecadaptor.h
intern/TNT/version.h
)
BLENDERLIB(bf_intern_ik "${SRC}" "${INC}")

@ -64,6 +64,162 @@ SET(SRC
kdl/utilities/error_stack.cpp
kdl/utilities/utility.cpp
kdl/utilities/utility_io.cpp
Armature.hpp
Cache.hpp
ConstraintSet.hpp
ControlledObject.hpp
CopyPose.hpp
Distance.hpp
FixedObject.hpp
MovingFrame.hpp
Object.hpp
Scene.hpp
Solver.hpp
UncontrolledObject.hpp
WDLSSolver.hpp
WSDLSSolver.hpp
WorldObject.hpp
eigen_types.hpp
kdl/chain.hpp
kdl/chainfksolver.hpp
kdl/chainfksolverpos_recursive.hpp
kdl/chainjnttojacsolver.hpp
kdl/frameacc.hpp
kdl/frames.hpp
kdl/frames_io.hpp
kdl/framevel.hpp
kdl/inertia.hpp
kdl/jacobian.hpp
kdl/jntarray.hpp
kdl/jntarrayacc.hpp
kdl/jntarrayvel.hpp
kdl/joint.hpp
kdl/kinfam_io.hpp
kdl/segment.hpp
kdl/tree.hpp
kdl/treefksolver.hpp
kdl/treefksolverpos_recursive.hpp
kdl/treejnttojacsolver.hpp
kdl/utilities/error.h
kdl/utilities/error_stack.h
kdl/utilities/kdl-config.h
kdl/utilities/rall1d.h
kdl/utilities/rall2d.h
kdl/utilities/svd_eigen_HH.hpp
kdl/utilities/traits.h
kdl/utilities/utility.h
kdl/utilities/utility_io.h
ublas_types.hpp
# until we have another user...
../../extern/Eigen2/Eigen/src/Array/BooleanRedux.h
../../extern/Eigen2/Eigen/src/Array/CwiseOperators.h
../../extern/Eigen2/Eigen/src/Array/Functors.h
../../extern/Eigen2/Eigen/src/Array/Norms.h
../../extern/Eigen2/Eigen/src/Array/PartialRedux.h
../../extern/Eigen2/Eigen/src/Array/Random.h
../../extern/Eigen2/Eigen/src/Array/Select.h
../../extern/Eigen2/Eigen/src/Cholesky/LDLT.h
../../extern/Eigen2/Eigen/src/Cholesky/LLT.h
../../extern/Eigen2/Eigen/src/Core/Assign.h
../../extern/Eigen2/Eigen/src/Core/Block.h
../../extern/Eigen2/Eigen/src/Core/CacheFriendlyProduct.h
../../extern/Eigen2/Eigen/src/Core/Coeffs.h
../../extern/Eigen2/Eigen/src/Core/CommaInitializer.h
../../extern/Eigen2/Eigen/src/Core/Cwise.h
../../extern/Eigen2/Eigen/src/Core/CwiseBinaryOp.h
../../extern/Eigen2/Eigen/src/Core/CwiseNullaryOp.h
../../extern/Eigen2/Eigen/src/Core/CwiseUnaryOp.h
../../extern/Eigen2/Eigen/src/Core/DiagonalCoeffs.h
../../extern/Eigen2/Eigen/src/Core/DiagonalMatrix.h
../../extern/Eigen2/Eigen/src/Core/DiagonalProduct.h
../../extern/Eigen2/Eigen/src/Core/Dot.h
../../extern/Eigen2/Eigen/src/Core/Flagged.h
../../extern/Eigen2/Eigen/src/Core/Functors.h
../../extern/Eigen2/Eigen/src/Core/Fuzzy.h
../../extern/Eigen2/Eigen/src/Core/GenericPacketMath.h
../../extern/Eigen2/Eigen/src/Core/IO.h
../../extern/Eigen2/Eigen/src/Core/Map.h
../../extern/Eigen2/Eigen/src/Core/MapBase.h
../../extern/Eigen2/Eigen/src/Core/MathFunctions.h
../../extern/Eigen2/Eigen/src/Core/Matrix.h
../../extern/Eigen2/Eigen/src/Core/MatrixBase.h
../../extern/Eigen2/Eigen/src/Core/MatrixStorage.h
../../extern/Eigen2/Eigen/src/Core/Minor.h
../../extern/Eigen2/Eigen/src/Core/NestByValue.h
../../extern/Eigen2/Eigen/src/Core/NumTraits.h
../../extern/Eigen2/Eigen/src/Core/Part.h
../../extern/Eigen2/Eigen/src/Core/Product.h
../../extern/Eigen2/Eigen/src/Core/Redux.h
../../extern/Eigen2/Eigen/src/Core/SolveTriangular.h
../../extern/Eigen2/Eigen/src/Core/Sum.h
../../extern/Eigen2/Eigen/src/Core/Swap.h
../../extern/Eigen2/Eigen/src/Core/Transpose.h
../../extern/Eigen2/Eigen/src/Core/Visitor.h
../../extern/Eigen2/Eigen/src/Core/arch/AltiVec/PacketMath.h
../../extern/Eigen2/Eigen/src/Core/arch/SSE/PacketMath.h
../../extern/Eigen2/Eigen/src/Core/util/Constants.h
../../extern/Eigen2/Eigen/src/Core/util/DisableMSVCWarnings.h
../../extern/Eigen2/Eigen/src/Core/util/EnableMSVCWarnings.h
../../extern/Eigen2/Eigen/src/Core/util/ForwardDeclarations.h
../../extern/Eigen2/Eigen/src/Core/util/Macros.h
../../extern/Eigen2/Eigen/src/Core/util/Memory.h
../../extern/Eigen2/Eigen/src/Core/util/Meta.h
../../extern/Eigen2/Eigen/src/Core/util/StaticAssert.h
../../extern/Eigen2/Eigen/src/Core/util/XprHelper.h
../../extern/Eigen2/Eigen/src/Geometry/AlignedBox.h
../../extern/Eigen2/Eigen/src/Geometry/AngleAxis.h
../../extern/Eigen2/Eigen/src/Geometry/EulerAngles.h
../../extern/Eigen2/Eigen/src/Geometry/Hyperplane.h
../../extern/Eigen2/Eigen/src/Geometry/OrthoMethods.h
../../extern/Eigen2/Eigen/src/Geometry/ParametrizedLine.h
../../extern/Eigen2/Eigen/src/Geometry/Quaternion.h
../../extern/Eigen2/Eigen/src/Geometry/Rotation2D.h
../../extern/Eigen2/Eigen/src/Geometry/RotationBase.h
../../extern/Eigen2/Eigen/src/Geometry/Scaling.h
../../extern/Eigen2/Eigen/src/Geometry/Transform.h
../../extern/Eigen2/Eigen/src/Geometry/Translation.h
../../extern/Eigen2/Eigen/src/LU/Determinant.h
../../extern/Eigen2/Eigen/src/LU/Inverse.h
../../extern/Eigen2/Eigen/src/LU/LU.h
../../extern/Eigen2/Eigen/src/LeastSquares/LeastSquares.h
../../extern/Eigen2/Eigen/src/QR/EigenSolver.h
../../extern/Eigen2/Eigen/src/QR/HessenbergDecomposition.h
../../extern/Eigen2/Eigen/src/QR/QR.h
../../extern/Eigen2/Eigen/src/QR/SelfAdjointEigenSolver.h
../../extern/Eigen2/Eigen/src/QR/Tridiagonalization.h
../../extern/Eigen2/Eigen/src/SVD/SVD.h
../../extern/Eigen2/Eigen/src/Sparse/AmbiVector.h
../../extern/Eigen2/Eigen/src/Sparse/CholmodSupport.h
../../extern/Eigen2/Eigen/src/Sparse/CompressedStorage.h
../../extern/Eigen2/Eigen/src/Sparse/CoreIterators.h
../../extern/Eigen2/Eigen/src/Sparse/DynamicSparseMatrix.h
../../extern/Eigen2/Eigen/src/Sparse/MappedSparseMatrix.h
../../extern/Eigen2/Eigen/src/Sparse/RandomSetter.h
../../extern/Eigen2/Eigen/src/Sparse/SparseAssign.h
../../extern/Eigen2/Eigen/src/Sparse/SparseBlock.h
../../extern/Eigen2/Eigen/src/Sparse/SparseCwise.h
../../extern/Eigen2/Eigen/src/Sparse/SparseCwiseBinaryOp.h
../../extern/Eigen2/Eigen/src/Sparse/SparseCwiseUnaryOp.h
../../extern/Eigen2/Eigen/src/Sparse/SparseDiagonalProduct.h
../../extern/Eigen2/Eigen/src/Sparse/SparseDot.h
../../extern/Eigen2/Eigen/src/Sparse/SparseFlagged.h
../../extern/Eigen2/Eigen/src/Sparse/SparseFuzzy.h
../../extern/Eigen2/Eigen/src/Sparse/SparseLDLT.h
../../extern/Eigen2/Eigen/src/Sparse/SparseLLT.h
../../extern/Eigen2/Eigen/src/Sparse/SparseLU.h
../../extern/Eigen2/Eigen/src/Sparse/SparseMatrix.h
../../extern/Eigen2/Eigen/src/Sparse/SparseMatrixBase.h
../../extern/Eigen2/Eigen/src/Sparse/SparseProduct.h
../../extern/Eigen2/Eigen/src/Sparse/SparseRedux.h
../../extern/Eigen2/Eigen/src/Sparse/SparseTranspose.h
../../extern/Eigen2/Eigen/src/Sparse/SparseUtil.h
../../extern/Eigen2/Eigen/src/Sparse/SparseVector.h
../../extern/Eigen2/Eigen/src/Sparse/SuperLUSupport.h
../../extern/Eigen2/Eigen/src/Sparse/TaucsSupport.h
../../extern/Eigen2/Eigen/src/Sparse/TriangularSolver.h
../../extern/Eigen2/Eigen/src/Sparse/UmfPackSupport.h
)
BLENDERLIB(bf_intern_itasc "${SRC}" "${INC}")

@ -30,8 +30,17 @@ SET(INC
)
SET(SRC
./intern/MEM_CacheLimiterC-Api.cpp
./intern/MEM_RefCountedC-Api.cpp
intern/MEM_CacheLimiterC-Api.cpp
intern/MEM_RefCountedC-Api.cpp
MEM_Allocator.h
MEM_CacheLimiter.h
MEM_CacheLimiterC-Api.h
MEM_NonCopyable.h
MEM_RefCountPtr.h
MEM_RefCounted.h
MEM_RefCountedC-Api.h
MEM_SmartPtr.h
)
BLENDERLIB(bf_intern_memutil "${SRC}" "${INC}")

@ -41,6 +41,30 @@ SET(SRC
intern/MT_Vector3.cpp
intern/MT_Vector4.cpp
intern/MT_random.cpp
include/GEN_List.h
include/GEN_Map.h
include/MT_CmMatrix4x4.h
include/MT_Matrix3x3.h
include/MT_Matrix4x4.h
include/MT_MinMax.h
include/MT_Optimize.h
include/MT_Plane3.h
include/MT_Point2.h
include/MT_Point3.h
include/MT_Quaternion.h
include/MT_Scalar.h
include/MT_Stream.h
include/MT_Transform.h
include/MT_Tuple2.h
include/MT_Tuple3.h
include/MT_Tuple4.h
include/MT_Vector2.h
include/MT_Vector3.h
include/MT_Vector4.h
include/MT_assert.h
include/MT_random.h
include/NM_Scalar.h
)
BLENDERLIB(bf_intern_moto "${SRC}" "${INC}")

@ -62,6 +62,14 @@ SET(SRC
superlu/sutil.c
superlu/util.c
superlu/xerbla.c
extern/ONL_opennl.h
superlu/BLO_sys_types.h
superlu/Cnames.h
superlu/colamd.h
superlu/ssp_defs.h
superlu/supermatrix.h
superlu/util.h
)
BLENDERLIB(bf_intern_opennl "${SRC}" "${INC}")

@ -41,6 +41,43 @@ SET(SRC
intern/SPHERE.cpp
intern/WTURBULENCE.cpp
intern/smoke_API.cpp
extern/smoke_API.h
intern/EIGENVALUE_HELPER.h
intern/FFT_NOISE.h
intern/FLUID_3D.h
intern/IMAGE.h
intern/INTERPOLATE.h
intern/LU_HELPER.h
intern/MERSENNETWISTER.h
intern/OBSTACLE.h
intern/SPHERE.h
intern/VEC3.h
intern/WAVELET_NOISE.h
intern/WTURBULENCE.h
intern/tnt/jama_eig.h
intern/tnt/jama_lu.h
intern/tnt/tnt.h
intern/tnt/tnt_array1d.h
intern/tnt/tnt_array1d_utils.h
intern/tnt/tnt_array2d.h
intern/tnt/tnt_array2d_utils.h
intern/tnt/tnt_array3d.h
intern/tnt/tnt_array3d_utils.h
intern/tnt/tnt_cmat.h
intern/tnt/tnt_fortran_array1d.h
intern/tnt/tnt_fortran_array1d_utils.h
intern/tnt/tnt_fortran_array2d.h
intern/tnt/tnt_fortran_array2d_utils.h
intern/tnt/tnt_fortran_array3d.h
intern/tnt/tnt_fortran_array3d_utils.h
intern/tnt/tnt_i_refvec.h
intern/tnt/tnt_math_utils.h
intern/tnt/tnt_sparse_matrix_csr.h
intern/tnt/tnt_stopwatch.h
intern/tnt/tnt_subscript.h
intern/tnt/tnt_vec.h
intern/tnt/tnt_version.h
)
IF(WITH_OPENMP)

@ -29,7 +29,10 @@ SET(INC
)
SET(SRC
./intern/STR_String.cpp
intern/STR_String.cpp
STR_HashedString.h
STR_String.h
)
BLENDERLIB(bf_intern_string "${SRC}" "${INC}")

@ -38,6 +38,13 @@ SET(SRC
intern/mjpeg.c
intern/options.c
intern/rgb32.c
AVI_avi.h
intern/avi_intern.h
intern/avirgb.h
intern/endian.h
intern/mjpeg.h
intern/rgb32.h
)
BLENDERLIB(bf_avi "${SRC}" "${INC}")

@ -40,6 +40,11 @@ SET(SRC
intern/blf_glyph.c
intern/blf_lang.c
intern/blf_util.c
BLF_api.h
BLF_types.h
intern/blf_internal.h
intern/blf_internal_types.h
)
IF(WITH_INTERNATIONAL)

@ -138,6 +138,91 @@ SET(SRC
intern/writeavi.c
intern/writeffmpeg.c
intern/writeframeserver.c
BKE_DerivedMesh.h
BKE_action.h
BKE_anim.h
BKE_animsys.h
BKE_armature.h
BKE_blender.h
BKE_bmesh.h
BKE_bmeshCustomData.h
BKE_bmfont.h
BKE_bmfont_types.h
BKE_boids.h
BKE_booleanops_mesh.h
BKE_brush.h
BKE_bullet.h
BKE_bvhutils.h
BKE_cdderivedmesh.h
BKE_cloth.h
BKE_collision.h
BKE_colortools.h
BKE_constraint.h
BKE_context.h
BKE_curve.h
BKE_customdata.h
BKE_customdata_file.h
BKE_deform.h
BKE_depsgraph.h
BKE_displist.h
BKE_effect.h
BKE_endian.h
BKE_exotic.h
BKE_fcurve.h
BKE_fluidsim.h
BKE_font.h
BKE_global.h
BKE_gpencil.h
BKE_group.h
BKE_icons.h
BKE_idcode.h
BKE_idprop.h
BKE_image.h
BKE_ipo.h
BKE_key.h
BKE_lattice.h
BKE_library.h
BKE_main.h
BKE_material.h
BKE_mball.h
BKE_mesh.h
BKE_modifier.h
BKE_multires.h
BKE_nla.h
BKE_node.h
BKE_object.h
BKE_packedFile.h
BKE_paint.h
BKE_particle.h
BKE_plugin_types.h
BKE_pointcache.h
BKE_property.h
BKE_report.h
BKE_sca.h
BKE_scene.h
BKE_screen.h
BKE_script.h
BKE_sequencer.h
BKE_shrinkwrap.h
BKE_sketch.h
BKE_smoke.h
BKE_softbody.h
BKE_sound.h
BKE_subsurf.h
BKE_suggestions.h
BKE_text.h
BKE_texture.h
BKE_unit.h
BKE_utildefines.h
BKE_world.h
BKE_writeavi.h
BKE_writeffmpeg.h
BKE_writeframeserver.h
depsgraph_private.h
intern/CCGSubSurf.h
intern/bmesh_private.h
nla_private.h
)
ADD_DEFINITIONS(-DGLEW_STATIC)

@ -80,6 +80,55 @@ SET(SRC
intern/uvproject.c
intern/voxel.c
intern/winstuff.c
BLI_args.h
BLI_blenlib.h
BLI_boxpack2d.h
BLI_bpath.h
BLI_cpu.h
BLI_dlrbTree.h
BLI_dynstr.h
BLI_edgehash.h
BLI_editVert.h
BLI_fileops.h
BLI_fnmatch.h
BLI_ghash.h
BLI_graph.h
BLI_gsqueue.h
BLI_heap.h
BLI_jitter.h
BLI_kdopbvh.h
BLI_kdtree.h
BLI_linklist.h
BLI_listbase.h
BLI_math.h
BLI_math_base.h
BLI_math_color.h
BLI_math_geom.h
BLI_math_inline.h
BLI_math_matrix.h
BLI_math_rotation.h
BLI_math_vector.h
BLI_memarena.h
BLI_mempool.h
BLI_noise.h
BLI_path_util.h
BLI_pbvh.h
BLI_rand.h
BLI_rect.h
BLI_scanfill.h
BLI_storage.h
BLI_storage_types.h
BLI_string.h
BLI_threads.h
BLI_uvproject.h
BLI_vfontdata.h
BLI_voxel.h
BLI_winstuff.h
PIL_dynlib.h
PIL_time.h
intern/BLI_callbacks.h
intern/dynamiclist.h
)
IF(CMAKE_SYSTEM_NAME MATCHES "Linux")

@ -41,6 +41,13 @@ SET(SRC
intern/readfile.c
intern/undofile.c
intern/writefile.c
BLO_readfile.h
BLO_soundfile.h
BLO_sys_types.h
BLO_undofile.h
BLO_writefile.h
intern/readfile.h
)
BLENDERLIB(bf_blenloader "${SRC}" "${INC}")

@ -35,6 +35,13 @@ SET(INC
SET(SRC
intern/pluginapi.c
documentation.h
externdef.h
floatpatch.h
iff.h
plugin.h
util.h
)
IF(WITH_QUICKTIME)

@ -73,6 +73,26 @@ SET(SRC
collada.cpp
collada_internal.cpp
collada_utils.cpp
AnimationImporter.h
ArmatureExporter.h
ArmatureImporter.h
CameraExporter.h
DocumentExporter.h
DocumentImporter.h
EffectExporter.h
GeometryExporter.h
ImageExporter.h
InstanceWriter.h
LightExporter.h
MaterialExporter.h
MeshImporter.h
SkinInfo.h
TransformReader.h
TransformWriter.h
collada.h
collada_internal.h
collada_utils.h
)
IF(WITH_BUILDINFO)

@ -45,6 +45,8 @@ SET(SRC
keyframes_general.c
keyframing.c
keyingsets.c
anim_intern.h
)
BLENDERLIB(bf_editor_animation "${SRC}" "${INC}")

@ -42,6 +42,12 @@ SET(SRC
poselib.c
poseobject.c
reeb.c
BIF_generate.h
BIF_retarget.h
armature_intern.h
meshlaplacian.h
reeb.h
)
BLENDERLIB(bf_editor_armature "${SRC}" "${INC}")

@ -34,6 +34,8 @@ SET(SRC
editcurve.c
editfont.c
lorem.c
curve_intern.h
)
BLENDERLIB(bf_editor_curve "${SRC}" "${INC}")

@ -37,6 +37,8 @@ SET(SRC
gpencil_edit.c
gpencil_ops.c
gpencil_paint.c
gpencil_intern.h
)
BLENDERLIB(bf_editor_gpencil "${SRC}" "${INC}")

@ -50,6 +50,8 @@ SET(SRC
resources.c
view2d.c
view2d_ops.c
interface_intern.h
)
IF(WITH_INTERNATIONAL)

@ -43,6 +43,8 @@ SET(SRC
mesh_data.c
mesh_ops.c
meshtools.c
mesh_intern.h
)
BLENDERLIB(bf_editor_mesh "${SRC}" "${INC}")

@ -33,6 +33,8 @@ SET(INC
SET(SRC
mball_edit.c
mball_ops.c
mball_intern.h
)
BLENDERLIB(bf_editor_metaball "${SRC}" "${INC}")

@ -49,6 +49,8 @@ SET(SRC
object_shapekey.c
object_transform.c
object_vgroup.c
object_intern.h
)
IF(WITH_PYTHON)

@ -37,6 +37,8 @@ SET(SRC
physics_fluid.c
physics_ops.c
physics_pointcache.c
physics_intern.h
)
IF(NOT WITH_MOD_FLUID)

@ -41,6 +41,8 @@ SET(SRC
render_ops.c
render_preview.c
render_shading.c
render_intern.h
)
IF(WITH_QUICKTIME)

@ -38,6 +38,8 @@ SET(SRC
screen_edit.c
screen_ops.c
screendump.c
screen_intern.h
)
BLENDERLIB(bf_editor_screen "${SRC}" "${INC}")

@ -41,6 +41,9 @@ SET(SRC
paint_vertex.c
sculpt.c
sculpt_undo.c
paint_intern.h
sculpt_intern.h
)
BLENDERLIB(bf_editor_sculpt_paint "${SRC}" "${INC}")

@ -32,6 +32,8 @@ SET(INC
SET(SRC
sound_ops.c
sound_intern.h
)
BLENDERLIB(bf_editor_sound "${SRC}" "${INC}")

@ -35,6 +35,8 @@ SET(SRC
action_ops.c
action_select.c
space_action.c
action_intern.h
)
BLENDERLIB(bf_editor_space_action "${SRC}" "${INC}")

@ -34,6 +34,8 @@ SET(SRC
buttons_header.c
buttons_ops.c
space_buttons.c
buttons_intern.h
)
BLENDERLIB(bf_editor_space_buttons "${SRC}" "${INC}")

@ -35,6 +35,8 @@ SET(SRC
console_draw.c
console_ops.c
space_console.c
console_intern.h
)
IF(WITH_PYTHON)

@ -41,6 +41,10 @@ SET(SRC
filesel.c
fsmenu.c
space_file.c
file_intern.h
filelist.h
fsmenu.h
)
IF(WITH_IMAGE_OPENEXR)

@ -38,6 +38,8 @@ SET(SRC
graph_select.c
graph_utils.c
space_graph.c
graph_intern.h
)
BLENDERLIB(bf_editor_space_graph "${SRC}" "${INC}")

@ -38,6 +38,8 @@ SET(SRC
image_ops.c
image_render.c
space_image.c
image_intern.h
)
IF(WITH_IMAGE_OPENJPEG)

@ -38,6 +38,9 @@ SET(SRC
info_report.c
textview.c
space_info.c
info_intern.h
textview.h
)
BLENDERLIB(bf_editor_space_info "${SRC}" "${INC}")

@ -35,6 +35,8 @@ SET(SRC
logic_ops.c
logic_window.c
space_logic.c
logic_intern.h
)
IF(WITH_GAMEENGINE)

@ -37,6 +37,8 @@ SET(SRC
nla_ops.c
nla_select.c
space_nla.c
nla_intern.h
)
BLENDERLIB(bf_editor_space_nla "${SRC}" "${INC}")

@ -43,6 +43,8 @@ SET(SRC
node_select.c
node_state.c
space_node.c
node_intern.h
)
BLENDERLIB(bf_editor_space_node "${SRC}" "${INC}")

@ -35,6 +35,8 @@ SET(SRC
outliner.c
outliner_ops.c
space_outliner.c
outliner_intern.h
)
BLENDERLIB(bf_editor_space_outliner "${SRC}" "${INC}")

@ -34,6 +34,8 @@ SET(SRC
script_header.c
script_ops.c
space_script.c
script_intern.h
)
IF(WITH_PYTHON)

@ -40,6 +40,8 @@ SET(SRC
sequencer_scopes.c
sequencer_select.c
space_sequencer.c
sequencer_intern.h
)
BLENDERLIB(bf_editor_space_sequencer "${SRC}" "${INC}")

@ -32,6 +32,8 @@ SET(INC
SET(SRC
sound_header.c
space_sound.c
sound_intern.h
)
BLENDERLIB(bf_editor_space_sound "${SRC}" "${INC}")

@ -36,6 +36,8 @@ SET(SRC
text_header.c
text_ops.c
text_python.c
text_intern.h
)
IF(WITH_PYTHON)

@ -32,6 +32,8 @@ SET(INC
SET(SRC
space_time.c
time_ops.c
time_intern.h
)
BLENDERLIB(bf_editor_space_time "${SRC}" "${INC}")

@ -32,6 +32,8 @@ SET(INC
SET(SRC
space_userpref.c
userpref_ops.c
userpref_intern.h
)
BLENDERLIB(bf_editor_space_userpref "${SRC}" "${INC}")

@ -51,6 +51,8 @@ SET(SRC
view3d_snap.c
view3d_toolbar.c
view3d_view.c
view3d_intern.h
)
IF(WITH_GAMEENGINE)

@ -40,6 +40,8 @@ SET(SRC
transform_ops.c
transform_orientations.c
transform_snap.c
transform.h
)
BLENDERLIB(bf_editor_transform "${SRC}" "${INC}")

@ -34,6 +34,52 @@ SET(SRC
editmode_undo.c
numinput.c
undo.c
util_intern.h
# general includes
../include/BIF_gl.h
../include/BIF_glutil.h
../include/ED_anim_api.h
../include/ED_armature.h
../include/ED_curve.h
../include/ED_datafiles.h
../include/ED_fileselect.h
../include/ED_fluidsim.h
../include/ED_gpencil.h
../include/ED_image.h
../include/ED_info.h
../include/ED_keyframes_draw.h
../include/ED_keyframes_edit.h
../include/ED_keyframing.h
../include/ED_lattice.h
../include/ED_logic.h
../include/ED_markers.h
../include/ED_mball.h
../include/ED_mesh.h
../include/ED_node.h
../include/ED_numinput.h
../include/ED_object.h
../include/ED_particle.h
../include/ED_physics.h
../include/ED_render.h
../include/ED_retopo.h
../include/ED_screen.h
../include/ED_screen_types.h
../include/ED_sculpt.h
../include/ED_sequencer.h
../include/ED_sound.h
../include/ED_space_api.h
../include/ED_text.h
../include/ED_transform.h
../include/ED_types.h
../include/ED_util.h
../include/ED_uvedit.h
../include/ED_view3d.h
../include/UI_icons.h
../include/UI_interface.h
../include/UI_interface_icons.h
../include/UI_resources.h
../include/UI_view2d.h
)
BLENDERLIB(bf_editor_util "${SRC}" "${INC}")

@ -35,6 +35,9 @@ SET(SRC
uvedit_ops.c
uvedit_parametrizer.c
uvedit_unwrap_ops.c
uvedit_intern.h
uvedit_parametrizer.h
)
BLENDERLIB(bf_editor_uvedit "${SRC}" "${INC}")

@ -44,6 +44,12 @@ SET(SRC
intern/gpu_material.c
intern/gpu_shader_material.glsl.c
intern/gpu_shader_vertex.glsl.c
GPU_buffers.h
GPU_draw.h
GPU_extensions.h
GPU_material.h
intern/gpu_codegen.h
)
ADD_DEFINITIONS(-DGLEW_STATIC)

@ -34,15 +34,22 @@ SET(INC
)
SET(SRC
./intern/ikplugin_api.c
./intern/iksolver_plugin.c
intern/ikplugin_api.c
intern/iksolver_plugin.c
BIK_api.h
intern/ikplugin_api.h
intern/iksolver_plugin.h
intern/itasc_plugin.h
)
IF(WITH_IK_ITASC)
ADD_DEFINITIONS(-DWITH_IK_ITASC)
LIST(APPEND INC ../../../extern/Eigen2)
LIST(APPEND INC ../../../intern/itasc)
LIST(APPEND SRC ./intern/itasc_plugin.cpp)
LIST(APPEND SRC
./intern/itasc_plugin.cpp
)
ENDIF(WITH_IK_ITASC)
BLENDERLIB(bf_ikplugin "${SRC}" "${INC}")

@ -64,6 +64,36 @@ SET(SRC
intern/tiff.c
intern/util.c
intern/writeimage.c
IMB_imbuf.h
IMB_imbuf_types.h
IMB_thumbs.h
intern/IMB_allocimbuf.h
intern/IMB_anim.h
intern/IMB_filetype.h
intern/IMB_filter.h
intern/IMB_metadata.h
intern/cineon/cin_debug_stuff.h
intern/cineon/cineonfile.h
intern/cineon/cineonlib.h
intern/cineon/dpxfile.h
intern/cineon/dpxlib.h
intern/cineon/logImageCore.h
intern/cineon/logImageLib.h
intern/cineon/logmemfile.h
intern/dds/BlockDXT.h
intern/dds/Color.h
intern/dds/ColorBlock.h
intern/dds/Common.h
intern/dds/DirectDrawSurface.h
intern/dds/Image.h
intern/dds/PixelFormat.h
intern/dds/Stream.h
intern/dds/dds_api.h
intern/imbuf.h
intern/md5.h
intern/openexr/openexr_api.h
intern/openexr/openexr_multi.h
)
IF(WITH_IMAGE_OPENEXR)

@ -25,7 +25,6 @@
# ***** END GPL LICENSE BLOCK *****
INCLUDE_DIRECTORIES(../../../../intern/guardedalloc ..)
FILE(GLOB INC_FILES ../*.h)
# Build makesdna executable
SET(SRC
@ -34,10 +33,72 @@ SET(SRC
)
IF(WIN32 AND NOT UNIX)
LIST(APPEND SRC ../../../../intern/guardedalloc/intern/mmap_win.c)
LIST(APPEND SRC
../../../../intern/guardedalloc/intern/mmap_win.c
)
ENDIF(WIN32 AND NOT UNIX)
ADD_EXECUTABLE(makesdna ${SRC} ${INC_FILES})
SET(SRC_DNA_INC
../DNA_ID.h
../DNA_action_types.h
../DNA_actuator_types.h
../DNA_anim_types.h
../DNA_armature_types.h
../DNA_boid_types.h
../DNA_brush_types.h
../DNA_camera_types.h
../DNA_cloth_types.h
../DNA_color_types.h
../DNA_constraint_types.h
../DNA_controller_types.h
../DNA_curve_types.h
../DNA_customdata_types.h
../DNA_documentation.h
../DNA_effect_types.h
../DNA_fileglobal_types.h
../DNA_genfile.h
../DNA_gpencil_types.h
../DNA_group_types.h
../DNA_image_types.h
../DNA_ipo_types.h
../DNA_key_types.h
../DNA_lamp_types.h
../DNA_lattice_types.h
../DNA_listBase.h
../DNA_material_types.h
../DNA_mesh_types.h
../DNA_meshdata_types.h
../DNA_meta_types.h
../DNA_modifier_types.h
../DNA_nla_types.h
../DNA_node_types.h
../DNA_object_fluidsim.h
../DNA_object_force.h
../DNA_object_types.h
../DNA_outliner_types.h
../DNA_packedFile_types.h
../DNA_particle_types.h
../DNA_property_types.h
../DNA_scene_types.h
../DNA_screen_types.h
../DNA_sdna_types.h
../DNA_sensor_types.h
../DNA_sequence_types.h
../DNA_smoke_types.h
../DNA_sound_types.h
../DNA_space_types.h
../DNA_text_types.h
../DNA_texture_types.h
../DNA_userdef_types.h
../DNA_vec_types.h
../DNA_vfont_types.h
../DNA_view2d_types.h
../DNA_view3d_types.h
../DNA_windowmanager_types.h
../DNA_world_types.h
)
ADD_EXECUTABLE(makesdna ${SRC} ${SRC_DNA_INC})
# Output dna.c
ADD_CUSTOM_COMMAND(
@ -47,7 +108,12 @@ ADD_CUSTOM_COMMAND(
)
# Build bf_dna library
SET(SRC dna_genfile.c dna.c)
SET(SRC
dna_genfile.c
dna.c
${SRC_DNA_INC}
)
BLENDERLIB(bf_dna "${SRC}" "${INC}")
MESSAGE(STATUS "Configuring makesdna")

@ -44,7 +44,8 @@ SET(SRC
${DEFSRC}
${APISRC}
../../../../intern/guardedalloc/intern/mallocn.c
../../../../intern/guardedalloc/intern/mmap_win.c)
../../../../intern/guardedalloc/intern/mmap_win.c
)
INCLUDE_DIRECTORIES(
../../../../intern/audaspace/intern
@ -62,7 +63,8 @@ INCLUDE_DIRECTORIES(
../../imbuf
../../render/extern/include
../../../../extern/glew/include
. )
.
)
FILE(GLOB INC_FILES ../*.h ../../makesdna/*.h)
@ -150,5 +152,18 @@ ADD_CUSTOM_COMMAND(
)
# Build bf_rna
SET(SRC rna_access.c ${GENSRC})
SET(SRC
rna_access.c
${GENSRC}
../RNA_access.h
../RNA_define.h
../RNA_enum_types.h
../RNA_types.h
rna_internal.h
rna_internal_types.h
rna_nodetree_types.h
)
BLENDERLIB(bf_rna "${SRC}" "${INC}")

@ -74,11 +74,18 @@ SET(SRC
intern/MOD_util.c
intern/MOD_uvproject.c
intern/MOD_wave.c
MOD_modifiertypes.h
intern/MOD_boolean_util.h
intern/MOD_fluidsim_util.h
intern/MOD_util.h
)
IF(WITH_MOD_BOOLEAN)
ADD_DEFINITIONS(-DWITH_MOD_BOOLEAN)
LIST(APPEND SRC intern/MOD_boolean_util.c)
LIST(APPEND SRC
intern/MOD_boolean_util.c
)
LIST(APPEND INC ../../../intern/bsp/extern)
ENDIF(WITH_MOD_BOOLEAN)

@ -138,6 +138,14 @@ SET(SRC
intern/TEX_nodes/TEX_viewer.c
intern/TEX_util.c
intern/node_util.c
CMP_node.h
SHD_node.h
TEX_node.h
intern/CMP_util.h
intern/SHD_util.h
intern/TEX_util.h
intern/node_util.h
)
IF(WITH_PYTHON)

@ -42,6 +42,19 @@ SET(SRC
mathutils_vector.c
noise.c
py_capi_utils.c
IDProp.h
bgl.h
blf_api.h
bpy_internal_import.h
mathutils.h
mathutils_color.h
mathutils_euler.h
mathutils_geometry.h
mathutils_matrix.h
mathutils_quat.h
mathutils_vector.h
py_capi_utils.h
)
BLENDERLIB(bf_python_ext "${SRC}" "${INC}")

@ -49,6 +49,16 @@ SET(SRC
bpy_rna_callback.c
bpy_util.c
stubs.c
bpy.h
bpy_app.h
bpy_operator.h
bpy_operator_wrap.h
bpy_props.h
bpy_rna.h
bpy_rna_callback.h
bpy_util.h
../BPY_extern.h
)
# only to check if buildinfo is available

@ -25,9 +25,21 @@
# ***** END GPL LICENSE BLOCK *****
IF(USE_QTKIT)
SET(SRC apple/qtkit_import.m apple/qtkit_export.m)
SET(SRC
apple/qtkit_import.m
apple/qtkit_export.m
quicktime_export.h
quicktime_import.h
)
ELSE(USE_QTKIT)
SET(SRC apple/quicktime_import.c apple/quicktime_export.c)
SET(SRC
apple/quicktime_import.c
apple/quicktime_export.c
quicktime_export.h
quicktime_import.h
)
ENDIF(USE_QTKIT)
SET(INC

@ -36,6 +36,8 @@ SET(INC
SET(SRC
intern/BLO_readblenfile.c
BLO_readblenfile.h
)
BLENDERLIB(bf_readblenfile "${SRC}" "${INC}")

@ -75,6 +75,40 @@ SET(SRC
intern/source/volumetric.c
intern/source/voxeldata.c
intern/source/zbuf.c
extern/include/RE_pipeline.h
extern/include/RE_raytrace.h
extern/include/RE_render_ext.h
extern/include/RE_shader_ext.h
intern/include/envmap.h
intern/include/gammaCorrectionTables.h
intern/include/initrender.h
intern/include/occlusion.h
intern/include/pixelblending.h
intern/include/pixelshading.h
intern/include/pointdensity.h
intern/include/raycounter.h
intern/include/rayobject.h
intern/include/render_types.h
intern/include/rendercore.h
intern/include/renderdatabase.h
intern/include/renderpipeline.h
intern/include/shadbuf.h
intern/include/shading.h
intern/include/sss.h
intern/include/strand.h
intern/include/sunsky.h
intern/include/texture.h
intern/include/volume_precache.h
intern/include/volumetric.h
intern/include/voxeldata.h
intern/include/zbuf.h
intern/raytrace/bvh.h
intern/raytrace/rayobject_hint.h
intern/raytrace/rayobject_rtbuild.h
intern/raytrace/reorganize.h
intern/raytrace/svbvh.h
intern/raytrace/vbvh.h
)
IF(WITH_IMAGE_OPENEXR)

@ -62,6 +62,17 @@ SET(SRC
intern/wm_operators.c
intern/wm_subwindow.c
intern/wm_window.c
WM_api.h
WM_types.h
wm.h
wm_cursors.h
wm_draw.h
wm_event_system.h
wm_event_types.h
wm_files.h
wm_subwindow.h
wm_window.h
)
ADD_DEFINITIONS(-DGLEW_STATIC)

@ -90,10 +90,14 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux")
# Setup the exe sources and buildinfo
SET(EXESRC creator.c)
SET(SRC
creator.c
)
IF(WIN32 AND NOT UNIX)
LIST(APPEND EXESRC ../icons/winblender.rc)
LIST(APPEND SRC
../icons/winblender.rc
)
ENDIF(WIN32 AND NOT UNIX)
IF(WITH_BUILDINFO)
@ -112,12 +116,14 @@ IF(WITH_BUILDINFO)
-DBUILD_SYSTEM="CMake"
)
LIST(APPEND EXESRC buildinfo.c)
LIST(APPEND SRC
buildinfo.c
)
ENDIF(WITH_BUILDINFO)
MESSAGE(STATUS "Configuring blender")
ADD_EXECUTABLE(blender ${EXETYPE} ${EXESRC})
ADD_EXECUTABLE(blender ${EXETYPE} ${SRC})
# Post build steps for bundling/packaging.

@ -41,6 +41,14 @@ SET(SRC
KX_BlenderMouseDevice.cpp
KX_BlenderRenderTools.cpp
KX_BlenderSystem.cpp
KX_BlenderCanvas.h
KX_BlenderGL.h
KX_BlenderInputDevice.h
KX_BlenderKeyboardDevice.h
KX_BlenderMouseDevice.h
KX_BlenderRenderTools.h
KX_BlenderSystem.h
)
ADD_DEFINITIONS(-DGLEW_STATIC)

@ -81,6 +81,28 @@ SET(SRC
KX_ConvertSensors.cpp
KX_IpoConvert.cpp
KX_SoftBodyDeformer.cpp
BL_ActionActuator.h
BL_ArmatureActuator.h
BL_ArmatureChannel.h
BL_ArmatureConstraint.h
BL_ArmatureObject.h
BL_BlenderDataConversion.h
BL_DeformableGameObject.h
BL_MeshDeformer.h
BL_ModifierDeformer.h
BL_ShapeActionActuator.h
BL_ShapeDeformer.h
BL_SkinDeformer.h
BlenderWorldInfo.h
KX_BlenderScalarInterpolator.h
KX_BlenderSceneConverter.h
KX_ConvertActuators.h
KX_ConvertControllers.h
KX_ConvertProperties.h
KX_ConvertSensors.h
KX_IpoConvert.h
KX_SoftBodyDeformer.h
)
IF(WITH_PYTHON)

@ -54,6 +54,28 @@ SET(SRC
StringValue.cpp
Value.cpp
VectorValue.cpp
BoolValue.h
ConstExpr.h
EXP_C-Api.h
EmptyValue.h
ErrorValue.h
Expression.h
FloatValue.h
IdentifierExpr.h
IfExpr.h
InputParser.h
IntValue.h
KX_HashedPtr.h
KX_Python.h
ListValue.h
Operator1Expr.h
Operator2Expr.h
PyObjectPlus.h
StringValue.h
Value.h
VectorValue.h
VoidValue.h
)
IF(WITH_PYTHON)

@ -77,6 +77,50 @@ SET(SRC
SCA_TimeEventManager.cpp
SCA_XNORController.cpp
SCA_XORController.cpp
Joystick/SCA_Joystick.h
Joystick/SCA_JoystickDefines.h
Joystick/SCA_JoystickPrivate.h
SCA_2DFilterActuator.h
SCA_ANDController.h
SCA_ActuatorEventManager.h
SCA_ActuatorSensor.h
SCA_AlwaysEventManager.h
SCA_AlwaysSensor.h
SCA_BasicEventManager.h
SCA_DelaySensor.h
SCA_EventManager.h
SCA_ExpressionController.h
SCA_IActuator.h
SCA_IController.h
SCA_IInputDevice.h
SCA_ILogicBrick.h
SCA_IObject.h
SCA_IScene.h
SCA_ISensor.h
SCA_JoystickManager.h
SCA_JoystickSensor.h
SCA_KeyboardManager.h
SCA_KeyboardSensor.h
SCA_LogicManager.h
SCA_MouseManager.h
SCA_MouseSensor.h
SCA_NANDController.h
SCA_NORController.h
SCA_ORController.h
SCA_PropertyActuator.h
SCA_PropertyEventManager.h
SCA_PropertySensor.h
SCA_PythonController.h
SCA_PythonKeyboard.h
SCA_PythonMouse.h
SCA_RandomActuator.h
SCA_RandomEventManager.h
SCA_RandomNumberGenerator.h
SCA_RandomSensor.h
SCA_TimeEventManager.h
SCA_XNORController.h
SCA_XORController.h
)
IF(WITH_SDL)

@ -67,6 +67,25 @@ SET(SRC
GPC_RawLogoArrays.cpp
GPC_RenderTools.cpp
GPC_System.cpp
GPC_Canvas.h
GPC_Engine.h
GPC_KeyboardDevice.h
GPC_MouseDevice.h
GPC_RawImage.h
GPC_RawLoadDotBlendArray.h
GPC_RawLogoArrays.h
GPC_RenderTools.h
GPC_System.h
unix/GPU_Canvas.h
unix/GPU_Engine.h
unix/GPU_KeyboardDevice.h
unix/GPU_PolygonMaterial.h
unix/GPU_System.h
windows/GPW_Canvas.h
windows/GPW_Engine.h
windows/GPW_KeyboardDevice.h
windows/GPW_System.h
)
IF(WITH_PYTHON)

@ -63,6 +63,11 @@ SET(SRC
GPG_ghost.cpp
GPG_KeyboardDevice.cpp
GPG_System.cpp
GPG_Application.h
GPG_Canvas.h
GPG_KeyboardDevice.h
GPG_System.h
)
ADD_DEFINITIONS(-DGLEW_STATIC)

@ -122,6 +122,82 @@ SET(SRC
KX_VisibilityActuator.cpp
KX_WorldInfo.cpp
KX_WorldIpoController.cpp
KX_ArmatureSensor.h
KX_BlenderMaterial.h
KX_BulletPhysicsController.h
KX_Camera.h
KX_CameraActuator.h
KX_CameraIpoSGController.h
KX_ClientObjectInfo.h
KX_ConstraintActuator.h
KX_ConstraintWrapper.h
KX_ConvertPhysicsObject.h
KX_Dome.h
KX_EmptyObject.h
KX_GameActuator.h
KX_GameObject.h
KX_IInterpolator.h
KX_IPOTransform.h
KX_IPO_SGController.h
KX_IPhysicsController.h
KX_IScalarInterpolator.h
KX_ISceneConverter.h
KX_ISystem.h
KX_IpoActuator.h
KX_KetsjiEngine.h
KX_Light.h
KX_LightIpoSGController.h
KX_MaterialIpoController.h
KX_MeshProxy.h
KX_MotionState.h
KX_MouseFocusSensor.h
KX_NearSensor.h
KX_ObColorIpoSGController.h
KX_ObjectActuator.h
KX_OrientationInterpolator.h
KX_ParentActuator.h
KX_PhysicsEngineEnums.h
KX_PhysicsObjectWrapper.h
KX_PhysicsPropertiesobsolete.h
KX_PolyProxy.h
KX_PolygonMaterial.h
KX_PositionInterpolator.h
KX_PyConstraintBinding.h
KX_PyMath.h
KX_PythonInit.h
KX_PythonInitTypes.h
KX_PythonSeq.h
KX_RadarSensor.h
KX_RayCast.h
KX_RayEventManager.h
KX_RaySensor.h
KX_SCA_AddObjectActuator.h
KX_SCA_DynamicActuator.h
KX_SCA_EndObjectActuator.h
KX_SCA_ReplaceMeshActuator.h
KX_SG_BoneParentNodeRelationship.h
KX_SG_NodeRelationships.h
KX_ScalarInterpolator.h
KX_ScalingInterpolator.h
KX_Scene.h
KX_SceneActuator.h
KX_SoundActuator.h
KX_StateActuator.h
KX_TimeCategoryLogger.h
KX_TimeLogger.h
KX_TouchEventManager.h
KX_TouchSensor.h
KX_TrackToActuator.h
KX_VehicleWrapper.h
KX_VertexProxy.h
KX_VisibilityActuator.h
KX_WorldInfo.h
KX_WorldIpoController.h
BL_BlenderShader.h
BL_Material.h
BL_Shader.h
BL_Texture.h
)
ADD_DEFINITIONS(-DGLEW_STATIC)

@ -42,6 +42,12 @@ SET(SRC
KX_NetworkMessageSensor.cpp
KX_NetworkObjectActuator.cpp
KX_NetworkObjectSensor.cpp
KX_NetworkEventManager.h
KX_NetworkMessageActuator.h
KX_NetworkMessageSensor.h
KX_NetworkObjectActuator.h
KX_NetworkObjectSensor.h
)
IF(WITH_PYTHON)

@ -35,6 +35,11 @@ SET(SRC
NG_NetworkMessage.cpp
NG_NetworkObject.cpp
NG_NetworkScene.cpp
NG_NetworkDeviceInterface.h
NG_NetworkMessage.h
NG_NetworkObject.h
NG_NetworkScene.h
)
BLENDERLIB(ge_logic_ngnetwork "${SRC}" "${INC}")

@ -33,6 +33,8 @@ SET(INC
SET(SRC
NG_LoopBackNetworkDeviceInterface.cpp
NG_LoopBackNetworkDeviceInterface.h
)
BLENDERLIB(ge_logic_loopbacknetwork "${SRC}" "${INC}")

@ -51,6 +51,10 @@ SET(SRC
CcdPhysicsEnvironment.cpp
CcdPhysicsController.cpp
CcdGraphicController.cpp
CcdGraphicController.h
CcdPhysicsController.h
CcdPhysicsEnvironment.h
)
IF(WITH_BULLET)

@ -31,6 +31,8 @@ SET(INC
SET(SRC
DummyPhysicsEnvironment.cpp
DummyPhysicsEnvironment.h
)
BLENDERLIB(ge_phys_dummy "${SRC}" "${INC}")

@ -36,6 +36,15 @@ SET(SRC
PHY_IGraphicController.cpp
PHY_IPhysicsEnvironment.cpp
PHY_IVehicle.cpp
PHY_DynamicTypes.h
PHY_IController.h
PHY_IGraphicController.h
PHY_IMotionState.h
PHY_IPhysicsController.h
PHY_IPhysicsEnvironment.h
PHY_IVehicle.h
PHY_Pro.h
)
BLENDERLIB(ge_phys_common "${SRC}" "${INC}")

@ -49,6 +49,34 @@ SET(SRC
RAS_Polygon.cpp
RAS_TexVert.cpp
RAS_texmatrix.cpp
RAS_2DFilterManager.h
RAS_BucketManager.h
RAS_CameraData.h
RAS_Deformer.h
RAS_FramingManager.h
RAS_ICanvas.h
RAS_IPolygonMaterial.h
RAS_IRasterizer.h
RAS_IRenderTools.h
RAS_LightObject.h
RAS_MaterialBucket.h
RAS_MeshObject.h
RAS_ObjectColor.h
RAS_Polygon.h
RAS_Rect.h
RAS_TexMatrix.h
RAS_TexVert.h
RAS_OpenGLFilters/RAS_Blur2DFilter.h
RAS_OpenGLFilters/RAS_Dilation2DFilter.h
RAS_OpenGLFilters/RAS_Erosion2DFilter.h
RAS_OpenGLFilters/RAS_GrayScale2DFilter.h
RAS_OpenGLFilters/RAS_Invert2DFilter.h
RAS_OpenGLFilters/RAS_Laplacian2DFilter.h
RAS_OpenGLFilters/RAS_Prewitt2DFilter.h
RAS_OpenGLFilters/RAS_Sepia2DFilter.h
RAS_OpenGLFilters/RAS_Sharpen2DFilter.h
RAS_OpenGLFilters/RAS_Sobel2DFilter.h
)
ADD_DEFINITIONS(-DGLEW_STATIC)

@ -44,6 +44,11 @@ SET(SRC
RAS_ListRasterizer.cpp
RAS_OpenGLRasterizer.cpp
RAS_VAOpenGLRasterizer.cpp
RAS_GLExtensionManager.h
RAS_ListRasterizer.h
RAS_OpenGLRasterizer.h
RAS_VAOpenGLRasterizer.h
)
ADD_DEFINITIONS(-DGLEW_STATIC)

@ -36,6 +36,16 @@ SET(SRC
SG_Node.cpp
SG_Spatial.cpp
SG_Tree.cpp
SG_BBox.h
SG_Controller.h
SG_DList.h
SG_IObject.h
SG_Node.h
SG_ParentRelation.h
SG_QList.h
SG_Spatial.h
SG_Tree.h
)
BLENDERLIB(ge_scenegraph "${SRC}" "${INC}")

@ -65,6 +65,24 @@ SET(SRC
VideoBase.cpp
VideoFFmpeg.cpp
blendVideoTex.cpp
BlendType.h
Common.h
Exception.h
FilterBase.h
FilterBlueScreen.h
FilterColor.h
FilterNormal.h
FilterSource.h
ImageBase.h
ImageBuff.h
ImageMix.h
ImageRender.h
ImageViewport.h
PyTypeList.h
Texture.h
VideoBase.h
VideoFFmpeg.h
)
IF(WITH_FFMPEG)

@ -37,6 +37,12 @@ SET(SRC
gen_system/GEN_HashedPtr.cpp
gen_system/SYS_SingletonSystem.cpp
gen_system/SYS_System.cpp
gen_messaging/GEN_messaging.h
gen_system/GEN_HashedPtr.h
gen_system/GEN_Map.h
gen_system/SYS_SingletonSystem.h
gen_system/SYS_System.h
)
BLENDERLIB(bf_gen_system "${SRC}" "${INC}")