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 3054ed989087420126fc23972195793f4c1e5aed..91d1cba425f70942df1c9aaa30d2193eae24f69a 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 8cdd804dfbaa02c2d0de260fa54984cf3cba586e..ff55c59850447333ecd5d7b9cfe20a2ed8e2e43d 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 15aa5264e37be13b9319a0199be78d8906e72db5..773d3880f93265e7e42fac0a83e267a460a9b83a 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 1563300d509991897184d16b6b06c9e1ef96fdf4..6cfbd86a2fc4010bd909bd008a7471eaf2eb551b 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 6982bd83276f63c3a54200f282c15d287e5cc6b7..2dd4694d8a9ad9e7c2e04cd62498683de7fd5610 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 91500712a4c3c96ff052cec3b16cbd7f4ad10d65..4b261900521d94b694eb575a4e3652c5eada99ec 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 debbc86c2409567c4a8ed0a63742eec5eabc576b..358c02fec73f6930d8c0960a4b20b75e1989c3d7 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 9ae684ec54215893d68dbe9640210e96174485ae..393883cb14807fd2723819709e336420d1d21007 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 77ab6249e7f349305af53c3f903aa1bdf6a714c8..c284ed087fdcf0d5faad1f684ad0373f57ed114f 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 57fb6180adbacce5d85836c8fdde3863e0038957..a4ee5927216fcc0c827aa32a47ffec51f929b087 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 50ae78d6d16ef0ab774e6e53c7177d737d081afa..11bad7ed5f6ef4853b7216d1a67013f1feb2902c 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 88f902b38c896f5a3b1affa8ec6730361d88eca6..c8d2bbb69873e218e754e21e428851b3bf630dba 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 ebbc53403f484cf45abf64d156c80dc35201abe2..10bb6733c9341305c1ca9d4efc606d2ac6feaa55 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC . ..)
+SET(INC
+       .
+       ..
+)
 
 SET(SRC
        ./intern/MEM_CacheLimiterC-Api.cpp
index 91c523eced9085452b73e68dd7da629e57744c33..f3300ec562b34fdb6d759994941d2fb71afc05cf 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 b29eaa680b615332cd6281fa5ab0563c18457899..900bad543ac3d9847f390271f222c1000945f3f6 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 6c844cbd23209d95491139a7b8d0b86a167bb973..741301f04da99ec72df6ac4e6744aade1fed1876 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 a1b130d93be4056757564b18574e0a0703a74b8a..399de33e043f42fab662ad5145f8c819103f93d3 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 b1ddb8c78959cb31b6ce85f0ba7c418075ab4ed2..62bf51dada30449f0088cfe1e3f69e5a56eeaee3 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 abaf769bd3cf7ab91e1c882d52a5b6c7588ed9ce..f6afa31a28d2f23b6b887dac445213b07bdb29dc 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 f6c8febd955b1ec7ad925b86d719fc2f1587ef3a..a63f0031eedec64e3eee35e17e27ed5fd405b154 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 320d4ac783ff237d686e7a3d359818a884311312..a37723a82870033dedf7d0390239d5d2595e7260 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 cc70d3355f29e980c07ad2db5e74dfd5cf3c10fc..144b1d1b1a16b49922ff1aa950a0ae7ca23a247a 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 3abf1e44449ca44344abdc50a73e69ba82216d7f..41ec586438288e7d9663007f512c700904cc84c8 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 a72ecc4be6c823e3a76fe7d966702a28b89534e0..bcc407b6b68a238a1d72235278f0422d1247e33c 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 d5eef6bbd349045f6fe1f9ca6694f280f2cb3f6e..7954e2c83134a8d12cba19c7948e4f1eb8544d47 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 b563492134352b41b4111b5c8987c00cce995270..62b76655010317d976bf130aaf8bae10f9733f09 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 ab45d73a2de6c17f3ca092fab358adf79e94b989..8e47dc9c264ff7d9bc4f3eed179d3ef49e0513aa 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 d37ee338733b27f09ad91dcc00056d93ab96618d..7683db8ab7a19029e968f4bd56ac18e628417c66 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 394418b56887765315437dd33eb3e97535d98899..ab92f0a9b41d150bdc6412098530fd64fc69be16 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 4b4590aeee51fceb3bb4884cad344e5c127dd70a..31de4537c2488eba0cd94653e9d06a4acba21638 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 4145f251a645177f6d1271484d3bf479fd89c01d..1e26f273b410268d9844682d70313113266873c4 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 5e821a5c1e8efe9d3305033e149374d976e9a3b8..9b9ca809f259236dda7a05da8539ec3ec40859ef 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 10fbd62a098c0442771d6856e8574444f0cdabdd..bfcb233e466c7d0e527d8793618dafd4a53de44a 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 49f20bb9ed05b3b63dab83ac4d2b5930baec04ae..5d36038b76a7c5b4192254f9b551bee155946589 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 d494355a1e9e47391e1f9b2e54a8a65919b6a72c..57ee27c3b6b7a2c13d5da2b69ff9fa14014874aa 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 f7dfd81dba91a37d3e75819372cd819ef23bbdc7..4ea056ac400bceabf76356e21763399d8c7cf418 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 3211763b619dddd4bdc3db2c5fd42409251995d0..364677f9a8d0529eeceade669b97a948ceecb4da 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 456c02d947e0be66f887718704138af9ee196679..377643a54630ab60067a79b7e05666a925ad5977 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 3c0585c31ca2f820aa2340e66c4595e5a11b0912..2ddc60a9e59b859db0949539291e13c34b5d87dc 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 da140fe0982a81083226d66d19339c9d4d292b38..5436d8207c55021a01bd69fe887c03dbf7e61b3a 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 f8e9536ecf88cf8df16902e540aeb6b95af2f6f6..b92f2051e741131a425ca0c18e6d7ea50a028692 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 59074bcbb796dcafa7625d29251f8796d953a335..b1d9920fed4ebc7937101ae43ce0fdc8ba5f8b2e 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 2a204d675375f19a78e0a3a4f41c591aba27af46..3130e6d6c142499cf19620d82aa0866747c3e316 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 33ddbcea0197c7d86c2315db3ab5fe8b7dd5bb35..d5c295cf2513769ca4699e0af1ee0d3128eb0297 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 750c4b324d694188f8f02d616bfb1cd6dbbde325..c2166164b0a974bb046f908d9e0f7b235dee8fe3 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 9d439c4ec00546ec656c44c32b1e04f7662c7920..4187afd8df45bb93646fd3bf649ba3b5488f2e66 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 6f0a260124d323e9ec0d986ee62f50da67224d75..64519d606f1bb9f0a0312361625106902a1f5bf4 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 6bb656cba8cbc425159f4a329c2871f6d3a17dd3..0a5f484bb05bfe31b970ce6cbe29c0ab6dbcd908 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 ae298a611e9feecdeb3c0a7099588dfd1891c52f..887d79f8fb3039a6fbd3fde194d6d3f1853e894b 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 5ebe47f8c5e2605239a4aff377d0fd6330dc545d..33128bde986490804918b0c0bfda333d2069af23 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 7abaa4db4412092ba6ee75b131e76eb5b1b96320..88c0ea56ab25204d691e6d329ba2c953f1c52910 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 fa99d35a7cde464212b4fd7b5ed9438fbe56fa7c..673c6af74c72188ac6787f7d12db6ac70250c18e 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 c78fc11a9088102e25a566c606f9c7422c8ccf76..0f94e8a518e4cea7ee7d4ee9cf14b35455c144d1 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 eabf508b5f677f5b9534fc1d43ffc420bf97d828..b53a86fbe39b9aa52d64e6292e4639a48789ae68 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 4da42ec1f42fb13673982bd270f4c8b356b3fdb1..65f71e0b89bb1535455850e46cd7013070b5a553 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 d57661bb166460391fca2bab6f1ae2905c6b9d4b..b8a04a16edca38095f06f21d67f860204e97400b 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 4874789898158f7ce177bebcf1ed90a63f8e6a35..855d770c7844abfdb9f037be79602066c45d16d0 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 e28ed89c80c05261547c6e9c77ff9461e11d14ea..61508a48ecd210ee4eee7e2b9b542e1917eab767 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 be700b17b7a4cbb2d85f90b6863edf7dec3f79ad..99f0d4bc2b2c65182901193d032cdf262ba837ab 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 36cd1274ec7c04f2a5c033b4bda0aa456c43bd12..33251cc634459d7697b61f17a2b2848518d9f887 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 5de7b0c5281db9f85726d07d991afae6bc09fed3..02a43abf09897f30ecc539d8f452fe21fdcf5bfa 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 79f33effb87aa732e0ff0b44c033bf0e8ab3b5f5..61d5ff4f7fe539fc84824129fe4543cde74cc704 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 699ed6e1b0031b81c6dc746266095baedbe373ec..f89ef033d7845d59dac8d220c7464a0dc0a6fd5c 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 5633d2a66f6ef464747794caf86af127d4eb690a..a39235b20ec082430fe7efba5eff8b83936d21bd 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 620d4041703c1841590ea14a6dec608d26ad9e27..78513b35b8749322f7427e86e6d8ca2398ca48d9 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 cfc977ff155537f052b51234a50fe3349f825b31..836958f4b09a54db303b1d5290575ce2c60e25fc 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 b6dcc9c03f96dee728443f12e4ad7afece780e68..99e8c05b1ae33b3d4f68a44ccee68971a9389622 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 8d8423cc19b215f42ee03bd1ab77fc0a7f1913ff..d4383f330c4aa38a40d204ebe76e09a737319279 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 adb60528f5162926ab4fc0ff956034ca2bc62445..3ffdb46e72e21dac09eafdfcce334a03347d72ab 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 1a91abfbec87e7545b308c4d6084971b2909d0d6..4ac3fc36ebd36d5bfdbea155c51c9b6f73f8aa2a 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 a6522ffa7588226f0a97d63a4a7b3d7f6d80193e..0917599f3d4174857a2347d9cfced6a4c6b7e83e 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 e6478098dad84e9b6cdea817d3019e17b05a9c08..f2da8f4d13e37b8102872218034b1385163c9140 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 1919bf8e5712371864b85e51f9082e80749b508b..36d9f2b5c8c0d8ea844a785bcda943e78d279570 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 473cc823f1247b015f6450cd744a9510ef8cd764..a40c0f1972580d30ea90ee37ea16b1ec30ce75fc 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 853cba543a4c18cade34e877e7835882c129b823..661f9c5b25daf84f8a1775d1a2f006070327d303 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 87e413c3a44ec50645b23887ece3d20afee6f233..e6b5f6c81a0640c4121449bfbb4371e3206faf11 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 126192d21889428c46d0645dd20609beb94b5179..828afa7ae92b5d5dd40393b19e4fccdb872468ea 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 84d915847e90ff1c15c418194e0ea103704138f9..57150a90e99d4dd32a61f4d56d0f82f659848ed5 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 08a4aa50a009004ae933e8663fc4e0d73a786513..47ac7f73a51fedc2d6c32149ecc59c3079413ea6 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 8164878762cd99a7afd085dcc05fe41e5cd1e5bb..6ce9f7be280ed979119670df7bd5473d4af45127 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 b128f33c6e48dd9cc2a9c2c34c784a209314aa37..68f0a0de9940845af6a80692420afaf2b561bb28 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 106d1a84a9204585c99a4cc647411f23f0118d5c..2b1c1a698f3124f7c429aad4fb795f68060c5c2e 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 795e63b47c30eadfee7ced3452d1ee275a28d2e7..3dde84d29c1c412480db238a6fa4cca58dcd9d87 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 e7c34f5a2a0ac8ad49e8ebe89984a596c79db642..eae2971ce6ab0ed412aeb86eb5ad143f575ea15d 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 ba6f3bef0db17107fe118fc950ea598743c85c79..faa9385a7455118220e66830afb4ccb59eaefda5 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 18330392cd7fe217158654544177e7002fe76c91..501fbcd94de92f08b8c2dab832dbcb6dcd145786 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(SRC DummyPhysicsEnvironment.cpp)
-
 SET(INC
        .
        ../common
 )
 
+SET(SRC
+       DummyPhysicsEnvironment.cpp
+)
+
 BLENDERLIB(bf_dummy "${SRC}" "${INC}")
index 0f8f59f3b7814d042e307e18617d11df338750cf..0389280340f3075773017de52952aeac6734db3b 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 d718bf3e507856f7deef51a76dfcbf92edc51972..9bbf7e144d5e9c3287e68f57aa4d8f2b27dcba97 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 cc48952dc20f9e4e7d7f0b697500341c81980eea..a89faae3c73c70336e522b9000194cbf595cb1bb 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 a73130531c0542e7bd5f36f4644ec620960c92bd..d1b207b6efa7bf5f18f2f5c6762126c0c7cf7e38 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 34a32328e29143f47a6949520529bbc2ade9075b..1c624482d30cffd40574a10b0bc236d41d24e866 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 66d14014587349c3fcf0df8779c2aea5abf7787c..1665a3c1525af5791a8e049c7b0c1682b41e846d 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