2014-06-18 22:49:17 +10: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,
|
|
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
#
|
|
|
|
# The Original Code is Copyright (C) 2014, Blender Foundation
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s): Sergey Sharybin
|
|
|
|
#
|
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
|
|
|
|
|
|
|
set(INC
|
|
|
|
.
|
2014-06-28 22:53:43 +10:00
|
|
|
..
|
2014-06-18 22:49:17 +10:00
|
|
|
../../../source/blender/blenlib
|
2014-08-05 10:33:24 -04:00
|
|
|
../../../source/blender/makesdna
|
2014-06-18 22:49:17 +10:00
|
|
|
../../../intern/guardedalloc
|
2017-11-23 21:14:43 +01:00
|
|
|
../../../intern/atomic
|
2014-06-18 22:49:17 +10:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(${INC})
|
|
|
|
|
|
|
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${PLATFORM_LINKFLAGS}")
|
|
|
|
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} ${PLATFORM_LINKFLAGS_DEBUG}")
|
|
|
|
|
2017-08-27 15:19:25 +10:00
|
|
|
if(WIN32)
|
|
|
|
set(BLI_path_util_extra_libs "bf_blenlib;bf_intern_utfconv;extern_wcwidth;${ZLIB_LIBRARIES}")
|
|
|
|
else()
|
|
|
|
set(BLI_path_util_extra_libs "bf_blenlib;extern_wcwidth;${ZLIB_LIBRARIES}")
|
|
|
|
endif()
|
2014-06-18 22:49:17 +10:00
|
|
|
|
2016-05-30 15:27:10 +10:00
|
|
|
BLENDER_TEST(BLI_array_store "bf_blenlib")
|
2016-01-19 07:15:27 +11:00
|
|
|
BLENDER_TEST(BLI_array_utils "bf_blenlib")
|
2017-08-27 15:19:25 +10:00
|
|
|
BLENDER_TEST(BLI_ghash "bf_blenlib")
|
|
|
|
BLENDER_TEST(BLI_hash_mm2a "bf_blenlib")
|
2017-10-29 00:40:40 +11:00
|
|
|
BLENDER_TEST(BLI_heap "bf_blenlib")
|
2017-08-27 15:19:25 +10:00
|
|
|
BLENDER_TEST(BLI_kdopbvh "bf_blenlib")
|
|
|
|
BLENDER_TEST(BLI_listbase "bf_blenlib")
|
2015-07-10 14:32:35 +02:00
|
|
|
BLENDER_TEST(BLI_math_base "bf_blenlib")
|
2017-08-27 15:19:25 +10:00
|
|
|
BLENDER_TEST(BLI_math_color "bf_blenlib")
|
|
|
|
BLENDER_TEST(BLI_math_geom "bf_blenlib")
|
|
|
|
BLENDER_TEST(BLI_path_util "${BLI_path_util_extra_libs}")
|
|
|
|
BLENDER_TEST(BLI_polyfill2d "bf_blenlib")
|
|
|
|
BLENDER_TEST(BLI_stack "bf_blenlib")
|
2014-07-04 14:14:06 +02:00
|
|
|
BLENDER_TEST(BLI_string "bf_blenlib")
|
2016-12-31 16:06:51 +01:00
|
|
|
BLENDER_TEST(BLI_string_utf8 "bf_blenlib")
|
2017-11-23 21:14:43 +01:00
|
|
|
BLENDER_TEST(BLI_task "bf_blenlib")
|
2015-03-19 18:06:15 +01:00
|
|
|
|
2015-06-29 20:26:58 +02:00
|
|
|
BLENDER_TEST_PERFORMANCE(BLI_ghash_performance "bf_blenlib")
|
2017-08-27 15:19:25 +10:00
|
|
|
|
|
|
|
unset(BLI_path_util_extra_libs)
|