diff options
author | Brecht Van Lommel <brecht> | 2020-09-15 12:16:35 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-09-17 13:29:19 +0300 |
commit | 532ac1163ceea857df0f3f144de0dde837712bbe (patch) | |
tree | b07605683f3a3bb745f76043cd81b6db888c5f31 /source/blender/blenlib/CMakeLists.txt | |
parent | f9fcb25d521d11b425e1071a95ed342d9ddbef97 (diff) |
Tests: bundle tests for some modules in their own executables
The ffmpeg, guardedalloc and blenlib are quite isolated and putting them in
their own executable separate from blender_test is faster for development than
linking the entire blender_tests executable.
For Cycles, this also bundles all the unit tests into one executable.
Ref T79958
Differential Revision: https://developer.blender.org/D8714
Diffstat (limited to 'source/blender/blenlib/CMakeLists.txt')
-rw-r--r-- | source/blender/blenlib/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt index e01459ac80e..b8de1e41d78 100644 --- a/source/blender/blenlib/CMakeLists.txt +++ b/source/blender/blenlib/CMakeLists.txt @@ -304,6 +304,7 @@ set(LIB extern_wcwidth ${FREETYPE_LIBRARY} + ${ZLIB_LIBRARIES} ) if(WITH_MEM_VALGRIND) @@ -431,7 +432,7 @@ if(WITH_GTESTS) bf_blenlib ) include(GTestTesting) - blender_add_test_lib(bf_blenlib_tests "${TEST_SRC}" "${INC};${TEST_INC}" "${INC_SYS}" "${LIB};${TEST_LIB}") + blender_add_test_executable(blenlib "${TEST_SRC}" "${INC};${TEST_INC}" "${INC_SYS}" "${LIB};${TEST_LIB}") add_subdirectory(tests/performance) endif() |