use explicit file paths for CMake rather then globing, This is recommended by cmake...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 23 Oct 2010 04:05:55 +0000 (04:05 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 23 Oct 2010 04:05:55 +0000 (04:05 +0000)
globbing vs explicit is discussed here.
http://www.cmake.org/pipermail/cmake/2008-December/025694.html

Practical implications are:
- developers need to keep CMakeLists.txt files up to date.
- Users wont get strange linking errors if they build after a file is added, since CMake detects CMakeLists.txt is modified and automatically reconfigure.

92 files changed:
extern/bullet2/CMakeLists.txt
extern/libopenjpeg/CMakeLists.txt
extern/lzma/CMakeLists.txt
extern/lzo/CMakeLists.txt
intern/audaspace/CMakeLists.txt
intern/boolop/CMakeLists.txt
intern/bsp/CMakeLists.txt
intern/container/CMakeLists.txt
intern/decimation/CMakeLists.txt
intern/elbeem/CMakeLists.txt
intern/iksolver/CMakeLists.txt
intern/itasc/CMakeLists.txt
intern/memutil/CMakeLists.txt
intern/moto/CMakeLists.txt
intern/opennl/CMakeLists.txt
intern/smoke/CMakeLists.txt
intern/string/CMakeLists.txt
source/blender/avi/CMakeLists.txt
source/blender/blenfont/CMakeLists.txt
source/blender/blenkernel/CMakeLists.txt
source/blender/blenlib/CMakeLists.txt
source/blender/blenloader/CMakeLists.txt
source/blender/blenpluginapi/CMakeLists.txt
source/blender/collada/CMakeLists.txt
source/blender/editors/animation/CMakeLists.txt
source/blender/editors/armature/CMakeLists.txt
source/blender/editors/curve/CMakeLists.txt
source/blender/editors/datafiles/CMakeLists.txt
source/blender/editors/gpencil/CMakeLists.txt
source/blender/editors/interface/CMakeLists.txt
source/blender/editors/mesh/CMakeLists.txt
source/blender/editors/metaball/CMakeLists.txt
source/blender/editors/object/CMakeLists.txt
source/blender/editors/physics/CMakeLists.txt
source/blender/editors/render/CMakeLists.txt
source/blender/editors/screen/CMakeLists.txt
source/blender/editors/sculpt_paint/CMakeLists.txt
source/blender/editors/sound/CMakeLists.txt
source/blender/editors/space_action/CMakeLists.txt
source/blender/editors/space_api/CMakeLists.txt
source/blender/editors/space_buttons/CMakeLists.txt
source/blender/editors/space_console/CMakeLists.txt
source/blender/editors/space_file/CMakeLists.txt
source/blender/editors/space_graph/CMakeLists.txt
source/blender/editors/space_image/CMakeLists.txt
source/blender/editors/space_info/CMakeLists.txt
source/blender/editors/space_logic/CMakeLists.txt
source/blender/editors/space_nla/CMakeLists.txt
source/blender/editors/space_node/CMakeLists.txt
source/blender/editors/space_outliner/CMakeLists.txt
source/blender/editors/space_script/CMakeLists.txt
source/blender/editors/space_sequencer/CMakeLists.txt
source/blender/editors/space_sound/CMakeLists.txt
source/blender/editors/space_text/CMakeLists.txt
source/blender/editors/space_time/CMakeLists.txt
source/blender/editors/space_userpref/CMakeLists.txt
source/blender/editors/space_view3d/CMakeLists.txt
source/blender/editors/transform/CMakeLists.txt
source/blender/editors/util/CMakeLists.txt
source/blender/editors/uvedit/CMakeLists.txt
source/blender/gpu/CMakeLists.txt
source/blender/ikplugin/CMakeLists.txt
source/blender/imbuf/CMakeLists.txt
source/blender/imbuf/intern/cineon/CMakeLists.txt
source/blender/imbuf/intern/dds/CMakeLists.txt
source/blender/imbuf/intern/openexr/CMakeLists.txt
source/blender/modifiers/CMakeLists.txt
source/blender/nodes/CMakeLists.txt
source/blender/python/CMakeLists.txt
source/blender/python/generic/CMakeLists.txt
source/blender/readblenfile/CMakeLists.txt
source/blender/render/CMakeLists.txt
source/blender/windowmanager/CMakeLists.txt
source/blenderplayer/bad_level_call_stubs/CMakeLists.txt
source/gameengine/BlenderRoutines/CMakeLists.txt
source/gameengine/Converter/CMakeLists.txt
source/gameengine/Expressions/CMakeLists.txt
source/gameengine/GameLogic/CMakeLists.txt
source/gameengine/GamePlayer/common/CMakeLists.txt
source/gameengine/GamePlayer/ghost/CMakeLists.txt
source/gameengine/Ketsji/CMakeLists.txt
source/gameengine/Ketsji/KXNetwork/CMakeLists.txt
source/gameengine/Network/CMakeLists.txt
source/gameengine/Network/LoopBackNetwork/CMakeLists.txt
source/gameengine/Physics/Bullet/CMakeLists.txt
source/gameengine/Physics/Dummy/CMakeLists.txt
source/gameengine/Physics/common/CMakeLists.txt
source/gameengine/Rasterizer/CMakeLists.txt
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/CMakeLists.txt
source/gameengine/SceneGraph/CMakeLists.txt
source/gameengine/VideoTexture/CMakeLists.txt
source/kernel/CMakeLists.txt

index 3054ed9..91d1cba 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC . src)
+SET(INC
+       .
+       src
+)
 
