34 lines
988 B
CMake
34 lines
988 B
CMake
cmake_minimum_required(VERSION 3.15)
|
|
|
|
project(XCEngine_RenderingTests)
|
|
|
|
add_subdirectory(unit)
|
|
add_subdirectory(integration)
|
|
|
|
add_custom_target(rendering_unit_test_targets
|
|
DEPENDS
|
|
rendering_unit_tests
|
|
)
|
|
|
|
add_custom_target(rendering_integration_tests
|
|
DEPENDS
|
|
rendering_integration_textured_quad_scene
|
|
rendering_integration_unlit_scene
|
|
rendering_integration_object_id_scene
|
|
rendering_integration_directional_shadow_scene
|
|
rendering_integration_backpack_scene
|
|
rendering_integration_backpack_lit_scene
|
|
rendering_integration_camera_stack_scene
|
|
rendering_integration_transparent_material_scene
|
|
rendering_integration_cull_material_scene
|
|
rendering_integration_depth_sort_scene
|
|
rendering_integration_material_state_scene
|
|
rendering_integration_offscreen_scene
|
|
)
|
|
|
|
add_custom_target(rendering_all_tests
|
|
DEPENDS
|
|
rendering_unit_test_targets
|
|
rendering_integration_tests
|
|
)
|