Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/CMakeLists.txt
| Show First 20 Lines • Show All 629 Lines • ▼ Show 20 Lines | |||||
| blender_add_lib(bf_compositor "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | blender_add_lib(bf_compositor "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | ||||
| if(CXX_WARN_NO_SUGGEST_OVERRIDE) | if(CXX_WARN_NO_SUGGEST_OVERRIDE) | ||||
| target_compile_options(bf_compositor PRIVATE "-Wsuggest-override") | target_compile_options(bf_compositor PRIVATE "-Wsuggest-override") | ||||
| endif() | endif() | ||||
| add_dependencies(bf_compositor smaa_areatex_header) | add_dependencies(bf_compositor smaa_areatex_header) | ||||
| if(WITH_GTESTS) | |||||
| set(TEST_SRC | |||||
| tests/COM_BufferArea_test.cc | |||||
| tests/COM_BufferRange_test.cc | |||||
| tests/COM_BuffersIterator_test.cc | |||||
| ) | |||||
| set(TEST_INC | |||||
| ) | |||||
| set(TEST_LIB | |||||
| bf_compositor | |||||
| ) | |||||
| include(GTestTesting) | |||||
| blender_add_test_lib(bf_compositor_tests "${TEST_SRC}" "${INC};${TEST_INC}" "${INC_SYS}" "${LIB};${TEST_LIB}") | |||||
| endif() | |||||