-FILE(GLOB SRC   
-       src/LinearMath/*.cpp
-       src/BulletCollision/BroadphaseCollision/*.cpp
-       src/BulletCollision/CollisionShapes/*.cpp
-       src/BulletCollision/NarrowPhaseCollision/*.cpp
-       src/BulletCollision/Gimpact/*.cpp
-       src/BulletCollision/CollisionDispatch/*.cpp
-       src/BulletDynamics/ConstraintSolver/*.cpp
-       src/BulletDynamics/Vehicle/*.cpp
-       src/BulletDynamics/Dynamics/*.cpp
-       src/BulletSoftBody/*.cpp
+SET(SRC
+       src/BulletCollision/BroadphaseCollision/btAxisSweep3.cpp
+       src/BulletCollision/BroadphaseCollision/btBroadphaseProxy.cpp
+       src/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.cpp
+       src/BulletCollision/BroadphaseCollision/btDbvt.cpp
+       src/BulletCollision/BroadphaseCollision/btDbvtBroadphase.cpp
+       src/BulletCollision/BroadphaseCollision/btDispatcher.cpp
+       src/BulletCollision/BroadphaseCollision/btMultiSapBroadphase.cpp
+       src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp
+       src/BulletCollision/BroadphaseCollision/btQuantizedBvh.cpp
+       src/BulletCollision/BroadphaseCollision/btSimpleBroadphase.cpp
+       src/BulletCollision/CollisionDispatch/SphereTriangleDetector.cpp
+       src/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.cpp
+       src/BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.cpp
+       src/BulletCollision/CollisionDispatch/btBoxBoxDetector.cpp
+       src/BulletCollision/CollisionDispatch/btCollisionDispatcher.cpp
+       src/BulletCollision/CollisionDispatch/btCollisionObject.cpp
+       src/BulletCollision/CollisionDispatch/btCollisionWorld.cpp
+       src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp
+       src/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.cpp
+       src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp
+       src/BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.cpp
+       src/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.cpp
+       src/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.cpp
+       src/BulletCollision/CollisionDispatch/btGhostObject.cpp
+       src/BulletCollision/CollisionDispatch/btManifoldResult.cpp
+       src/BulletCollision/CollisionDispatch/btSimulationIslandManager.cpp
+       src/BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.cpp
+       src/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.cpp
+       src/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.cpp
+       src/BulletCollision/CollisionDispatch/btUnionFind.cpp
+       src/BulletCollision/CollisionShapes/btBoxShape.cpp
+       src/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.cpp
+       src/BulletCollision/CollisionShapes/btCapsuleShape.cpp
+       src/BulletCollision/CollisionShapes/btCollisionShape.cpp
+       src/BulletCollision/CollisionShapes/btCompoundShape.cpp
+       src/BulletCollision/CollisionShapes/btConcaveShape.cpp
+       src/BulletCollision/CollisionShapes/btConeShape.cpp
+       src/BulletCollision/CollisionShapes/btConvexHullShape.cpp
+       src/BulletCollision/CollisionShapes/btConvexInternalShape.cpp
+       src/BulletCollision/CollisionShapes/btConvexPointCloudShape.cpp
+       src/BulletCollision/CollisionShapes/btConvexShape.cpp
+       src/BulletCollision/CollisionShapes/btConvexTriangleMeshShape.cpp
+       src/BulletCollision/CollisionShapes/btCylinderShape.cpp
+       src/BulletCollision/CollisionShapes/btEmptyShape.cpp
+       src/BulletCollision/CollisionShapes/btHeightfieldTerrainShape.cpp
+       src/BulletCollision/CollisionShapes/btMinkowskiSumShape.cpp
+       src/BulletCollision/CollisionShapes/btMultiSphereShape.cpp
+       src/BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.cpp
+       src/BulletCollision/CollisionShapes/btOptimizedBvh.cpp
+       src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp
+       src/BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.cpp
+       src/BulletCollision/CollisionShapes/btShapeHull.cpp
+       src/BulletCollision/CollisionShapes/btSphereShape.cpp
+       src/BulletCollision/CollisionShapes/btStaticPlaneShape.cpp
+       src/BulletCollision/CollisionShapes/btStridingMeshInterface.cpp
+       src/BulletCollision/CollisionShapes/btTetrahedronShape.cpp
+       src/BulletCollision/CollisionShapes/btTriangleBuffer.cpp
+       src/BulletCollision/CollisionShapes/btTriangleCallback.cpp
+       src/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.cpp
+       src/BulletCollision/CollisionShapes/btTriangleIndexVertexMaterialArray.cpp
+       src/BulletCollision/CollisionShapes/btTriangleMesh.cpp
+       src/BulletCollision/CollisionShapes/btTriangleMeshShape.cpp
+       src/BulletCollision/CollisionShapes/btUniformScalingShape.cpp
+       src/BulletCollision/Gimpact/btContactProcessing.cpp
+       src/BulletCollision/Gimpact/btGImpactBvh.cpp
+       src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp
+       src/BulletCollision/Gimpact/btGImpactQuantizedBvh.cpp
+       src/BulletCollision/Gimpact/btGImpactShape.cpp
+       src/BulletCollision/Gimpact/btGenericPoolAllocator.cpp
+       src/BulletCollision/Gimpact/btTriangleShapeEx.cpp
+       src/BulletCollision/Gimpact/gim_box_set.cpp
+       src/BulletCollision/Gimpact/gim_contact.cpp
+       src/BulletCollision/Gimpact/gim_memory.cpp
+       src/BulletCollision/Gimpact/gim_tri_collision.cpp
+       src/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.cpp
+       src/BulletCollision/NarrowPhaseCollision/btConvexCast.cpp
+       src/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.cpp
+       src/BulletCollision/NarrowPhaseCollision/btGjkEpa.cpp
+       src/BulletCollision/NarrowPhaseCollision/btGjkEpa2.cpp
+       src/BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.cpp
+       src/BulletCollision/NarrowPhaseCollision/btGjkPairDetector.cpp
+       src/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.cpp
+       src/BulletCollision/NarrowPhaseCollision/btPersistentManifold.cpp
+       src/BulletCollision/NarrowPhaseCollision/btRaycastCallback.cpp
+       src/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.cpp
+       src/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.cpp
+       src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.cpp
+       src/BulletDynamics/ConstraintSolver/btContactConstraint.cpp
+       src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.cpp
+       src/BulletDynamics/ConstraintSolver/btHingeConstraint.cpp
+       src/BulletDynamics/ConstraintSolver/btPoint2PointConstraint.cpp
+       src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.cpp
+       src/BulletDynamics/ConstraintSolver/btSliderConstraint.cpp
+       src/BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.cpp
+       src/BulletDynamics/ConstraintSolver/btTypedConstraint.cpp
+       src/BulletDynamics/Dynamics/Bullet-C-API.cpp
+       src/BulletDynamics/Dynamics/btContinuousDynamicsWorld.cpp
+       src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp
+       src/BulletDynamics/Dynamics/btRigidBody.cpp
+       src/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp
+       src/BulletDynamics/Vehicle/btRaycastVehicle.cpp
+       src/BulletDynamics/Vehicle/btWheelInfo.cpp
+       src/BulletSoftBody/btSoftBody.cpp
+       src/BulletSoftBody/btSoftBodyConcaveCollisionAlgorithm.cpp
+       src/BulletSoftBody/btSoftBodyHelpers.cpp
+       src/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.cpp
+       src/BulletSoftBody/btSoftRigidCollisionAlgorithm.cpp
+       src/BulletSoftBody/btSoftRigidDynamicsWorld.cpp
+       src/BulletSoftBody/btSoftSoftCollisionAlgorithm.cpp
+       src/LinearMath/btAlignedAllocator.cpp
+       src/LinearMath/btConvexHull.cpp
+       src/LinearMath/btGeometryUtil.cpp
+       src/LinearMath/btQuickprof.cpp
 )
 
 BLENDERLIB(extern_bullet "${SRC}" "${INC}")
-
index 8cdd804..ff55c59 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC .)
+SET(INC
+       .
+)
+
+SET(SRC
+       bio.c
+       cio.c
+       dwt.c
+       event.c
+       image.c
+       j2k.c
+       j2k_lib.c
+       jp2.c
+       jpt.c
+       mct.c
+       mqc.c
+       openjpeg.c
+       pi.c
+       raw.c
+       t1.c
+       t2.c
+       tcd.c
+       tgt.c
+)
 
-FILE(GLOB SRC *.c)
 BLENDERLIB(extern_openjpeg "${SRC}" "${INC}")
index 15aa526..773d388 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC . )
+SET(INC
+       .
+)
 
-FILE(GLOB SRC ./*.c)
+SET(SRC
+       Alloc.c
+       LzFind.c
+       LzmaDec.c
+       LzmaEnc.c
+       LzmaLib.c
+)
 
 BLENDERLIB(extern_lzma "${SRC}" "${INC}")
index 1563300..6cfbd86 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC include)
-SET(SRC minilzo/minilzo.c)
+SET(INC
+       include
+)
+
+SET(SRC
+       minilzo/minilzo.c
+)
 
 BLENDERLIB(extern_minilzo "${SRC}" "${INC}")
index 6982bd8..2dd4694 100644 (file)
@@ -28,52 +28,156 @@ SET(INC
        ${LIBSAMPLERATE_INC}
 )
 
-FILE(GLOB SRC
-       intern/*.cpp
-       intern/*.h
-       FX/*.cpp
-       SRC/*.cpp
+SET(SRC
+       FX/AUD_AccumulatorFactory.cpp
+       FX/AUD_BaseIIRFilterReader.cpp
+       FX/AUD_ButterworthFactory.cpp
+       FX/AUD_CallbackIIRFilterReader.cpp
+       FX/AUD_DelayFactory.cpp
+       FX/AUD_DelayReader.cpp
+       FX/AUD_DoubleFactory.cpp
+       FX/AUD_DoubleReader.cpp
+       FX/AUD_EffectFactory.cpp
+       FX/AUD_EffectReader.cpp
+       FX/AUD_EnvelopeFactory.cpp
+       FX/AUD_FaderFactory.cpp
+       FX/AUD_FaderReader.cpp
+       FX/AUD_HighpassFactory.cpp
+       FX/AUD_IIRFilterFactory.cpp
+       FX/AUD_IIRFilterReader.cpp
+       FX/AUD_LimiterFactory.cpp
+       FX/AUD_LimiterReader.cpp
+       FX/AUD_LoopFactory.cpp
+       FX/AUD_LoopReader.cpp
+       FX/AUD_LowpassFactory.cpp
+       FX/AUD_PingPongFactory.cpp
+       FX/AUD_PitchFactory.cpp
+       FX/AUD_PitchReader.cpp
+       FX/AUD_RectifyFactory.cpp
+       FX/AUD_ReverseFactory.cpp
+       FX/AUD_ReverseReader.cpp
+       FX/AUD_SquareFactory.cpp
+       FX/AUD_SumFactory.cpp
+       FX/AUD_SuperposeFactory.cpp
+       FX/AUD_SuperposeReader.cpp
+       FX/AUD_VolumeFactory.cpp
+       SRC/AUD_SRCResampleFactory.cpp
+       SRC/AUD_SRCResampleReader.cpp
+       intern/AUD_3DMath.h
+       intern/AUD_Buffer.cpp
+       intern/AUD_Buffer.h
+       intern/AUD_BufferReader.cpp
+       intern/AUD_BufferReader.h
+       intern/AUD_C-API.cpp
+       intern/AUD_C-API.h
+       intern/AUD_ChannelMapperFactory.cpp
+       intern/AUD_ChannelMapperFactory.h
+       intern/AUD_ChannelMapperReader.cpp
+       intern/AUD_ChannelMapperReader.h
+       intern/AUD_ConverterFactory.cpp
+       intern/AUD_ConverterFactory.h
+       intern/AUD_ConverterFunctions.cpp
+       intern/AUD_ConverterFunctions.h
+       intern/AUD_ConverterReader.cpp
+       intern/AUD_ConverterReader.h
+       intern/AUD_DefaultMixer.cpp
+       intern/AUD_DefaultMixer.h
+       intern/AUD_FileFactory.cpp
+       intern/AUD_FileFactory.h
+       intern/AUD_I3DDevice.h
+       intern/AUD_IDevice.h
+       intern/AUD_IFactory.h
+       intern/AUD_IReader.h
+       intern/AUD_LinearResampleFactory.cpp
+       intern/AUD_LinearResampleFactory.h
+       intern/AUD_LinearResampleReader.cpp
+       intern/AUD_LinearResampleReader.h
+       intern/AUD_Mixer.cpp
+       intern/AUD_Mixer.h
+       intern/AUD_MixerFactory.cpp
+       intern/AUD_MixerFactory.h
+       intern/AUD_NULLDevice.cpp
+       intern/AUD_NULLDevice.h
+       intern/AUD_PyInit.h
+       intern/AUD_ReadDevice.cpp
+       intern/AUD_ReadDevice.h
+       intern/AUD_Reference.h
+       intern/AUD_ResampleFactory.h
+       intern/AUD_SequencerFactory.cpp
+       intern/AUD_SequencerFactory.h
+       intern/AUD_SequencerReader.cpp
+       intern/AUD_SequencerReader.h
+       intern/AUD_SilenceFactory.cpp
+       intern/AUD_SilenceFactory.h
+       intern/AUD_SilenceReader.cpp
+       intern/AUD_SilenceReader.h
+       intern/AUD_SinusFactory.cpp
+       intern/AUD_SinusFactory.h
+       intern/AUD_SinusReader.cpp
+       intern/AUD_SinusReader.h
+       intern/AUD_SoftwareDevice.cpp
+       intern/AUD_SoftwareDevice.h
+       intern/AUD_Space.h
+       intern/AUD_StreamBufferFactory.cpp
+       intern/AUD_StreamBufferFactory.h
 )
 
 IF(WITH_FFMPEG)
-       LIST(APPEND INC ffmpeg ${FFMPEG_INC})
-       FILE(GLOB FFMPEGSRC ffmpeg/*.cpp)
        ADD_DEFINITIONS(-DWITH_FFMPEG)
+       LIST(APPEND INC ffmpeg ${FFMPEG_INC})
+       SET(FFMPEGSRC
+               ffmpeg/AUD_FFMPEGFactory.cpp
+               ffmpeg/AUD_FFMPEGReader.cpp
+       )
 ENDIF(WITH_FFMPEG)
 
 IF(WITH_SDL)
-       LIST(APPEND INC SDL ${SDL_INCLUDE_DIR})
-       FILE(GLOB SDLSRC SDL/*.cpp)
        ADD_DEFINITIONS(-DWITH_SDL)
+       LIST(APPEND INC SDL ${SDL_INCLUDE_DIR})
+       SET(SDLSRC
+               SDL/AUD_SDLDevice.cpp
+       )
 ENDIF(WITH_SDL)
 
 IF(WITH_OPENAL)
-       LIST(APPEND INC OpenAL ${OPENAL_INCLUDE_DIR})
-       FILE(GLOB OPENALSRC OpenAL/*.cpp)
        ADD_DEFINITIONS(-DWITH_OPENAL)
+       LIST(APPEND INC OpenAL ${OPENAL_INCLUDE_DIR})
+       SET(OPENALSRC
+               OpenAL/AUD_OpenALDevice.cpp
+       )       
 ENDIF(WITH_OPENAL)
 
 IF(WITH_JACK)
-       LIST(APPEND INC jack ${JACK_INC})
-       FILE(GLOB JACKSRC jack/*.cpp)
        ADD_DEFINITIONS(-DWITH_JACK)
+       LIST(APPEND INC jack ${JACK_INC})
+       SET(JACKSRC
+               jack/AUD_JackDevice.cpp
+       )       
 ENDIF(WITH_JACK)
 
 IF(WITH_SNDFILE)
-       LIST(APPEND INC sndfile ${SNDFILE_INC})
-       FILE(GLOB SNDFILESRC sndfile/*.cpp)
        ADD_DEFINITIONS(-DWITH_SNDFILE)
+       LIST(APPEND INC sndfile ${SNDFILE_INC})
+       SET(SNDFILESRC
+               sndfile/AUD_SndFileFactory.cpp
+               sndfile/AUD_SndFileReader.cpp
+       )
 ENDIF(WITH_SNDFILE)
 
 #IF(WITH_FFTW3)
-#      LIST(APPEND INC fftw ${FFTW3_INC})
-#      FILE(GLOB FFTW3SRC fftw/*.cpp)
 #      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_PYTHON)
        LIST(APPEND INC Python ${PYTHON_INC})
-       FILE(GLOB PYTHONSRC Python/*.cpp)
+       SET(PYTHONSRC
+               Python/AUD_PyAPI.cpp
+       )
 ELSE(WITH_PYTHON)
        ADD_DEFINITIONS(-DDISABLE_PYTHON)
 ENDIF(WITH_PYTHON)
index 9150071..4b26190 100644 (file)
@@ -36,6 +36,23 @@ SET(INC
        ../../source/blender/makesdna
 )
 
-FILE(GLOB SRC intern/*.cpp)
+SET(SRC
+       intern/BOP_BBox.cpp
+       intern/BOP_BSPNode.cpp
+       intern/BOP_BSPTree.cpp
+       intern/BOP_Edge.cpp
+       intern/BOP_Face.cpp
+       intern/BOP_Face2Face.cpp
+       intern/BOP_Interface.cpp
+       intern/BOP_MathUtils.cpp
+       intern/BOP_Merge.cpp
+       intern/BOP_Merge2.cpp
+       intern/BOP_Mesh.cpp
+       intern/BOP_Segment.cpp
+       intern/BOP_Splitter.cpp
+       intern/BOP_Tag.cpp
+       intern/BOP_Triangulator.cpp
+       intern/BOP_Vertex.cpp
+)
 
 BLENDERLIB(bf_intern_bop "${SRC}" "${INC}")
index debbc86..358c02f 100644 (file)
@@ -31,6 +31,10 @@ SET(INC
        ../memutil
 )
 
-FILE(GLOB SRC intern/*.cpp)
+SET(SRC
+       intern/BSP_CSGMesh.cpp
+       intern/BSP_MeshPrimitives.cpp
+       intern/CSG_BooleanOps.cpp
+)
 
 BLENDERLIB(bf_intern_bsp "${SRC}" "${INC}")
index 9ae684e..393883c 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC .)
+SET(INC
+       .
+)
 
-FILE(GLOB SRC intern/*.cpp)
+SET(SRC
+       intern/CTR_List.cpp
+)
 
 BLENDERLIB(bf_intern_ctr "${SRC}" "${INC}")
index 77ab624..c284ed0 100644 (file)
@@ -31,6 +31,15 @@ SET(INC
        ../moto/include
 )
 
-FILE(GLOB SRC intern/*.cpp)
+SET(SRC
+       intern/LOD_EdgeCollapser.cpp
+       intern/LOD_ExternNormalEditor.cpp
+       intern/LOD_FaceNormalEditor.cpp
+       intern/LOD_ManMesh2.cpp
+       intern/LOD_MeshPrimitives.cpp
+       intern/LOD_QSDecimator.cpp
+       intern/LOD_QuadricEditor.cpp
+       intern/LOD_decimation.cpp
+)
 
 BLENDERLIB(bf_intern_decimate "${SRC}" "${INC}")
index 57fb618..a4ee592 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC ${PNG_INC} ${ZLIB_INC} extern)
+SET(INC
+       extern
+       ${PNG_INC}
+       ${ZLIB_INC}
+)
 
-FILE(GLOB SRC intern/*.cpp)
+SET(SRC
+       intern/attributes.cpp
+       intern/controlparticles.cpp
+       intern/elbeem.cpp
+       intern/elbeem_control.cpp
+       intern/isosurface.cpp
+       intern/mvmcoords.cpp
+       intern/ntl_blenderdumper.cpp
+       intern/ntl_bsptree.cpp
+       intern/ntl_geometrymodel.cpp
+       intern/ntl_geometryobject.cpp
+       intern/ntl_lighting.cpp
+       intern/ntl_ray.cpp
+       intern/ntl_world.cpp
+       intern/parametrizer.cpp
+       intern/particletracer.cpp
+       intern/simulation_object.cpp
+       intern/solver_adap.cpp
+       intern/solver_control.cpp
+       intern/solver_init.cpp
+       intern/solver_interface.cpp
+       intern/solver_main.cpp
+       intern/solver_util.cpp
+       intern/utilities.cpp
+)
 
 ADD_DEFINITIONS(-DNOGUI -DELBEEM_BLENDER=1)
 IF(WINDOWS)
index 50ae78d..11bad7e 100644 (file)
@@ -30,6 +30,13 @@ SET(INC
        ../moto/include
 )
 
-FILE(GLOB SRC intern/*.cpp)
+SET(SRC
+       intern/IK_QJacobian.cpp
+       intern/IK_QJacobianSolver.cpp
+       intern/IK_QSegment.cpp
+       intern/IK_QTask.cpp
+       intern/IK_Solver.cpp
+       intern/MT_ExpMap.cpp
+)
 
 BLENDERLIB(bf_intern_ik "${SRC}" "${INC}")
index 88f902b..c8d2bbb 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC ../../extern/Eigen2)
+SET(INC
+       ../../extern/Eigen2
+)
 
-FILE(GLOB SRC *.cpp kdl/*.cpp kdl/utilities/*.cpp)
+SET(SRC
+       Armature.cpp
+       Cache.cpp
+       ConstraintSet.cpp
+       ControlledObject.cpp
+       CopyPose.cpp
+       Distance.cpp
+       FixedObject.cpp
+       MovingFrame.cpp
+       Scene.cpp
+       UncontrolledObject.cpp
+       WDLSSolver.cpp
+       WSDLSSolver.cpp
+       WorldObject.cpp
+       eigen_types.cpp
+       kdl/chain.cpp
+       kdl/chainfksolverpos_recursive.cpp
+       kdl/chainjnttojacsolver.cpp
+       kdl/frameacc.cpp
+       kdl/frames.cpp
+       kdl/frames_io.cpp
+       kdl/framevel.cpp
+       kdl/inertia.cpp
+       kdl/jacobian.cpp
+       kdl/jntarray.cpp
+       kdl/jntarrayacc.cpp
+       kdl/jntarrayvel.cpp
+       kdl/joint.cpp
+       kdl/kinfam_io.cpp
+       kdl/segment.cpp
+       kdl/tree.cpp
+       kdl/treefksolverpos_recursive.cpp
+       kdl/treejnttojacsolver.cpp
+       kdl/utilities/error_stack.cpp
+       kdl/utilities/utility.cpp
+       kdl/utilities/utility_io.cpp
+)
 
 BLENDERLIB(bf_intern_itasc "${SRC}" "${INC}")
index ebbc534..10bb673 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC . ..)
+SET(INC
+       .
+       ..
+)
 
 SET(SRC
        ./intern/MEM_CacheLimiterC-Api.cpp
index 91c523e..f3300ec 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC include)
+SET(INC
+       include
+)
 
-FILE(GLOB SRC intern/*.cpp)
+SET(SRC
+       intern/MT_Assert.cpp
+       intern/MT_CmMatrix4x4.cpp
+       intern/MT_Matrix3x3.cpp
+       intern/MT_Matrix4x4.cpp
+       intern/MT_Plane3.cpp
+       intern/MT_Point3.cpp
+       intern/MT_Quaternion.cpp
+       intern/MT_Transform.cpp
+       intern/MT_Vector2.cpp
+       intern/MT_Vector3.cpp
+       intern/MT_Vector4.cpp
+       intern/MT_random.cpp
+)
 
 BLENDERLIB(bf_intern_moto "${SRC}" "${INC}")
index b29eaa6..900bad5 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC extern superlu)
+SET(INC
+       extern
+       superlu
+)
 
-FILE(GLOB SRC intern/*.c superlu/*.c)
+SET(SRC
+       intern/opennl.c
+       superlu/colamd.c
+       superlu/get_perm_c.c
+       superlu/heap_relax_snode.c
+       superlu/lsame.c
+       superlu/memory.c
+       superlu/mmd.c
+       superlu/relax_snode.c
+       superlu/scolumn_bmod.c
+       superlu/scolumn_dfs.c
+       superlu/scopy_to_ucol.c
+       superlu/sgssv.c
+       superlu/sgstrf.c
+       superlu/sgstrs.c
+       superlu/smemory.c
+       superlu/smyblas2.c
+       superlu/sp_coletree.c
+       superlu/sp_ienv.c
+       superlu/sp_preorder.c
+       superlu/spanel_bmod.c
+       superlu/spanel_dfs.c
+       superlu/spivotL.c
+       superlu/spruneL.c
+       superlu/ssnode_bmod.c
+       superlu/ssnode_dfs.c
+       superlu/ssp_blas2.c
+       superlu/ssp_blas3.c
+       superlu/strsv.c
+       superlu/superlu_timer.c
+       superlu/sutil.c
+       superlu/util.c
+       superlu/xerbla.c
+)
 
 BLENDERLIB(bf_intern_opennl "${SRC}" "${INC}")
index 6c844cb..741301f 100644 (file)
@@ -33,7 +33,16 @@ SET(INC
        ${ZLIB_INC}
 )
 
-FILE(GLOB SRC intern/*.cpp)
+SET(SRC
+       intern/EIGENVALUE_HELPER.cpp
+       intern/FLUID_3D.cpp
+       intern/FLUID_3D_SOLVERS.cpp
+       intern/FLUID_3D_STATIC.cpp
+       intern/LU_HELPER.cpp
+       intern/SPHERE.cpp
+       intern/WTURBULENCE.cpp
+       intern/smoke_API.cpp
+)
 
 IF(WITH_OPENMP)
                ADD_DEFINITIONS(-DPARALLEL=1)
index a1b130d..399de33 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC .)
-SET(SRC ./intern/STR_String.cpp)
+SET(INC
+       .
+)
+
+SET(SRC
+       ./intern/STR_String.cpp
+)
 
 BLENDERLIB(bf_intern_string "${SRC}" "${INC}")
index b1ddb8c..62bf51d 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC intern/*.c)
-
 SET(INC 
        .
        ../../../intern/guardedalloc
        ${JPEG_INC}
 )
 
+SET(SRC
+       intern/avi.c
+       intern/avirgb.c
+       intern/codecs.c
+       intern/endian.c
+       intern/mjpeg.c
+       intern/options.c
+       intern/rgb32.c
+)
+
 BLENDERLIB(bf_avi "${SRC}" "${INC}")
index abaf769..f6afa31 100644 (file)
@@ -22,8 +22,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC intern/*.c)
-
 SET(INC
        .
        ../blenlib
@@ -35,6 +33,15 @@ SET(INC
        ${FREETYPE_INCLUDE_DIRS}
 )
 
+SET(SRC
+       intern/blf.c
+       intern/blf_dir.c
+       intern/blf_font.c
+       intern/blf_glyph.c
+       intern/blf_lang.c
+       intern/blf_util.c
+)
+
 IF(WITH_INTERNATIONAL)
        LIST(APPEND INC ${GETTEXT_INC})
        ADD_DEFINITIONS(-DINTERNATIONAL)
index f6c8feb..a63f003 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC intern/*.c)
-
 SET(INC 
        .
        ../avi
@@ -54,6 +52,93 @@ SET(INC
        ${ZLIB_INC}
 )
 
+SET(SRC
+       intern/BME_Customdata.c
+       intern/BME_conversions.c
+       intern/BME_eulers.c
+       intern/BME_mesh.c
+       intern/BME_structure.c
+       intern/BME_tools.c
+       intern/CCGSubSurf.c
+       intern/DerivedMesh.c
+       intern/action.c
+       intern/anim.c
+       intern/anim_sys.c
+       intern/armature.c
+       intern/blender.c
+       intern/bmfont.c
+       intern/boids.c
+       intern/booleanops_mesh.c
+       intern/brush.c
+       intern/bullet.c
+       intern/bvhutils.c
+       intern/cdderivedmesh.c
+       intern/cloth.c
+       intern/collision.c
+       intern/colortools.c
+       intern/constraint.c
+       intern/context.c
+       intern/curve.c
+       intern/customdata.c
+       intern/customdata_file.c
+       intern/deform.c
+       intern/depsgraph.c
+       intern/displist.c
+       intern/effect.c
+       intern/exotic.c
+       intern/fcurve.c
+       intern/fluidsim.c
+       intern/fmodifier.c
+       intern/font.c
+       intern/gpencil.c
+       intern/group.c
+       intern/icons.c
+       intern/idcode.c
+       intern/idprop.c
+       intern/image.c
+       intern/image_gen.c
+       intern/implicit.c
+       intern/ipo.c
+       intern/key.c
+       intern/lattice.c
+       intern/library.c
+       intern/material.c
+       intern/mball.c
+       intern/mesh.c
+       intern/modifier.c
+       intern/multires.c
+       intern/nla.c
+       intern/node.c
+       intern/object.c
+       intern/packedFile.c
+       intern/paint.c
+       intern/particle.c
+       intern/particle_system.c
+       intern/pointcache.c
+       intern/property.c
+       intern/report.c
+       intern/sca.c
+       intern/scene.c
+       intern/screen.c
+       intern/script.c
+       intern/seqcache.c
+       intern/seqeffects.c
+       intern/sequencer.c
+       intern/shrinkwrap.c
+       intern/sketch.c
+       intern/smoke.c
+       intern/softbody.c
+       intern/sound.c
+       intern/subsurf_ccg.c
+       intern/suggestions.c
+       intern/text.c
+       intern/texture.c
+       intern/unit.c
+       intern/world.c
+       intern/writeavi.c
+       intern/writeffmpeg.c
+       intern/writeframeserver.c
+)
 
 ADD_DEFINITIONS(-DGLEW_STATIC)
 
index 320d4ac..a37723a 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC intern/*.c)
-
 SET(INC 
        .
        ../makesdna
@@ -38,9 +36,52 @@ SET(INC
        ${FREETYPE_INCLUDE_DIRS}
 )
 
-# unused
-LIST(REMOVE_ITEM SRC "${CMAKE_CURRENT_SOURCE_DIR}/intern/BLI_bfile.c")
-
+SET(SRC
+       intern/BLI_args.c
+       intern/BLI_dynstr.c
+       intern/BLI_ghash.c
+       intern/BLI_heap.c
+       intern/BLI_kdopbvh.c
+       intern/BLI_kdtree.c
+       intern/BLI_linklist.c
+       intern/BLI_memarena.c
+       intern/BLI_mempool.c
+       intern/DLRB_tree.c
+       intern/boxpack2d.c
+       intern/bpath.c
+       intern/cpu.c
+       intern/dynlib.c
+       intern/edgehash.c
+       intern/fileops.c
+       intern/fnmatch.c
+       intern/freetypefont.c
+       intern/graph.c
+       intern/gsqueue.c
+       intern/jitter.c
+       intern/listbase.c
+       intern/math_base.c
+       intern/math_base_inline.c
+       intern/math_color.c
+       intern/math_geom.c
+       intern/math_geom_inline.c
+       intern/math_matrix.c
+       intern/math_rotation.c
+       intern/math_vector.c
+       intern/math_vector_inline.c
+       intern/noise.c
+       intern/path_util.c
+       intern/pbvh.c
+       intern/rand.c
+       intern/rct.c
+       intern/scanfill.c
+       intern/storage.c
+       intern/string.c
+       intern/threads.c
+       intern/time.c
+       intern/uvproject.c
+       intern/voxel.c
+       intern/winstuff.c
+)
 
 IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
        LIST(APPEND INC "${BINRELOC_INC}")
index cc70d33..144b1d1 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC intern/*.c)
-
 SET(INC 
        .
        ../blenlib
@@ -39,4 +37,11 @@ SET(INC
        ${ZLIB_INC}
 )
 
+SET(SRC
+       intern/readblenentry.c
+       intern/readfile.c
+       intern/undofile.c
+       intern/writefile.c
+)
+
 BLENDERLIB(bf_blenloader "${SRC}" "${INC}")
index 3abf1e4..41ec586 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC intern/*.c)
-
 SET(INC 
        .
        ..
@@ -35,6 +33,10 @@ SET(INC
        ../../../intern/guardedalloc
 )
 
+SET(SRC
+       intern/pluginapi.c
+)
+
 IF(WIN32)
        LIST(APPEND INC ${PTHREADS_INC})
 ENDIF(WIN32)
index a72ecc4..bcc407b 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.cpp)
-
-IF(APPLE)
 SET(INC
-  .
-  ../blenlib
-  ../blenkernel
-  ../windowmanager
-  ../makesdna
-  ../makesrna
-  ../editors/include
-  ../../../intern/guardedalloc
-  ${OPENCOLLADA_INC}/COLLADAStreamWriter
-  ${OPENCOLLADA_INC}/COLLADABaseUtils
-  ${OPENCOLLADA_INC}/COLLADAFramework
-  ${OPENCOLLADA_INC}/COLLADASaxFrameworkLoader 
+       .
+       ../blenlib
+       ../blenkernel
+       ../windowmanager
+       ../makesdna
+       ../makesrna
+       ../editors/include
+       ../../../intern/guardedalloc
 )
 
+IF(APPLE)
+       LIST(APPEND INC
+               ${OPENCOLLADA_INC}/COLLADAStreamWriter
+               ${OPENCOLLADA_INC}/COLLADABaseUtils
+               ${OPENCOLLADA_INC}/COLLADAFramework
+               ${OPENCOLLADA_INC}/COLLADASaxFrameworkLoader 
+       )
 ELSE(APPLE)
+       LIST(APPEND INC
+               ${OPENCOLLADA_INC}/COLLADAStreamWriter/include
+               ${OPENCOLLADA_INC}/COLLADABaseUtils/include
+               ${OPENCOLLADA_INC}/COLLADAFramework/include
+               ${OPENCOLLADA_INC}/COLLADASaxFrameworkLoader/include 
+       )
+ENDIF(APPLE)
 
-SET(INC
-  .
-  ../blenlib
-  ../blenkernel
-  ../windowmanager
-  ../makesdna
-  ../makesrna
-  ../editors/include
-  ../../../intern/guardedalloc
-  ${OPENCOLLADA_INC}/COLLADAStreamWriter/include
-  ${OPENCOLLADA_INC}/COLLADABaseUtils/include
-  ${OPENCOLLADA_INC}/COLLADAFramework/include
-  ${OPENCOLLADA_INC}/COLLADASaxFrameworkLoader/include 
+SET(SRC
+       AnimationImporter.cpp
+       ArmatureExporter.cpp
+       ArmatureImporter.cpp
+       CameraExporter.cpp
+       DocumentExporter.cpp
+       DocumentImporter.cpp
+       EffectExporter.cpp
+       GeometryExporter.cpp
+       ImageExporter.cpp
+       InstanceWriter.cpp
+       LightExporter.cpp
+       MaterialExporter.cpp
+       MeshImporter.cpp
+       SkinInfo.cpp
+       TransformReader.cpp
+       TransformWriter.cpp
+       collada.cpp
+       collada_internal.cpp
+       collada_utils.cpp
 )
 
-ENDIF(APPLE)
-
 IF(WITH_BUILDINFO)
        ADD_DEFINITIONS(-DNAN_BUILDINFO)
 ENDIF(WITH_BUILDINFO)
index d5eef6b..7954e2c 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -31,4 +29,22 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       anim_channels_defines.c
+       anim_channels_edit.c
+       anim_deps.c
+       anim_draw.c
+       anim_filter.c
+       anim_ipo_utils.c
+       anim_markers.c
+       anim_ops.c
+       drivers.c
+       fmodifier_ui.c
+       keyframes_draw.c
+       keyframes_edit.c
+       keyframes_general.c
+       keyframing.c
+       keyingsets.c
+)
+
 BLENDERLIB(bf_editor_animation "${SRC}" "${INC}")
index b563492..62b7665 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -32,6 +30,20 @@ SET(INC
        ../../../../intern/opennl/extern
 )
 
+SET(SRC
+       armature_ops.c
+       editarmature.c
+       editarmature_generate.c
+       editarmature_retarget.c
+       editarmature_sketch.c
+       meshlaplacian.c
+       poseSlide.c
+       poseUtils.c
+       poselib.c
+       poseobject.c
+       reeb.c
+)
+
 IF(WIN32)
        LIST(APPEND INC ${PTHREADS_INC})
 ENDIF(WIN32)
index ab45d73..8e47dc9 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -31,4 +29,11 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       curve_ops.c
+       editcurve.c
+       editfont.c
+       lorem.c
+)
+
 BLENDERLIB(bf_editor_curve "${SRC}" "${INC}")
index d37ee33..7683db8 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC "")
 
+SET(SRC
+       Bfont.c
+       add.png.c
+       bfont.ttf.c
+       blenderbuttons.c
+       blob.png.c
+       blur.png.c
+       bmonofont.ttf.c
+       clay.png.c
+       clone.png.c
+       crease.png.c
+       darken.png.c
+       draw.png.c
+       fill.png.c
+       flatten.png.c
+       grab.png.c
+       inflate.png.c
+       layer.png.c
+       lighten.png.c
+       mix.png.c
+       multiply.png.c
+       nudge.png.c
+       pinch.png.c
+       preview.blend.c
+       prvicons.c
+       scrape.png.c
+       smear.png.c
+       smooth.png.c
+       snake_hook.png.c
+       soften.png.c
+       splash.png.c
+       startup.blend.c
+       subtract.png.c
+       texdraw.png.c
+       thumb.png.c
+       twist.png.c
+       vertexdraw.png.c
+)
+
 BLENDERLIB(bf_editor_datafiles "${SRC}" "${INC}")
index 394418b..ab92f0a 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -32,4 +30,13 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       drawgpencil.c
+       editaction_gpencil.c
+       gpencil_buttons.c
+       gpencil_edit.c
+       gpencil_ops.c
+       gpencil_paint.c
+)
+
 BLENDERLIB(bf_editor_gpencil "${SRC}" "${INC}")
index 4b4590a..31de453 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenfont
@@ -35,6 +33,25 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       interface.c
+       interface_anim.c
+       interface_draw.c
+       interface_handlers.c
+       interface_icons.c
+       interface_layout.c
+       interface_ops.c
+       interface_panel.c
+       interface_regions.c
+       interface_style.c
+       interface_templates.c
+       interface_utils.c
+       interface_widgets.c
+       resources.c
+       view2d.c
+       view2d_ops.c
+)
+
 IF(WITH_INTERNATIONAL)
        ADD_DEFINITIONS(-DINTERNATIONAL)
 ENDIF(WITH_INTERNATIONAL)
index 4145f25..1e26f27 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -33,6 +31,20 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       editface.c
+       editmesh.c
+       editmesh_add.c
+       editmesh_lib.c
+       editmesh_loop.c
+       editmesh_mods.c
+       editmesh_tools.c
+       loopcut.c
+       mesh_data.c
+       mesh_ops.c
+       meshtools.c
+)
+
 IF(WIN32)
        LIST(APPEND INC ${PTHREADS_INC})
 ENDIF(WIN32)
index 5e821a5..9b9ca80 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -32,4 +30,9 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       mball_edit.c
+       mball_ops.c
+)
+
 BLENDERLIB(bf_editor_metaball "${SRC}" "${INC}")
index 10fbd62..bfcb233 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -36,12 +34,29 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
-IF(NOT WITH_PYTHON)
-       ADD_DEFINITIONS(-DDISABLE_PYTHON)
-ENDIF(NOT WITH_PYTHON)
+SET(SRC
+       object_add.c
+       object_bake.c
+       object_constraint.c
+       object_edit.c
+       object_group.c
+       object_hook.c
+       object_lattice.c
+       object_modifier.c
+       object_ops.c
+       object_relations.c
+       object_select.c
+       object_shapekey.c
+       object_transform.c
+       object_vgroup.c
+)
 
 IF(WIN32)
        LIST(APPEND INC ${PTHREADS_INC})
 ENDIF(WIN32)
 
+IF(NOT WITH_PYTHON)
+       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+ENDIF(NOT WITH_PYTHON)
+
 BLENDERLIB(bf_editor_object "${SRC}" "${INC}")
index 49f20bb..5d36038 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -32,6 +30,19 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       particle_boids.c
+       particle_edit.c
+       particle_object.c
+       physics_fluid.c
+       physics_ops.c
+       physics_pointcache.c
+)
+
+IF(WIN32)
+       LIST(APPEND INC ${PTHREADS_INC})
+ENDIF(WIN32)
+
 IF(NOT WITH_FLUID)
        ADD_DEFINITIONS(-DDISABLE_ELBEEM)
 ENDIF(NOT WITH_FLUID)
@@ -40,8 +51,4 @@ IF(WITH_OPENMP)
                ADD_DEFINITIONS(-DPARALLEL=1)
 ENDIF(WITH_OPENMP)
 
-IF(WIN32)
-       LIST(APPEND INC ${PTHREADS_INC})
-ENDIF(WIN32)
-
 BLENDERLIB(bf_editor_physics "${SRC}" "${INC}")
index d494355..57ee27c 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenfont
@@ -37,6 +35,14 @@ SET(INC
        ../../../../extern/glew/include
 )
 
+SET(SRC
+       render_internal.c
+       render_opengl.c
+       render_ops.c
+       render_preview.c
+       render_shading.c
+)
+
 IF(WITH_QUICKTIME)
        LIST(APPEND INC ../../quicktime ${QUICKTIME_INC})
        ADD_DEFINITIONS(-DWITH_QUICKTIME)
index f7dfd81..4ea056a 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenfont
@@ -33,6 +31,15 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       area.c
+       glutil.c
+       screen_context.c
+       screen_edit.c
+       screen_ops.c
+       screendump.c
+)
+
 IF(WIN32)
        LIST(APPEND INC ${PTHREADS_INC})
 ENDIF(WIN32)
index 3211763..364677f 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -34,6 +32,17 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       paint_image.c
+       paint_ops.c
+       paint_stroke.c
+       paint_undo.c
+       paint_utils.c
+       paint_vertex.c
+       sculpt.c
+       sculpt_undo.c
+)
+
 IF(WIN32)
        LIST(APPEND INC ${PTHREADS_INC})
 ENDIF(WIN32)
index 456c02d..377643a 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -32,4 +30,8 @@ SET(INC
        ../../../../intern/audaspace/intern
 )
 
+SET(SRC
+       sound_ops.c
+)
+
 BLENDERLIB(bf_editor_sound "${SRC}" "${INC}")
index 3c0585c..2ddc60a 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -31,4 +29,12 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       action_draw.c
+       action_edit.c
+       action_ops.c
+       action_select.c
+       space_action.c
+)
+
 BLENDERLIB(bf_editor_space_action "${SRC}" "${INC}")
index da140fe..5436d82 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -31,4 +29,9 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       space.c
+       spacetypes.c
+)
+
 BLENDERLIB(bf_editor_space_api "${SRC}" "${INC}")
index f8e9536..b92f205 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -31,4 +29,11 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       buttons_context.c
+       buttons_header.c
+       buttons_ops.c
+       space_buttons.c
+)
+
 BLENDERLIB(bf_editor_space_buttons "${SRC}" "${INC}")
index 59074bc..b1d9920 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenfont
@@ -33,6 +31,13 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       console_draw.c
+       console_ops.c
+       console_report.c
+       space_console.c
+)
+
 IF(NOT WITH_PYTHON)
        ADD_DEFINITIONS(-DDISABLE_PYTHON)
 ENDIF(NOT WITH_PYTHON)
index 2a204d6..3130e6d 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenfont
@@ -35,6 +33,17 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       file_draw.c
+       file_ops.c
+       file_panels.c
+       filelist.c
+       filesel.c
+       fsmenu.c
+       space_file.c
+       writeimage.c
+)
+
 IF(WITH_IMAGE_OPENEXR)
        ADD_DEFINITIONS(-DWITH_OPENEXR)
 ENDIF(WITH_IMAGE_OPENEXR)
index 33ddbce..d5c295c 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -32,4 +30,14 @@ SET(INC
        ../../../../intern/audaspace/intern
 )
 
+SET(SRC
+       graph_buttons.c
+       graph_draw.c
+       graph_edit.c
+       graph_ops.c
+       graph_select.c
+       graph_utils.c
+       space_graph.c
+)
+
 BLENDERLIB(bf_editor_space_graph "${SRC}" "${INC}")
index 750c4b3..c216616 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -33,6 +31,15 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       image_buttons.c
+       image_draw.c
+       image_header.c
+       image_ops.c
+       image_render.c
+       space_image.c
+)
+
 IF(WITH_IMAGE_OPENEXR)
        ADD_DEFINITIONS(-DWITH_OPENEXR)
 ENDIF(WITH_IMAGE_OPENEXR)
index 9d439c4..4187afd 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -32,4 +30,10 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       info_ops.c
+       info_stats.c
+       space_info.c
+)
+
 BLENDERLIB(bf_editor_space_info "${SRC}" "${INC}")
index 6f0a260..64519d6 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -32,6 +30,13 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       logic_buttons.c
+       logic_ops.c
+       logic_window.c
+       space_logic.c
+)
+
 IF(WITH_GAMEENGINE)
        ADD_DEFINITIONS(-DGAMEBLENDER)
 ENDIF(WITH_GAMEENGINE)
index 6bb656c..0a5f484 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -31,4 +29,14 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       nla_buttons.c
+       nla_channels.c
+       nla_draw.c
+       nla_edit.c
+       nla_ops.c
+       nla_select.c
+       space_nla.c
+)
+
 BLENDERLIB(bf_editor_space_nla "${SRC}" "${INC}")
index ae298a6..887d79f 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -35,6 +33,18 @@ SET(INC
        ../../../../intern/opennl/extern
 )
 
+SET(SRC
+       drawnode.c
+       node_buttons.c
+       node_draw.c
+       node_edit.c
+       node_header.c
+       node_ops.c
+       node_select.c
+       node_state.c
+       space_node.c
+)
+
 IF(WIN32)
        LIST(APPEND INC ${PTHREADS_INC})
 ENDIF(WIN32)
index 5ebe47f..33128bd 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -33,4 +31,10 @@ SET(INC
        ../../../../intern/opennl/extern
 )
 
+SET(SRC
+       outliner.c
+       outliner_ops.c
+       space_outliner.c
+)
+
 BLENDERLIB(bf_editor_space_outliner "${SRC}" "${INC}")
index 7abaa4d..88c0ea5 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -31,6 +29,13 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       script_edit.c
+       script_header.c
+       script_ops.c
+       space_script.c
+)
+
 IF(WITH_PYTHON)
        LIST(APPEND INC ${PYTHON_INC} ../../python)
 ELSE(WITH_PYTHON)
index fa99d35..673c6af 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -33,4 +31,15 @@ SET(INC
        ../../../../intern/audaspace/intern
 )
 
+SET(SRC
+       sequencer_add.c
+       sequencer_buttons.c
+       sequencer_draw.c
+       sequencer_edit.c
+       sequencer_ops.c
+       sequencer_scopes.c
+       sequencer_select.c
+       space_sequencer.c
+)
+
 BLENDERLIB(bf_editor_space_sequencer "${SRC}" "${INC}")
index c78fc11..0f94e8a 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -31,4 +29,9 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       sound_header.c
+       space_sound.c
+)
+
 BLENDERLIB(bf_editor_space_sound "${SRC}" "${INC}")
index eabf508..b53a86f 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenfont
@@ -32,6 +30,14 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       space_text.c
+       text_draw.c
+       text_header.c
+       text_ops.c
+       text_python.c
+)
+
 IF(WITH_PYTHON)
        LIST(APPEND INC ${PYTHON_INC} ../../python)
 ELSE(WITH_PYTHON)
index 4da42ec..65f71e0 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -31,4 +29,9 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       space_time.c
+       time_ops.c
+)
+
 BLENDERLIB(bf_editor_space_time "${SRC}" "${INC}")
index d57661b..b8a04a1 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -31,4 +29,9 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       space_userpref.c
+       userpref_ops.c
+)
+
 BLENDERLIB(bf_editor_space_userpref "${SRC}" "${INC}")
index 4874789..855d770 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenfont
@@ -36,6 +34,24 @@ SET(INC
        ../../../../intern/smoke/extern
 )
 
+SET(SRC
+       drawanimviz.c
+       drawarmature.c
+       drawmesh.c
+       drawobject.c
+       drawvolume.c
+       space_view3d.c
+       view3d_buttons.c
+       view3d_draw.c
+       view3d_edit.c
+       view3d_header.c
+       view3d_ops.c
+       view3d_select.c
+       view3d_snap.c
+       view3d_toolbar.c
+       view3d_view.c
+)
+
 IF(WITH_GAMEENGINE)
        LIST(APPEND INC ../../../kernel/gen_system)
        ADD_DEFINITIONS(-DGAMEBLENDER)
index e28ed89..61508a4 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -31,4 +29,17 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       transform.c
+       transform_constraints.c
+       transform_conversions.c
+       transform_generics.c
+       transform_input.c
+       transform_manipulator.c
+       transform_ndofinput.c
+       transform_ops.c
+       transform_orientations.c
+       transform_snap.c
+)
+
 BLENDERLIB(bf_editor_transform "${SRC}" "${INC}")
index be700b1..99f0d4b 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -31,4 +29,11 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
+SET(SRC
+       ed_util.c
+       editmode_undo.c
+       numinput.c
+       undo.c
+)
+
 BLENDERLIB(bf_editor_util "${SRC}" "${INC}")
index 36cd127..33251cc 100644 (file)
@@ -19,8 +19,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC
        ../include
        ../../blenkernel
@@ -32,4 +30,11 @@ SET(INC
        ../../../../intern/opennl/extern
 )
 
+SET(SRC
+       uvedit_draw.c
+       uvedit_ops.c
+       uvedit_parametrizer.c
+       uvedit_unwrap_ops.c
+)
+
 BLENDERLIB(bf_editor_uvedit "${SRC}" "${INC}")
index 5de7b0c..02a43ab 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC intern/*.c)
-
 SET(INC
        .
        ../blenlib
@@ -39,6 +37,16 @@ SET(INC
        ../../../intern/smoke/extern
 )
 
+SET(SRC
+       intern/gpu_buffers.c
+       intern/gpu_codegen.c
+       intern/gpu_draw.c
+       intern/gpu_extensions.c
+       intern/gpu_material.c
+       intern/gpu_shader_material.glsl.c
+       intern/gpu_shader_vertex.glsl.c
+)
+
 IF(WIN32)
        INCLUDE_DIRECTORIES(${PTHREADS_INC})
 ENDIF(WIN32)
index 79f33ef..61d5ff4 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-
-SET(SRC
-       ./intern/ikplugin_api.c
-       ./intern/iksolver_plugin.c
-)
-
 SET(INC 
        ../blenlib
        ../makesdna
@@ -40,6 +34,11 @@ SET(INC
        ../../../intern/iksolver/extern
 )
 
+SET(SRC
+       ./intern/ikplugin_api.c
+       ./intern/iksolver_plugin.c
+)
+
 IF(WITH_IK_ITASC)
        ADD_DEFINITIONS(-DWITH_IK_ITASC)
        LIST(APPEND INC ../../../extern/Eigen2)
index 699ed6e..f89ef03 100644 (file)
@@ -24,9 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC intern/*.c)
-
-
 SET(INC 
        .
        ../avi
@@ -40,6 +37,35 @@ SET(INC
        ${ZLIB_INC}
 )
 
+SET(SRC
+       intern/allocimbuf.c
+       intern/anim_movie.c
+       intern/bmp.c
+       intern/cache.c
+       intern/divers.c
+       intern/filetype.c
+       intern/filter.c
+       intern/imageprocess.c
+       intern/iris.c
+       intern/jp2.c
+       intern/jpeg.c
+       intern/md5.c
+       intern/metadata.c
+       intern/module.c
+       intern/png.c
+       intern/radiance_hdr.c
+       intern/readimage.c
+       intern/rectop.c
+       intern/rotate.c
+       intern/scaling.c
+       intern/targa.c
+       intern/thumbs.c
+       intern/thumbs_blend.c
+       intern/tiff.c
+       intern/util.c
+       intern/writeimage.c
+)
+
 IF(WIN32)
        LIST(APPEND INC ${PTHREADS_INC})
 ENDIF(WIN32)
index 5633d2a..a39235b 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC 
                .
+               intern/include
                ..
                ../../
-               intern/include
                ../../../blenkernel
                ../../../blenlib
                ../../../makesdna
                ../../../../../intern/guardedalloc
 )
 
+SET(SRC
+       cineon_dpx.c
+       cineonlib.c
+       dpxlib.c
+       logImageCore.c
+       logImageLib.c
+       logmemfile.c
+)
+
 BLENDERLIB(bf_cineon "${SRC}" "${INC}")
index 620d404..78513b3 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE (GLOB SRC *.cpp)
-
 SET(INC 
        .
        ..
@@ -37,6 +35,15 @@ SET(INC
        ../../../../../intern/guardedalloc
 )
 
+SET(SRC
+       BlockDXT.cpp
+       ColorBlock.cpp
+       DirectDrawSurface.cpp
+       Image.cpp
+       Stream.cpp
+       dds_api.cpp
+)
+
 if(WITH_IMAGE_DDS)
        ADD_DEFINITIONS(-DWITH_DDS)
 ENDIF(WITH_IMAGE_DDS)
index cfc977f..836958f 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(SRC openexr_api.cpp)
-
 SET(INC 
        .
        ../../../blenkernel
@@ -38,6 +36,10 @@ SET(INC
        ${OPENEXR_INC}
 )
 
+SET(SRC
+       openexr_api.cpp
+)
+
 IF(WITH_IMAGE_OPENEXR)
        ADD_DEFINITIONS(-DWITH_OPENEXR)
 ENDIF(WITH_IMAGE_OPENEXR)
index b6dcc9c..99e8c05 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC intern/*.c)
-
 SET(INC 
        . ./intern
        ../blenlib
@@ -40,6 +38,47 @@ SET(INC
        ${ZLIB_INC}
 )
 
+SET(SRC
+       intern/MOD_armature.c
+       intern/MOD_array.c
+       intern/MOD_bevel.c
+       intern/MOD_boolean.c
+       intern/MOD_boolean_util.c
+       intern/MOD_build.c
+       intern/MOD_cast.c
+       intern/MOD_cloth.c
+       intern/MOD_collision.c
+       intern/MOD_curve.c
+       intern/MOD_decimate.c
+       intern/MOD_displace.c
+       intern/MOD_edgesplit.c
+       intern/MOD_explode.c
+       intern/MOD_fluidsim.c
+       intern/MOD_fluidsim_util.c
+       intern/MOD_hook.c
+       intern/MOD_lattice.c
+       intern/MOD_mask.c
+       intern/MOD_meshdeform.c
+       intern/MOD_mirror.c
+       intern/MOD_multires.c
+       intern/MOD_none.c
+       intern/MOD_particleinstance.c
+       intern/MOD_particlesystem.c
+       intern/MOD_screw.c
+       intern/MOD_shapekey.c
+       intern/MOD_shrinkwrap.c
+       intern/MOD_simpledeform.c
+       intern/MOD_smoke.c
+       intern/MOD_smooth.c
+       intern/MOD_softbody.c
+       intern/MOD_solidify.c
+       intern/MOD_subsurf.c
+       intern/MOD_surface.c
+       intern/MOD_util.c
+       intern/MOD_uvproject.c
+       intern/MOD_wave.c
+)
+
 IF(NOT WITH_FLUID)
        ADD_DEFINITIONS(-DDISABLE_ELBEEM)
 ENDIF(NOT WITH_FLUID)
index 8d8423c..d4383f3 100644 (file)
@@ -23,8 +23,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC intern/*.c intern/CMP_nodes/*.c intern/SHD_nodes/*.c intern/TEX_nodes/*.c)
-
 SET(INC 
        .
        ../blenkernel
@@ -39,6 +37,109 @@ SET(INC
        ../../../extern/glew/include
 )
 
+SET(SRC
+       intern/CMP_nodes/CMP_alphaOver.c
+       intern/CMP_nodes/CMP_bilateralblur.c
+       intern/CMP_nodes/CMP_blur.c
+       intern/CMP_nodes/CMP_brightness.c
+       intern/CMP_nodes/CMP_channelMatte.c
+       intern/CMP_nodes/CMP_chromaMatte.c
+       intern/CMP_nodes/CMP_colorMatte.c
+       intern/CMP_nodes/CMP_colorSpill.c
+       intern/CMP_nodes/CMP_colorbalance.c
+       intern/CMP_nodes/CMP_composite.c
+       intern/CMP_nodes/CMP_crop.c
+       intern/CMP_nodes/CMP_curves.c
+       intern/CMP_nodes/CMP_defocus.c
+       intern/CMP_nodes/CMP_diffMatte.c
+       intern/CMP_nodes/CMP_dilate.c
+       intern/CMP_nodes/CMP_directionalblur.c
+       intern/CMP_nodes/CMP_displace.c
+       intern/CMP_nodes/CMP_distanceMatte.c
+       intern/CMP_nodes/CMP_filter.c
+       intern/CMP_nodes/CMP_flip.c
+       intern/CMP_nodes/CMP_gamma.c
+       intern/CMP_nodes/CMP_glare.c
+       intern/CMP_nodes/CMP_hueSatVal.c
+       intern/CMP_nodes/CMP_huecorrect.c
+       intern/CMP_nodes/CMP_idMask.c
+       intern/CMP_nodes/CMP_image.c
+       intern/CMP_nodes/CMP_invert.c
+       intern/CMP_nodes/CMP_lensdist.c
+       intern/CMP_nodes/CMP_levels.c
+       intern/CMP_nodes/CMP_lummaMatte.c
+       intern/CMP_nodes/CMP_mapUV.c
+       intern/CMP_nodes/CMP_mapValue.c
+       intern/CMP_nodes/CMP_math.c
+       intern/CMP_nodes/CMP_mixrgb.c
+       intern/CMP_nodes/CMP_normal.c
+       intern/CMP_nodes/CMP_normalize.c
+       intern/CMP_nodes/CMP_outputFile.c
+       intern/CMP_nodes/CMP_premulkey.c
+       intern/CMP_nodes/CMP_rgb.c
+       intern/CMP_nodes/CMP_rotate.c
+       intern/CMP_nodes/CMP_scale.c
+       intern/CMP_nodes/CMP_sepcombHSVA.c
+       intern/CMP_nodes/CMP_sepcombRGBA.c
+       intern/CMP_nodes/CMP_sepcombYCCA.c
+       intern/CMP_nodes/CMP_sepcombYUVA.c
+       intern/CMP_nodes/CMP_setalpha.c
+       intern/CMP_nodes/CMP_splitViewer.c
+       intern/CMP_nodes/CMP_texture.c
+       intern/CMP_nodes/CMP_tonemap.c
+       intern/CMP_nodes/CMP_translate.c
+       intern/CMP_nodes/CMP_valToRgb.c
+       intern/CMP_nodes/CMP_value.c
+       intern/CMP_nodes/CMP_vecBlur.c
+       intern/CMP_nodes/CMP_viewer.c
+       intern/CMP_nodes/CMP_zcombine.c
+       intern/CMP_util.c
+       intern/SHD_nodes/SHD_camera.c
+       intern/SHD_nodes/SHD_curves.c
+       intern/SHD_nodes/SHD_dynamic.c
+       intern/SHD_nodes/SHD_geom.c
+       intern/SHD_nodes/SHD_hueSatVal.c
+       intern/SHD_nodes/SHD_invert.c
+       intern/SHD_nodes/SHD_mapping.c
+       intern/SHD_nodes/SHD_material.c
+       intern/SHD_nodes/SHD_math.c
+       intern/SHD_nodes/SHD_mixRgb.c
+       intern/SHD_nodes/SHD_normal.c
+       intern/SHD_nodes/SHD_output.c
+       intern/SHD_nodes/SHD_rgb.c
+       intern/SHD_nodes/SHD_sepcombRGB.c
+       intern/SHD_nodes/SHD_squeeze.c
+       intern/SHD_nodes/SHD_texture.c
+       intern/SHD_nodes/SHD_valToRgb.c
+       intern/SHD_nodes/SHD_value.c
+       intern/SHD_nodes/SHD_vectMath.c
+       intern/SHD_util.c
+       intern/TEX_nodes/TEX_at.c
+       intern/TEX_nodes/TEX_bricks.c
+       intern/TEX_nodes/TEX_checker.c
+       intern/TEX_nodes/TEX_compose.c
+       intern/TEX_nodes/TEX_coord.c
+       intern/TEX_nodes/TEX_curves.c
+       intern/TEX_nodes/TEX_decompose.c
+       intern/TEX_nodes/TEX_distance.c
+       intern/TEX_nodes/TEX_hueSatVal.c
+       intern/TEX_nodes/TEX_image.c
+       intern/TEX_nodes/TEX_invert.c
+       intern/TEX_nodes/TEX_math.c
+       intern/TEX_nodes/TEX_mixRgb.c
+       intern/TEX_nodes/TEX_output.c
+       intern/TEX_nodes/TEX_proc.c
+       intern/TEX_nodes/TEX_rotate.c
+       intern/TEX_nodes/TEX_scale.c
+       intern/TEX_nodes/TEX_texture.c
+       intern/TEX_nodes/TEX_translate.c
+       intern/TEX_nodes/TEX_valToNor.c
+       intern/TEX_nodes/TEX_valToRgb.c
+       intern/TEX_nodes/TEX_viewer.c
+       intern/TEX_util.c
+       intern/node_util.c
+)
+
 IF(WIN32)
        LIST(APPEND INC ${PTHREADS_INC})
 ENDIF(WIN32)
index adb6052..3ffdb46 100644 (file)
@@ -25,8 +25,6 @@
 
 ADD_SUBDIRECTORY(generic)
 
-FILE(GLOB SRC intern/*.c)
-
 SET(INC 
        .
        ../blenlib
@@ -40,6 +38,21 @@ SET(INC
        ${PYTHON_INC}
 )
 
+SET(SRC
+       intern/bpy.c
+       intern/bpy_app.c
+       intern/bpy_array.c
+       intern/bpy_driver.c
+       intern/bpy_interface.c
+       intern/bpy_operator.c
+       intern/bpy_operator_wrap.c
+       intern/bpy_props.c
+       intern/bpy_rna.c
+       intern/bpy_rna_callback.c
+       intern/bpy_util.c
+       intern/stubs.c
+)
+
 # only to check if buildinfo is available
 IF(WITH_BUILDINFO)
        ADD_DEFINITIONS(-DBUILD_DATE)
index 1a91abf..4ac3fc3 100644 (file)
@@ -18,8 +18,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
 SET(INC 
        .
        ../../blenlib
@@ -31,4 +29,20 @@ SET(INC
        ${PYTHON_INC}
 )
 
+SET(SRC
+       IDProp.c
+       bgl.c
+       blf_api.c
+       bpy_internal_import.c
+       geometry.c
+       mathutils.c
+       mathutils_color.c
+       mathutils_euler.c
+       mathutils_matrix.c
+       mathutils_quat.c
+       mathutils_vector.c
+       noise.c
+       py_capi_utils.c
+)
+
 BLENDERLIB(bf_python_ext "${SRC}" "${INC}")
index a6522ff..0917599 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC intern/*.c)
-
 SET(INC 
-       .  ../blenloader ../blenloader/intern ../blenkernel ../blenlib ../makesdna ../../kernel/gen_messaging
+       .
+       ../blenloader
+       ../blenloader/intern
+       ../blenkernel
+       ../blenlib
+       ../makesdna
+       ../../kernel/gen_messaging
+)
+
+SET(SRC
+       intern/BLO_readblenfile.c
 )
 
 BLENDERLIB(bf_readblenfile "${SRC}" "${INC}")
index e647809..f2da8f4 100644 (file)
@@ -27,8 +27,6 @@
 # remove warning until render branch merged.
 STRING(REGEX REPLACE "-Wunused-parameter" "" CMAKE_C_FLAGS ${CMAKE_C_FLAGS})
 
-FILE(GLOB SRC intern/source/*.c intern/raytrace/*.cpp)
-
 SET(INC 
        intern/include
        extern/include
@@ -44,6 +42,42 @@ SET(INC
        ../../../intern/guardedalloc
 )
 
+SET(SRC
+       intern/raytrace/rayobject.cpp
+       intern/raytrace/rayobject_qbvh.cpp
+       intern/raytrace/rayobject_rtbuild.cpp
+       intern/raytrace/rayobject_svbvh.cpp
+       intern/raytrace/rayobject_vbvh.cpp
+       intern/source/convertblender.c
+       intern/source/envmap.c
+       intern/source/gammaCorrectionTables.c
+       intern/source/imagetexture.c
+       intern/source/initrender.c
+       intern/source/occlusion.c
+       intern/source/pipeline.c
+       intern/source/pixelblending.c
+       intern/source/pixelshading.c
+       intern/source/pointdensity.c
+       intern/source/rayobject_blibvh.c
+       intern/source/rayobject_instance.c
+       intern/source/rayobject_octree.c
+       intern/source/rayobject_raycounter.c
+       intern/source/rayshade.c
+       intern/source/rendercore.c
+       intern/source/renderdatabase.c
+       intern/source/shadbuf.c
+       intern/source/shadeinput.c
+       intern/source/shadeoutput.c
+       intern/source/sss.c
+       intern/source/strand.c
+       intern/source/sunsky.c
+       intern/source/texture.c
+       intern/source/volume_precache.c
+       intern/source/volumetric.c
+       intern/source/voxeldata.c
+       intern/source/zbuf.c
+)
+
 IF(WIN32)
        LIST(APPEND INC ${PTHREADS_INC})
 ENDIF(WIN32)
index 1919bf8..36d9f2b 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC intern/*.c)
-
 SET(INC
        .
        ../nodes
@@ -50,6 +48,23 @@ SET(INC
        ${OPENGL_INCLUDE_DIR}
 )
 
+SET(SRC
+       intern/wm.c
+       intern/wm_apple.c
+       intern/wm_cursors.c
+       intern/wm_dragdrop.c
+       intern/wm_draw.c
+       intern/wm_event_system.c
+       intern/wm_files.c
+       intern/wm_gesture.c
+       intern/wm_init_exit.c
+       intern/wm_jobs.c
+       intern/wm_keymap.c
+       intern/wm_operators.c
+       intern/wm_subwindow.c
+       intern/wm_window.c
+)
+
 ADD_DEFINITIONS(-DGLEW_STATIC)
 
 IF(WITH_INTERNATIONAL)
index 473cc82..a40c0f1 100644 (file)
 # this warning on generated files gets annoying
 STRING(REGEX REPLACE "-Wunused-parameter" "" CMAKE_C_FLAGS ${CMAKE_C_FLAGS})
 
-FILE(GLOB SRC stubs.c)
-
-IF(WITH_BUILDINFO)
-       ADD_DEFINITIONS(-DBUILD_DATE)
-       FILE(GLOB SRC ${SRC} ../../creator/buildinfo.c)
-ENDIF(WITH_BUILDINFO)
-
 SET(INC 
        .
        .. 
@@ -43,6 +36,17 @@ SET(INC
        ../../../source/blender/blenkernel
 )
 
+SET(SRC
+       stubs.c
+)
+
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DBUILD_DATE)
+       LIST(APPEND SRC
+               ../../creator/buildinfo.c
+       )
+ENDIF(WITH_BUILDINFO)
+
 IF(WITH_GAMEENGINE)
        ADD_DEFINITIONS(-DGAMEBLENDER)
 ENDIF(WITH_GAMEENGINE)
index 853cba5..661f9c5 100644 (file)
@@ -1,6 +1,4 @@
 
-FILE(GLOB SRC *.cpp)
-
 SET(INC
        .
        ../../../source/kernel/gen_system
@@ -37,6 +35,17 @@ SET(INC
        ../../../extern/glew/include
 )
 
+SET(SRC
+       BL_KetsjiEmbedStart.cpp
+       KX_BlenderCanvas.cpp
+       KX_BlenderGL.cpp
+       KX_BlenderInputDevice.cpp
+       KX_BlenderKeyboardDevice.cpp
+       KX_BlenderMouseDevice.cpp
+       KX_BlenderRenderTools.cpp
+       KX_BlenderSystem.cpp
+)
+
 ADD_DEFINITIONS(-DGLEW_STATIC)
 
 IF(WITH_FFMPEG)
index 87e413c..e6b5f6c 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.cpp)
-
 SET(INC
        .
        ../../../source/kernel/gen_system
@@ -63,6 +61,30 @@ SET(INC
        ../../../extern/bullet2/src
 )
 
+SET(SRC
+       BL_ActionActuator.cpp
+       BL_ArmatureActuator.cpp
+       BL_ArmatureChannel.cpp
+       BL_ArmatureConstraint.cpp
+       BL_ArmatureObject.cpp
+       BL_BlenderDataConversion.cpp
+       BL_DeformableGameObject.cpp
+       BL_MeshDeformer.cpp
+       BL_ModifierDeformer.cpp
+       BL_ShapeActionActuator.cpp
+       BL_ShapeDeformer.cpp
+       BL_SkinDeformer.cpp
+       BlenderWorldInfo.cpp
+       KX_BlenderScalarInterpolator.cpp
+       KX_BlenderSceneConverter.cpp
+       KX_ConvertActuators.cpp
+       KX_ConvertControllers.cpp
+       KX_ConvertProperties.cpp
+       KX_ConvertSensors.cpp
+       KX_IpoConvert.cpp
+       KX_SoftBodyDeformer.cpp
+)
+
 IF(WITH_PYTHON)
        LIST(APPEND INC ${PYTHON_INC})
 ELSE(WITH_PYTHON)
index 126192d..828afa7 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.cpp)
-
 SET(INC
        .
        ../../../source/kernel/gen_system
@@ -36,6 +34,28 @@ SET(INC
        ../../../source/blender/blenloader
 )
 
+SET(SRC
+       BoolValue.cpp
+       ConstExpr.cpp
+       EXP_C-Api.cpp
+       EmptyValue.cpp
+       ErrorValue.cpp
+       Expression.cpp
+       FloatValue.cpp
+       IdentifierExpr.cpp
+       IfExpr.cpp
+       InputParser.cpp
+       IntValue.cpp
+       KX_HashedPtr.cpp
+       ListValue.cpp
+       Operator1Expr.cpp
+       Operator2Expr.cpp
+       PyObjectPlus.cpp
+       StringValue.cpp
+       Value.cpp
+       VectorValue.cpp
+)
+
 IF(WITH_PYTHON)
        LIST(APPEND INC ${PYTHON_INC})
 ELSE(WITH_PYTHON)
index 84d9158..57150a9 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.cpp Joystick/*.cpp)
-
 SET(INC
        . 
        ../../../source/kernel/gen_system 
@@ -36,6 +34,51 @@ SET(INC
        ../../../source/gameengine/Rasterizer
 )
 
+SET(SRC
+       Joystick/SCA_Joystick.cpp
+       Joystick/SCA_JoystickEvents.cpp
+       SCA_2DFilterActuator.cpp
+       SCA_ANDController.cpp
+       SCA_ActuatorEventManager.cpp
+       SCA_ActuatorSensor.cpp
+       SCA_AlwaysEventManager.cpp
+       SCA_AlwaysSensor.cpp
+       SCA_BasicEventManager.cpp
+       SCA_DelaySensor.cpp
+       SCA_EventManager.cpp
+       SCA_ExpressionController.cpp
+       SCA_IActuator.cpp
+       SCA_IController.cpp
+       SCA_IInputDevice.cpp
+       SCA_ILogicBrick.cpp
+       SCA_IObject.cpp
+       SCA_IScene.cpp
+       SCA_ISensor.cpp
+       SCA_JoystickManager.cpp
+       SCA_JoystickSensor.cpp
+       SCA_KeyboardManager.cpp
+       SCA_KeyboardSensor.cpp
+       SCA_LogicManager.cpp
+       SCA_MouseManager.cpp
+       SCA_MouseSensor.cpp
+       SCA_NANDController.cpp
+       SCA_NORController.cpp
+       SCA_ORController.cpp
+       SCA_PropertyActuator.cpp
+       SCA_PropertyEventManager.cpp
+       SCA_PropertySensor.cpp
+       SCA_PythonController.cpp
+       SCA_PythonKeyboard.cpp
+       SCA_PythonMouse.cpp
+       SCA_RandomActuator.cpp
+       SCA_RandomEventManager.cpp
+       SCA_RandomNumberGenerator.cpp
+       SCA_RandomSensor.cpp
+       SCA_TimeEventManager.cpp
+       SCA_XNORController.cpp
+       SCA_XORController.cpp
+)
+
 IF(WITH_SDL)
        SET(INC ${INC} ${SDL_INCLUDE_DIR})
 ELSE(WITH_SDL)
index 08a4aa5..47ac7f7 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(SRC 
-       bmfont.cpp
-       GPC_Canvas.cpp
-       GPC_Engine.cpp
-       GPC_KeyboardDevice.cpp
-       GPC_MouseDevice.cpp
-       GPC_RawImage.cpp
-       GPC_RawLoadDotBlendArray.cpp
-       GPC_RawLogoArrays.cpp
-       GPC_RenderTools.cpp
-       GPC_System.cpp
-)
-
 SET(INC
        .
        ../../../../intern/string
@@ -71,6 +58,19 @@ SET(INC
        ${ZLIB_INC}
 )
 
+SET(SRC 
+       bmfont.cpp
+       GPC_Canvas.cpp
+       GPC_Engine.cpp
+       GPC_KeyboardDevice.cpp
+       GPC_MouseDevice.cpp
+       GPC_RawImage.cpp
+       GPC_RawLoadDotBlendArray.cpp
+       GPC_RawLogoArrays.cpp
+       GPC_RenderTools.cpp
+       GPC_System.cpp
+)
+
 ADD_DEFINITIONS(-DGLEW_STATIC)
 
 BLENDERLIB_NOLIST(gp_common "${SRC}" "${INC}")
index 8164878..6ce9f7b 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(SRC 
-       GPG_Application.cpp
-       GPG_Canvas.cpp
-       GPG_ghost.cpp
-       GPG_KeyboardDevice.cpp
-       GPG_System.cpp
-)
-
 SET(INC
        .
        ../../../../intern/string
@@ -66,6 +58,14 @@ SET(INC
        ${PYTHON_INC}
 )
 
+SET(SRC 
+       GPG_Application.cpp
+       GPG_Canvas.cpp
+       GPG_ghost.cpp
+       GPG_KeyboardDevice.cpp
+       GPG_System.cpp
+)
+
 ADD_DEFINITIONS(-DGLEW_STATIC)
 
 IF(WITH_FFMPEG)
index b128f33..68f0a0d 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.cpp)
-
 SET(INC
        .
        ../../../source/kernel/gen_system
@@ -59,6 +57,76 @@ SET(INC
        ../../../extern/glew/include
 )
 
+SET(SRC
+       BL_BlenderShader.cpp
+       BL_Material.cpp
+       BL_Shader.cpp
+       BL_Texture.cpp
+       KX_ArmatureSensor.cpp
+       KX_BlenderMaterial.cpp
+       KX_BulletPhysicsController.cpp
+       KX_Camera.cpp
+       KX_CameraActuator.cpp
+       KX_CameraIpoSGController.cpp
+       KX_ConstraintActuator.cpp
+       KX_ConstraintWrapper.cpp
+       KX_ConvertPhysicsObjects.cpp
+       KX_Dome.cpp
+       KX_EmptyObject.cpp
+       KX_GameActuator.cpp
+       KX_GameObject.cpp
+       KX_IPO_SGController.cpp
+       KX_IPhysicsController.cpp
+       KX_IpoActuator.cpp
+       KX_KetsjiEngine.cpp
+       KX_Light.cpp
+       KX_LightIpoSGController.cpp
+       KX_MaterialIpoController.cpp
+       KX_MeshProxy.cpp
+       KX_MotionState.cpp
+       KX_MouseFocusSensor.cpp
+       KX_NearSensor.cpp
+       KX_ObColorIpoSGController.cpp
+       KX_ObjectActuator.cpp
+       KX_OrientationInterpolator.cpp
+       KX_ParentActuator.cpp
+       KX_PhysicsObjectWrapper.cpp
+       KX_PolyProxy.cpp
+       KX_PolygonMaterial.cpp
+       KX_PositionInterpolator.cpp
+       KX_PyConstraintBinding.cpp
+       KX_PyMath.cpp
+       KX_PythonInit.cpp
+       KX_PythonInitTypes.cpp
+       KX_PythonSeq.cpp
+       KX_RadarSensor.cpp
+       KX_RayCast.cpp
+       KX_RayEventManager.cpp
+       KX_RaySensor.cpp
+       KX_SCA_AddObjectActuator.cpp
+       KX_SCA_DynamicActuator.cpp
+       KX_SCA_EndObjectActuator.cpp
+       KX_SCA_ReplaceMeshActuator.cpp
+       KX_SG_BoneParentNodeRelationship.cpp
+       KX_SG_NodeRelationships.cpp
+       KX_ScalarInterpolator.cpp
+       KX_ScalingInterpolator.cpp
+       KX_Scene.cpp
+       KX_SceneActuator.cpp
+       KX_SoundActuator.cpp
+       KX_StateActuator.cpp
+       KX_TimeCategoryLogger.cpp
+       KX_TimeLogger.cpp
+       KX_TouchEventManager.cpp
+       KX_TouchSensor.cpp
+       KX_TrackToActuator.cpp
+       KX_VehicleWrapper.cpp
+       KX_VertexProxy.cpp
+       KX_VisibilityActuator.cpp
+       KX_WorldInfo.cpp
+       KX_WorldIpoController.cpp
+)
+
 ADD_DEFINITIONS(-DGLEW_STATIC)
 
 IF(WITH_SDL)
index 106d1a8..2b1c1a6 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.cpp)
-
 SET(INC
        .
        ../../../../source/kernel/gen_system
@@ -38,6 +36,14 @@ SET(INC
        ../../../../source/gameengine/Network
 )
 
+SET(SRC
+       KX_NetworkEventManager.cpp
+       KX_NetworkMessageActuator.cpp
+       KX_NetworkMessageSensor.cpp
+       KX_NetworkObjectActuator.cpp
+       KX_NetworkObjectSensor.cpp
+)
+
 IF(WITH_PYTHON)
        LIST(APPEND INC ${PYTHON_INC})
 ELSE(WITH_PYTHON)
index 795e63b..3dde84d 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.cpp)
-
 SET(INC
        .
        ../../../source/kernel/gen_system
@@ -33,4 +31,10 @@ SET(INC
        ../../../intern/moto/include
 )
 
+SET(SRC
+       NG_NetworkMessage.cpp
+       NG_NetworkObject.cpp
+       NG_NetworkScene.cpp
+)
+
 BLENDERLIB(bf_ngnetwork "${SRC}" "${INC}")
index e7c34f5..eae2971 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(SRC NG_LoopBackNetworkDeviceInterface.cpp)
-
 SET(INC
        .
        ../../../../source/kernel/gen_system
@@ -33,4 +31,8 @@ SET(INC
        ../../../../source/gameengine/Network
 )
 
+SET(SRC
+       NG_LoopBackNetworkDeviceInterface.cpp
+)
+
 BLENDERLIB(bf_loopbacknetwork "${SRC}" "${INC}")
index ba6f3be..faa9385 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(SRC CcdPhysicsEnvironment.cpp CcdPhysicsController.cpp CcdGraphicController.cpp)
-
 SET(INC
        .
        ../common
@@ -46,6 +44,12 @@ SET(INC
        ${PYTHON_INC}
 )
 
+SET(SRC
+       CcdPhysicsEnvironment.cpp
+       CcdPhysicsController.cpp
+       CcdGraphicController.cpp
+)
+
 IF(WITH_BULLET)
        ADD_DEFINITIONS(-DUSE_BULLET)
 ENDIF(WITH_BULLET)
index 1833039..501fbcd 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(SRC DummyPhysicsEnvironment.cpp)
-
 SET(INC
        .
        ../common
 )
 
+SET(SRC
+       DummyPhysicsEnvironment.cpp
+)
+
 BLENDERLIB(bf_dummy "${SRC}" "${INC}")
index 0f8f59f..0389280 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(SRC PHY_IMotionState.cpp PHY_IController.cpp PHY_IPhysicsController.cpp PHY_IGraphicController.cpp PHY_IPhysicsEnvironment.cpp PHY_IVehicle.cpp)
-
 SET(INC
        .
        ../Dummy
        ../../../intern/moto/include
 )
 
+SET(SRC
+       PHY_IMotionState.cpp
+       PHY_IController.cpp
+       PHY_IPhysicsController.cpp
+       PHY_IGraphicController.cpp
+       PHY_IPhysicsEnvironment.cpp
+       PHY_IVehicle.cpp
+)
+
 BLENDERLIB(bf_common "${SRC}" "${INC}")
index d718bf3..9bbf7e1 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.cpp)
-
 SET(INC
        .
        ../../../source/kernel/gen_system
@@ -40,6 +38,19 @@ SET(INC
        ${PYTHON_INC}
 )
 
+SET(SRC
+       RAS_2DFilterManager.cpp
+       RAS_BucketManager.cpp
+       RAS_FramingManager.cpp
+       RAS_IPolygonMaterial.cpp
+       RAS_IRenderTools.cpp
+       RAS_MaterialBucket.cpp
+       RAS_MeshObject.cpp
+       RAS_Polygon.cpp
+       RAS_TexVert.cpp
+       RAS_texmatrix.cpp
+)
+
 ADD_DEFINITIONS(-DGLEW_STATIC)
 
 BLENDERLIB(bf_rasterizer "${SRC}" "${INC}")
index cc48952..a89faae 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.cpp)
-
 SET(INC
        ../../../../source/kernel/gen_system
        ../../../../intern/string
@@ -41,6 +39,13 @@ SET(INC
        ../../../../source/blender/blenloader
 )
 
+SET(SRC
+       RAS_GLExtensionManager.cpp
+       RAS_ListRasterizer.cpp
+       RAS_OpenGLRasterizer.cpp
+       RAS_VAOpenGLRasterizer.cpp
+)
+
 ADD_DEFINITIONS(-DGLEW_STATIC)
 
 BLENDERLIB(bf_oglrasterizer "${SRC}" "${INC}")
index a731305..d1b207b 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.cpp)
-
 SET(INC
        .
        ../../../intern/moto/include
 )
 
+SET(SRC
+       SG_BBox.cpp
+       SG_Controller.cpp
+       SG_IObject.cpp
+       SG_Node.cpp
+       SG_Spatial.cpp
+       SG_Tree.cpp
+)
+
 BLENDERLIB(bf_scenegraph "${SRC}" "${INC}")
index 34a3232..1c62448 100644 (file)
@@ -24,8 +24,6 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.cpp)
-
 SET(INC
        .
        ../../../source/gameengine/Ketsji
@@ -51,6 +49,25 @@ SET(INC
        ../../../extern/glew/include
 )
 
+SET(SRC
+       Exception.cpp
+       FilterBase.cpp
+       FilterBlueScreen.cpp
+       FilterColor.cpp
+       FilterNormal.cpp
+       FilterSource.cpp
+       ImageBase.cpp
+       ImageBuff.cpp
+       ImageMix.cpp
+       ImageRender.cpp
+       ImageViewport.cpp
+       PyTypeList.cpp
+       Texture.cpp
+       VideoBase.cpp
+       VideoFFmpeg.cpp
+       blendVideoTex.cpp
+)
+
 IF(WITH_FFMPEG)
        SET(INC ${INC} ${FFMPEG_INC} ${PTHREADS_INC})
        ADD_DEFINITIONS(-DWITH_FFMPEG)
index 66d1401..1665a3c 100644 (file)
@@ -32,7 +32,7 @@ SET(INC
        ../../source/blender/blenloader
 )
 
-FILE(GLOB SRC   
+SET(SRC
        gen_messaging/intern/messaging.c
        gen_system/GEN_HashedPtr.cpp
        gen_system/GEN_Matrix4x4.cpp