Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/CMakeLists.txt
| Show First 20 Lines • Show All 379 Lines • ▼ Show 20 Lines | |||||
| add_definitions(${GL_DEFINITIONS}) | add_definitions(${GL_DEFINITIONS}) | ||||
| if(WITH_IMAGE_DDS) | if(WITH_IMAGE_DDS) | ||||
| add_definitions(-DWITH_DDS) | add_definitions(-DWITH_DDS) | ||||
| endif() | endif() | ||||
| blender_add_lib(bf_gpu "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | blender_add_lib(bf_gpu "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | ||||
| if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") | |||||
| target_compile_options(bf_gpu PRIVATE $<$<COMPILE_LANGUAGE:CXX>:-Wsuggest-override>) | |||||
| endif() | |||||
| if(WITH_GTESTS) | if(WITH_GTESTS) | ||||
| if(WITH_OPENGL_DRAW_TESTS) | if(WITH_OPENGL_DRAW_TESTS) | ||||
| set(TEST_SRC | set(TEST_SRC | ||||
| tests/gpu_testing.cc | tests/gpu_testing.cc | ||||
| tests/gpu_shader_test.cc | tests/gpu_shader_test.cc | ||||
| tests/gpu_testing.hh | tests/gpu_testing.hh | ||||
| ) | ) | ||||
| Show All 10 Lines | |||||