From eaac6cbcd9428533273091710759106131f92340 Mon Sep 17 00:00:00 2001 From: Howard Trickey Date: Thu, 19 Jun 2014 11:49:09 -0400 Subject: Add a bmesh_core_test, a start at testing bmesh functionality. Needed to make the blender link libraries a global property now that tests are parallel to source directory. Current sort order for blender link libraries doesn't work for tests that start with few defined symbols. Doubling the lib list works, but a TODO to find a better way (probably using CMake's own mechanism for tracking dependencies). --- build_files/cmake/macros.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build_files/cmake') diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index f8720f0761d..c6caef4d3d1 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -645,6 +645,9 @@ macro(SETUP_BLENDER_SORTED_LIBS) unset(SORTLIB) unset(REMLIB) unset(REM_MSG) + + # for top-level tests + set_property(GLOBAL PROPERTY BLENDER_SORTED_LIBS_PROP ${BLENDER_SORTED_LIBS}) endmacro() macro(TEST_SSE_SUPPORT -- cgit v1.2.3