Fix for [#27142] manipulator in particle mode does not work
[blender-staging.git] / intern / decimation / CMakeLists.txt
index e7aff161692f924451064ac5c46562978e1b0b48..b726a8cd6a163378a98b6578e82abfdec22251ef 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC . ../moto/include ../container ../memutil)
+set(INC
+       .
+       ../container
+       ../memutil
+       ../moto/include
+)
 
-FILE(GLOB SRC intern/*.cpp)
+set(SRC
+       intern/LOD_EdgeCollapser.cpp
+       intern/LOD_ExternNormalEditor.cpp
+       intern/LOD_FaceNormalEditor.cpp
+       intern/LOD_ManMesh2.cpp
+       intern/LOD_MeshPrimitives.cpp
+       intern/LOD_QSDecimator.cpp
+       intern/LOD_QuadricEditor.cpp
+       intern/LOD_decimation.cpp
 
-BLENDERLIB(bf_decimation "${SRC}" "${INC}")
-#, libtype=['core','common','player'], priority = [10, 20, 25] )
+       extern/LOD_decimation.h
+       intern/LOD_DecimationClass.h
+       intern/LOD_EdgeCollapser.h
+       intern/LOD_ExternBufferEditor.h
+       intern/LOD_ExternNormalEditor.h
+       intern/LOD_FaceNormalEditor.h
+       intern/LOD_ManMesh2.h
+       intern/LOD_MeshBounds.h
+       intern/LOD_MeshException.h
+       intern/LOD_MeshPrimitives.h
+       intern/LOD_QSDecimator.h
+       intern/LOD_Quadric.h
+       intern/LOD_QuadricEditor.h
+)
+
+blender_add_lib(bf_intern_decimate "${SRC}" "${INC}")