CMakeLists.txt 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. ../Ketsji/KXNetwork
  32. ../Network
  33. ../Network/LoopBackNetwork
  34. ../Physics/Bullet
  35. ../Physics/Dummy
  36. ../Physics/common
  37. ../Rasterizer
  38. ../Rasterizer/RAS_OpenGLRasterizer
  39. ../SceneGraph
  40. ../../blender
  41. ../../blender/blenkernel
  42. ../../blender/blenlib
  43. ../../blender/blenloader
  44. ../../blender/gpu
  45. ../../blender/ikplugin
  46. ../../blender/imbuf
  47. ../../blender/makesdna
  48. ../../blender/makesrna
  49. ../../blender/windowmanager
  50. ../../../intern/container
  51. ../../../intern/guardedalloc
  52. ../../../intern/string
  53. )
  54. set(INC_SYS
  55. ../../../intern/moto/include
  56. ../../../extern/recastnavigation/Detour/Include
  57. ${EIGEN3_INCLUDE_DIRS}
  58. ${PTHREADS_INCLUDE_DIRS}
  59. ${BOOST_INCLUDE_DIR}
  60. )
  61. set(SRC
  62. BL_ActionActuator.cpp
  63. BL_ArmatureActuator.cpp
  64. BL_ArmatureChannel.cpp
  65. BL_ArmatureConstraint.cpp
  66. BL_ArmatureObject.cpp
  67. BL_BlenderDataConversion.cpp
  68. BL_DeformableGameObject.cpp
  69. BL_MeshDeformer.cpp
  70. BL_ModifierDeformer.cpp
  71. BL_ShapeActionActuator.cpp
  72. BL_ShapeDeformer.cpp
  73. BL_SkinDeformer.cpp
  74. KX_BlenderScalarInterpolator.cpp
  75. KX_BlenderSceneConverter.cpp
  76. KX_ConvertActuators.cpp
  77. KX_ConvertControllers.cpp
  78. KX_ConvertProperties.cpp
  79. KX_ConvertSensors.cpp
  80. KX_LibLoadStatus.cpp
  81. KX_SoftBodyDeformer.cpp
  82. BL_ActionActuator.h
  83. BL_ArmatureActuator.h
  84. BL_ArmatureChannel.h
  85. BL_ArmatureConstraint.h
  86. BL_ArmatureObject.h
  87. BL_BlenderDataConversion.h
  88. BL_DeformableGameObject.h
  89. BL_MeshDeformer.h
  90. BL_ModifierDeformer.h
  91. BL_ShapeActionActuator.h
  92. BL_ShapeDeformer.h
  93. BL_SkinDeformer.h
  94. KX_BlenderScalarInterpolator.h
  95. KX_BlenderSceneConverter.h
  96. KX_ConvertActuators.h
  97. KX_ConvertControllers.h
  98. KX_ConvertProperties.h
  99. KX_ConvertSensors.h
  100. KX_LibLoadStatus.h
  101. KX_SoftBodyDeformer.h
  102. )
  103. if(WITH_BULLET)
  104. list(APPEND INC_SYS
  105. ${BULLET_INCLUDE_DIRS}
  106. )
  107. add_definitions(-DWITH_BULLET)
  108. endif()
  109. if(WITH_AUDASPACE)
  110. add_definitions(${AUDASPACE_DEFINITIONS})
  111. list(APPEND INC_SYS
  112. ${AUDASPACE_C_INCLUDE_DIRS}
  113. )
  114. endif()
  115. blender_add_lib(ge_converter "${SRC}" "${INC}" "${INC_SYS}")