use explicit file paths for CMake rather then globing, This is recommended by cmake devs.
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.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user