CMakeLists.txt 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. # ***** BEGIN GPL LICENSE BLOCK *****
  2. #
  3. # This program is free software; you can redistribute it and/or
  4. # modify it under the terms of the GNU General Public License
  5. # as published by the Free Software Foundation; either version 2
  6. # of the License, or (at your option) any later version.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software Foundation,
  15. # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  16. #
  17. # The Original Code is Copyright (C) 2006, Blender Foundation
  18. # All rights reserved.
  19. #
  20. # The Original Code is: all of this file.
  21. #
  22. # Contributor(s): Jacques Beaurain.
  23. #
  24. # ***** END GPL LICENSE BLOCK *****
  25. set(INC
  26. .
  27. ../BlenderRoutines
  28. ../Expressions
  29. ../GameLogic
  30. ../Ketsji
  31. ../Rasterizer
  32. ../Rasterizer/RAS_OpenGLRasterizer
  33. ../SceneGraph
  34. ../../blender/blenkernel
  35. ../../blender/blenlib
  36. ../../blender/editors/include
  37. ../../blender/gpu
  38. ../../blender/imbuf
  39. ../../blender/makesdna
  40. ../../blender/python
  41. ../../blender/python/generic
  42. ../../../intern/container
  43. ../../../intern/ffmpeg
  44. ../../../intern/glew-mx
  45. ../../../intern/guardedalloc
  46. ../../../intern/string
  47. ../../../intern/decklink
  48. ../../../intern/gpudirect
  49. ../../../intern/atomic
  50. )
  51. set(INC_SYS
  52. ../../../intern/moto/include
  53. ${GLEW_INCLUDE_PATH}
  54. )
  55. add_definitions(${GL_DEFINITIONS})
  56. set(SRC
  57. Exception.cpp
  58. FilterBase.cpp
  59. FilterBlueScreen.cpp
  60. FilterColor.cpp
  61. FilterNormal.cpp
  62. FilterSource.cpp
  63. ImageBase.cpp
  64. ImageBuff.cpp
  65. ImageMix.cpp
  66. ImageRender.cpp
  67. ImageViewport.cpp
  68. PyTypeList.cpp
  69. Texture.cpp
  70. DeckLink.cpp
  71. VideoBase.cpp
  72. VideoFFmpeg.cpp
  73. VideoDeckLink.cpp
  74. blendVideoTex.cpp
  75. BlendType.h
  76. Common.h
  77. Exception.h
  78. FilterBase.h
  79. FilterBlueScreen.h
  80. FilterColor.h
  81. FilterNormal.h
  82. FilterSource.h
  83. ImageBase.h
  84. ImageBuff.h
  85. ImageMix.h
  86. ImageRender.h
  87. ImageViewport.h
  88. PyTypeList.h
  89. Texture.h
  90. DeckLink.h
  91. VideoBase.h
  92. VideoFFmpeg.h
  93. VideoDeckLink.h
  94. )
  95. if(WITH_CODEC_FFMPEG)
  96. list(APPEND INC_SYS
  97. ${FFMPEG_INCLUDE_DIRS}
  98. ${PTHREADS_INCLUDE_DIRS}
  99. )
  100. add_definitions(-DWITH_FFMPEG)
  101. remove_strict_flags_file(
  102. VideoFFmpeg.cpp
  103. VideoDeckLink
  104. DeckLink
  105. )
  106. endif()
  107. if(WITH_GAMEENGINE_DECKLINK)
  108. add_definitions(-DWITH_GAMEENGINE_DECKLINK)
  109. endif()
  110. blender_add_lib(ge_videotex "${SRC}" "${INC}" "${INC_SYS}")