rename cmake include/libraries to conform with suggested cmake names
[blender.git] / source / gameengine / VideoTexture / CMakeLists.txt
index 1c62448..c412363 100644 (file)
@@ -24,7 +24,7 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC
+set(INC
        .
        ../../../source/gameengine/Ketsji
        ../../../source/gameengine/Expressions
@@ -33,7 +33,6 @@ SET(INC
        ../../../source/gameengine/Rasterizer
        ../../../source/gameengine/Rasterizer/RAS_OpenGLRasterizer
        ../../../source/gameengine/BlenderRoutines
-       ../../../source/blender/include
        ../../../source/blender/blenlib
        ../../../source/blender/blenkernel
        ../../../source/blender/makesdna
@@ -42,14 +41,18 @@ SET(INC
        ../../../source/blender/python
        ../../../source/blender/python/generic
        ../../../source/blender/gpu
-       ../../../source/kernel/gen_system
+       ../../../intern/container
        ../../../intern/string
        ../../../intern/moto/include
        ../../../intern/guardedalloc
-       ../../../extern/glew/include
+       ../../../intern/ffmpeg
 )
 
-SET(SRC
+set(INC_SYS
+       ${GLEW_INCLUDE_PATH}
+)
+
+set(SRC
        Exception.cpp
        FilterBase.cpp
        FilterBlueScreen.cpp
@@ -66,18 +69,33 @@ SET(SRC
        VideoBase.cpp
        VideoFFmpeg.cpp
        blendVideoTex.cpp
-)
 
-IF(WITH_FFMPEG)
-       SET(INC ${INC} ${FFMPEG_INC} ${PTHREADS_INC})
-       ADD_DEFINITIONS(-DWITH_FFMPEG)
-       ADD_DEFINITIONS(-D__STDC_CONSTANT_MACROS)
-ENDIF(WITH_FFMPEG)
+       BlendType.h
+       Common.h
+       Exception.h
+       FilterBase.h
+       FilterBlueScreen.h
+       FilterColor.h
+       FilterNormal.h
+       FilterSource.h
+       ImageBase.h
+       ImageBuff.h
+       ImageMix.h
+       ImageRender.h
+       ImageViewport.h
+       PyTypeList.h
+       Texture.h
+       VideoBase.h
+       VideoFFmpeg.h
+)
 
-IF(WITH_PYTHON)
-       LIST(APPEND INC ${PYTHON_INC})
-ELSE(WITH_PYTHON)
-       ADD_DEFINITIONS(-DDISABLE_PYTHON)
-ENDIF(WITH_PYTHON)
+if(WITH_CODEC_FFMPEG)
+       list(APPEND INC_SYS
+               ${FFMPEG_INCLUDE_DIRS}
+               ${PTHREADS_INCLUDE_DIRS}
+       )
+       add_definitions(-DWITH_FFMPEG)
+       add_definitions(-D__STDC_CONSTANT_MACROS)
+endif()
 
-BLENDERLIB(bf_videotex "${SRC}" "${INC}")
+blender_add_lib(ge_videotex "${SRC}" "${INC}" "${INC_SYS}")