diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2014-06-19 19:49:09 +0400 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2014-06-19 19:53:55 +0400 |
commit | eaac6cbcd9428533273091710759106131f92340 (patch) | |
tree | 0f1fb45c5ac236c9fa57c01f3db50b635c7d007e /build_files/cmake/macros.cmake | |
parent | 179e7eaf394481c10b66b4db762e8189aa5a0a2a (diff) |
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).
Diffstat (limited to 'build_files/cmake/macros.cmake')
-rw-r--r-- | build_files/cmake/macros.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
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 |