2012-01-16 16:46:00 +00:00
|
|
|
# ***** BEGIN GPL LICENSE BLOCK *****
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software Foundation,
|
2012-02-11 04:05:00 +00:00
|
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2012-01-16 16:46:00 +00:00
|
|
|
#
|
|
|
|
# The Original Code is Copyright (C) 2006, Blender Foundation
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# The Original Code is: all of this file.
|
|
|
|
#
|
|
|
|
# Contributor(s): Jacques Beaurai, Erwin Coumans
|
|
|
|
#
|
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
|
|
|
|
|
|
|
# NOTE: This file is automatically generated by bundle.sh script
|
|
|
|
# If you're doing changes in this file, please update template
|
|
|
|
# in that script too
|
|
|
|
|
|
|
|
set(INC
|
|
|
|
include
|
|
|
|
)
|
|
|
|
|
|
|
|
set(INC_SYS
|
|
|
|
)
|
|
|
|
|
|
|
|
set(SRC
|
2012-03-12 21:18:28 +00:00
|
|
|
lib/aabb.cpp
|
|
|
|
lib/carve.cpp
|
2012-05-10 11:00:02 +00:00
|
|
|
lib/convex_hull.cpp
|
|
|
|
lib/csg_collector.cpp
|
2012-01-16 16:46:00 +00:00
|
|
|
lib/csg.cpp
|
2012-05-10 11:00:02 +00:00
|
|
|
lib/edge.cpp
|
2012-01-16 16:46:00 +00:00
|
|
|
lib/face.cpp
|
2012-05-10 11:00:02 +00:00
|
|
|
lib/geom2d.cpp
|
|
|
|
lib/geom3d.cpp
|
|
|
|
lib/intersect_classify_edge.cpp
|
|
|
|
lib/intersect_classify_group.cpp
|
|
|
|
lib/intersect.cpp
|
2012-01-16 16:46:00 +00:00
|
|
|
lib/intersect_debug.cpp
|
2012-05-10 11:00:02 +00:00
|
|
|
lib/intersect_face_division.cpp
|
|
|
|
lib/intersect_group.cpp
|
|
|
|
lib/intersect_half_classify_group.cpp
|
|
|
|
lib/intersection.cpp
|
|
|
|
lib/math.cpp
|
|
|
|
lib/mesh.cpp
|
2012-03-12 21:18:28 +00:00
|
|
|
lib/octree.cpp
|
2012-05-10 11:00:02 +00:00
|
|
|
lib/pointset.cpp
|
|
|
|
lib/polyhedron.cpp
|
|
|
|
lib/polyline.cpp
|
|
|
|
lib/tag.cpp
|
|
|
|
lib/timing.cpp
|
|
|
|
lib/triangulator.cpp
|
2012-01-16 16:46:00 +00:00
|
|
|
|
|
|
|
lib/csg_collector.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
lib/csg_data.hpp
|
2012-01-16 16:46:00 +00:00
|
|
|
lib/csg_detail.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
lib/intersect_classify_common.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
lib/intersect_classify_common_impl.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
lib/intersect_common.hpp
|
|
|
|
lib/intersect_debug.hpp
|
2012-01-16 16:46:00 +00:00
|
|
|
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/aabb.hpp
|
2012-01-16 16:46:00 +00:00
|
|
|
include/carve/aabb_impl.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/carve.hpp
|
|
|
|
include/carve/cbrt.h
|
|
|
|
include/carve/classification.hpp
|
|
|
|
include/carve/collection.hpp
|
|
|
|
include/carve/collection_types.hpp
|
|
|
|
include/carve/collection/unordered/boost_impl.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
include/carve/collection/unordered/fallback_impl.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/collection/unordered.hpp
|
|
|
|
include/carve/collection/unordered/libstdcpp_impl.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
include/carve/collection/unordered/std_impl.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/collection/unordered/tr1_impl.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
include/carve/collection/unordered/vcpp_impl.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/colour.hpp
|
2012-01-16 16:46:00 +00:00
|
|
|
include/carve/convex_hull.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/csg.hpp
|
|
|
|
include/carve/csg_triangulator.hpp
|
|
|
|
include/carve/debug_hooks.hpp
|
|
|
|
include/carve/djset.hpp
|
|
|
|
include/carve/edge_decl.hpp
|
2012-01-16 16:46:00 +00:00
|
|
|
include/carve/edge_impl.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/exact.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
include/carve/face_decl.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/face_impl.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
include/carve/faceloop.hpp
|
|
|
|
include/carve/geom2d.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/geom3d.hpp
|
|
|
|
include/carve/geom.hpp
|
|
|
|
include/carve/geom_impl.hpp
|
|
|
|
include/carve/gnu_cxx.h
|
|
|
|
include/carve/heap.hpp
|
|
|
|
include/carve/input.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
include/carve/interpolator.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/intersection.hpp
|
|
|
|
include/carve/iobj.hpp
|
|
|
|
include/carve/kd_node.hpp
|
|
|
|
include/carve/math_constants.hpp
|
|
|
|
include/carve/math.hpp
|
|
|
|
include/carve/matrix.hpp
|
|
|
|
include/carve/mesh.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
include/carve/mesh_impl.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/mesh_ops.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
include/carve/mesh_simplify.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/octree_decl.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
include/carve/octree_impl.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/pointset_decl.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
include/carve/pointset.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/pointset_impl.hpp
|
|
|
|
include/carve/pointset_iter.hpp
|
|
|
|
include/carve/poly_decl.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
include/carve/polyhedron_base.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/polyhedron_decl.hpp
|
2012-03-12 21:18:28 +00:00
|
|
|
include/carve/polyhedron_impl.hpp
|
|
|
|
include/carve/poly.hpp
|
|
|
|
include/carve/poly_impl.hpp
|
2012-05-10 11:00:02 +00:00
|
|
|
include/carve/polyline_decl.hpp
|
|
|
|
include/carve/polyline.hpp
|
|
|
|
include/carve/polyline_impl.hpp
|
|
|
|
include/carve/polyline_iter.hpp
|
|
|
|
include/carve/rescale.hpp
|
|
|
|
include/carve/rtree.hpp
|
|
|
|
include/carve/spacetree.hpp
|
|
|
|
include/carve/tag.hpp
|
|
|
|
include/carve/timing.hpp
|
|
|
|
include/carve/tree.hpp
|
|
|
|
include/carve/triangulator.hpp
|
|
|
|
include/carve/triangulator_impl.hpp
|
|
|
|
include/carve/util.hpp
|
|
|
|
include/carve/vcpp_config.h
|
|
|
|
include/carve/vector.hpp
|
|
|
|
include/carve/vertex_decl.hpp
|
|
|
|
include/carve/vertex_impl.hpp
|
|
|
|
include/carve/win32.h
|
2012-01-16 16:46:00 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
if(WITH_BOOST)
|
|
|
|
if(NOT MSVC)
|
|
|
|
# Boost is setting as preferred collections library in the Carve code when using MSVC compiler
|
|
|
|
add_definitions(
|
|
|
|
-DHAVE_BOOST_UNORDERED_COLLECTIONS
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-DCARVE_SYSTEM_BOOST
|
|
|
|
)
|
|
|
|
|
|
|
|
list(APPEND INC
|
|
|
|
${BOOST_INCLUDE_DIR}
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
blender_add_lib(extern_carve "${SRC}" "${INC}" "${INC_SYS}")
|