2008-04-16 22:40:48 +00:00
|
|
|
# ***** BEGIN GPL LICENSE BLOCK *****
|
2006-11-17 02:27:12 +00:00
|
|
|
#
|
|
|
|
# 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
|
2008-04-16 22:40:48 +00:00
|
|
|
# of the License, or (at your option) any later version.
|
2006-11-17 02:27:12 +00:00
|
|
|
#
|
|
|
|
# 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,
|
2010-02-12 13:34:04 +00:00
|
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2006-11-17 02:27:12 +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 Beaurain.
|
|
|
|
#
|
2008-04-16 22:40:48 +00:00
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
2006-11-17 02:27:12 +00:00
|
|
|
|
2013-08-17 05:33:55 +00:00
|
|
|
set(INC
|
2010-09-06 10:15:41 +00:00
|
|
|
.
|
2012-12-15 15:59:25 +00:00
|
|
|
# ../blenkernel # dont add this back!
|
2011-07-17 09:11:13 +00:00
|
|
|
../makesdna
|
2010-09-06 10:15:41 +00:00
|
|
|
../../../intern/guardedalloc
|
2014-12-02 15:23:58 +05:00
|
|
|
../../../intern/atomic
|
2015-12-10 01:18:01 +01:00
|
|
|
../../../intern/eigen
|
2013-03-12 07:25:53 +00:00
|
|
|
../../../extern/wcwidth
|
2011-05-31 01:15:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(INC_SYS
|
2011-01-25 14:43:13 +00:00
|
|
|
${ZLIB_INCLUDE_DIRS}
|
2009-09-06 01:51:23 +00:00
|
|
|
${FREETYPE_INCLUDE_DIRS}
|
2006-11-17 02:27:12 +00:00
|
|
|
)
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
set(SRC
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/BLI_args.c
|
2013-01-19 07:35:55 +00:00
|
|
|
intern/BLI_array.c
|
2018-02-18 21:27:33 +11:00
|
|
|
intern/BLI_dial_2d.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/BLI_dynstr.c
|
2015-04-04 17:15:33 +11:00
|
|
|
intern/BLI_filelist.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/BLI_ghash.c
|
2018-02-18 21:44:56 +11:00
|
|
|
intern/BLI_ghash_utils.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/BLI_heap.c
|
|
|
|
intern/BLI_kdopbvh.c
|
|
|
|
intern/BLI_kdtree.c
|
|
|
|
intern/BLI_linklist.c
|
|
|
|
intern/BLI_memarena.c
|
|
|
|
intern/BLI_mempool.c
|
|
|
|
intern/DLRB_tree.c
|
2016-05-30 15:25:36 +10:00
|
|
|
intern/array_store.c
|
2016-06-08 18:34:01 +10:00
|
|
|
intern/array_store_utils.c
|
2015-02-14 07:28:15 +11:00
|
|
|
intern/array_utils.c
|
2015-01-09 10:56:17 +01:00
|
|
|
intern/astar.c
|
2016-10-26 20:11:09 +11:00
|
|
|
intern/bitmap_draw_2d.c
|
2018-02-18 21:27:33 +11:00
|
|
|
intern/boxpack_2d.c
|
2012-12-30 18:28:10 +00:00
|
|
|
intern/buffer.c
|
2011-06-24 16:54:30 +00:00
|
|
|
intern/callbacks.c
|
2018-02-18 21:27:33 +11:00
|
|
|
intern/convexhull_2d.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/dynlib.c
|
2014-03-25 08:00:51 +11:00
|
|
|
intern/easing.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/edgehash.c
|
2012-09-03 07:37:38 +00:00
|
|
|
intern/endian_switch.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/fileops.c
|
|
|
|
intern/fnmatch.c
|
|
|
|
intern/freetypefont.c
|
|
|
|
intern/graph.c
|
|
|
|
intern/gsqueue.c
|
2014-11-14 11:00:10 +01:00
|
|
|
intern/hash_md5.c
|
|
|
|
intern/hash_mm2a.c
|
2018-02-18 21:27:33 +11:00
|
|
|
intern/jitter_2d.c
|
|
|
|
intern/lasso_2d.c
|
2015-06-11 15:13:06 +10:00
|
|
|
intern/list_sort_impl.h
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/listbase.c
|
|
|
|
intern/math_base.c
|
|
|
|
intern/math_base_inline.c
|
2015-04-22 04:10:15 +10:00
|
|
|
intern/math_bits_inline.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/math_color.c
|
2013-04-27 12:51:23 +00:00
|
|
|
intern/math_color_blend_inline.c
|
2011-12-28 22:57:25 +00:00
|
|
|
intern/math_color_inline.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/math_geom.c
|
|
|
|
intern/math_geom_inline.c
|
2012-11-10 19:11:25 +00:00
|
|
|
intern/math_interp.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/math_matrix.c
|
|
|
|
intern/math_rotation.c
|
2015-07-13 17:48:13 +02:00
|
|
|
intern/math_solvers.c
|
2015-07-13 17:53:22 +02:00
|
|
|
intern/math_statistics.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/math_vector.c
|
|
|
|
intern/math_vector_inline.c
|
2015-10-20 14:39:08 +02:00
|
|
|
intern/memory_utils.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/noise.c
|
|
|
|
intern/path_util.c
|
2018-02-18 21:27:33 +11:00
|
|
|
intern/polyfill_2d.c
|
|
|
|
intern/polyfill_2d_beautify.c
|
2012-10-19 07:20:37 +00:00
|
|
|
intern/quadric.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/rand.c
|
|
|
|
intern/rct.c
|
|
|
|
intern/scanfill.c
|
2014-02-13 19:09:28 +11:00
|
|
|
intern/scanfill_utils.c
|
2011-09-09 02:52:20 +00:00
|
|
|
intern/smallhash.c
|
2013-08-19 10:40:47 +00:00
|
|
|
intern/sort.c
|
2013-09-05 22:24:12 +00:00
|
|
|
intern/sort_utils.c
|
2012-08-05 23:29:43 +00:00
|
|
|
intern/stack.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/storage.c
|
|
|
|
intern/string.c
|
2012-03-07 15:55:12 +00:00
|
|
|
intern/string_cursor_utf8.c
|
2011-09-15 08:07:42 +00:00
|
|
|
intern/string_utf8.c
|
2017-01-16 17:33:34 +01:00
|
|
|
intern/string_utils.c
|
2014-04-02 11:43:54 +02:00
|
|
|
intern/system.c
|
2013-10-12 14:08:59 +00:00
|
|
|
intern/task.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/threads.c
|
|
|
|
intern/time.c
|
2014-01-29 20:01:30 +11:00
|
|
|
intern/timecode.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/uvproject.c
|
2018-02-18 21:27:33 +11:00
|
|
|
intern/voronoi_2d.c
|
2012-10-19 07:20:37 +00:00
|
|
|
intern/voxel.c
|
2010-10-23 04:05:55 +00:00
|
|
|
intern/winstuff.c
|
2014-01-15 08:38:00 +11:00
|
|
|
intern/winstuff_dir.c
|
2010-11-29 04:35:56 +00:00
|
|
|
|
2013-07-28 10:38:25 +00:00
|
|
|
BLI_alloca.h
|
2013-09-05 19:56:49 +00:00
|
|
|
BLI_args.h
|
2011-05-09 04:06:48 +00:00
|
|
|
BLI_array.h
|
2016-05-30 15:25:36 +10:00
|
|
|
BLI_array_store.h
|
2016-06-08 18:34:01 +10:00
|
|
|
BLI_array_store_utils.h
|
2015-02-14 07:28:15 +11:00
|
|
|
BLI_array_utils.h
|
2015-01-09 10:56:17 +01:00
|
|
|
BLI_astar.h
|
2012-02-22 23:57:31 +00:00
|
|
|
BLI_bitmap.h
|
2016-10-26 20:11:09 +11:00
|
|
|
BLI_bitmap_draw_2d.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_blenlib.h
|
2018-02-18 21:27:33 +11:00
|
|
|
BLI_boxpack_2d.h
|
2013-09-05 19:56:49 +00:00
|
|
|
BLI_buffer.h
|
2011-06-24 15:10:34 +00:00
|
|
|
BLI_callbacks.h
|
2013-09-05 19:56:49 +00:00
|
|
|
BLI_compiler_attrs.h
|
2014-05-02 01:14:15 +10:00
|
|
|
BLI_compiler_compat.h
|
2014-09-25 13:05:42 +10:00
|
|
|
BLI_compiler_typecheck.h
|
2018-03-16 12:16:29 +01:00
|
|
|
BLI_console.h
|
2018-02-18 21:27:33 +11:00
|
|
|
BLI_convexhull_2d.h
|
|
|
|
BLI_dial_2d.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_dlrbTree.h
|
2011-05-06 15:17:42 +00:00
|
|
|
BLI_dynlib.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_dynstr.h
|
2014-03-25 08:00:51 +11:00
|
|
|
BLI_easing.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_edgehash.h
|
2012-09-03 07:37:38 +00:00
|
|
|
BLI_endian_switch.h
|
|
|
|
BLI_endian_switch_inline.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_fileops.h
|
2011-10-22 15:35:49 +00:00
|
|
|
BLI_fileops_types.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_fnmatch.h
|
|
|
|
BLI_ghash.h
|
|
|
|
BLI_graph.h
|
|
|
|
BLI_gsqueue.h
|
2017-04-19 00:25:31 +10:00
|
|
|
BLI_hash.h
|
2014-11-14 11:00:10 +01:00
|
|
|
BLI_hash_md5.h
|
|
|
|
BLI_hash_mm2a.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_heap.h
|
2018-02-18 21:27:33 +11:00
|
|
|
BLI_jitter_2d.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_kdopbvh.h
|
|
|
|
BLI_kdtree.h
|
2018-02-18 21:27:33 +11:00
|
|
|
BLI_lasso_2d.h
|
2014-04-18 20:32:50 +10:00
|
|
|
BLI_link_utils.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_linklist.h
|
2013-08-17 05:33:55 +00:00
|
|
|
BLI_linklist_stack.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_listbase.h
|
|
|
|
BLI_math.h
|
|
|
|
BLI_math_base.h
|
2015-05-17 16:09:15 +10:00
|
|
|
BLI_math_bits.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_math_color.h
|
2013-04-27 12:51:23 +00:00
|
|
|
BLI_math_color_blend.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_math_geom.h
|
|
|
|
BLI_math_inline.h
|
2012-12-04 14:43:42 +00:00
|
|
|
BLI_math_interp.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_math_matrix.h
|
|
|
|
BLI_math_rotation.h
|
2015-07-13 17:48:13 +02:00
|
|
|
BLI_math_solvers.h
|
2015-07-13 17:53:22 +02:00
|
|
|
BLI_math_statistics.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_math_vector.h
|
|
|
|
BLI_memarena.h
|
2015-10-20 14:39:08 +02:00
|
|
|
BLI_memory_utils.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_mempool.h
|
|
|
|
BLI_noise.h
|
|
|
|
BLI_path_util.h
|
2018-02-18 21:27:33 +11:00
|
|
|
BLI_polyfill_2d.h
|
|
|
|
BLI_polyfill_2d_beautify.h
|
2012-10-19 07:20:37 +00:00
|
|
|
BLI_quadric.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_rand.h
|
|
|
|
BLI_rect.h
|
|
|
|
BLI_scanfill.h
|
2012-04-27 07:26:28 +00:00
|
|
|
BLI_smallhash.h
|
2013-08-19 10:40:47 +00:00
|
|
|
BLI_sort.h
|
2013-09-05 22:24:12 +00:00
|
|
|
BLI_sort_utils.h
|
2012-08-05 23:29:43 +00:00
|
|
|
BLI_stack.h
|
2013-09-05 19:56:49 +00:00
|
|
|
BLI_strict_flags.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_string.h
|
2012-03-07 15:55:12 +00:00
|
|
|
BLI_string_cursor_utf8.h
|
2011-10-20 09:47:05 +00:00
|
|
|
BLI_string_utf8.h
|
2017-01-16 17:33:34 +01:00
|
|
|
BLI_string_utils.h
|
2013-05-28 19:35:26 +00:00
|
|
|
BLI_sys_types.h
|
2014-04-02 11:43:54 +02:00
|
|
|
BLI_system.h
|
2013-10-12 14:08:59 +00:00
|
|
|
BLI_task.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_threads.h
|
2014-01-29 20:01:30 +11:00
|
|
|
BLI_timecode.h
|
2011-01-07 18:36:47 +00:00
|
|
|
BLI_utildefines.h
|
2017-09-19 20:25:20 +10:00
|
|
|
BLI_utildefines_iter.h
|
|
|
|
BLI_utildefines_stack.h
|
|
|
|
BLI_utildefines_variadic.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_uvproject.h
|
|
|
|
BLI_vfontdata.h
|
2018-02-18 21:27:33 +11:00
|
|
|
BLI_voronoi_2d.h
|
2010-11-29 04:35:56 +00:00
|
|
|
BLI_voxel.h
|
|
|
|
BLI_winstuff.h
|
|
|
|
PIL_time.h
|
2013-09-03 21:22:43 +00:00
|
|
|
PIL_time_utildefines.h
|
2008-01-22 05:34:53 +00:00
|
|
|
)
|
|
|
|
|
2013-10-03 12:22:44 +00:00
|
|
|
if(WITH_MEM_VALGRIND)
|
|
|
|
add_definitions(-DWITH_MEM_VALGRIND)
|
|
|
|
endif()
|
|
|
|
|
2012-03-20 02:17:37 +00:00
|
|
|
if(WIN32)
|
|
|
|
list(APPEND INC
|
|
|
|
../../../intern/utfconv
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2015-04-04 10:37:00 +11:00
|
|
|
# no need to compile object files for inline headers.
|
|
|
|
set_source_files_properties(
|
|
|
|
intern/math_base_inline.c
|
2015-04-22 04:10:15 +10:00
|
|
|
intern/math_bits_inline.c
|
2015-04-04 10:37:00 +11:00
|
|
|
intern/math_color_blend_inline.c
|
|
|
|
intern/math_color_inline.c
|
|
|
|
intern/math_geom_inline.c
|
|
|
|
intern/math_vector_inline.c
|
|
|
|
PROPERTIES HEADER_FILE_ONLY TRUE
|
|
|
|
)
|
2012-11-23 15:12:13 +00:00
|
|
|
|
2015-04-04 10:37:00 +11:00
|
|
|
blender_add_lib(bf_blenlib "${SRC}" "${INC}" "${INC_SYS}")
|