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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user