Files
Faset_Engine/cmake/GpuVisibility.cmake
T
Emil 433bce08c0
Native and manual checks / native (windows-2025) (push) Waiting to run
Native and manual checks / native (ubuntu-24.04) (push) Failing after 42s
Native and manual checks / manual (push) Successful in 32s
Windows editor and software Vulkan / windows-graphics (push) Canceled after 0s
Run GPU visibility without optional draw parameters feature
2026-09-23 23:50:02 +03:00

14 lines
605 B
CMake

if(TARGET faset_render)
add_executable(faset_p2_visibility_example
"${PROJECT_SOURCE_DIR}/examples/renderer/p2_visibility.cpp")
target_link_libraries(faset_p2_visibility_example PRIVATE faset_render)
endif()
if(TARGET faset_render AND BUILD_TESTING)
add_executable(faset_render_gpu_visibility_tests
"${PROJECT_SOURCE_DIR}/tests/render_gpu_visibility_tests.cpp")
target_link_libraries(faset_render_gpu_visibility_tests PRIVATE faset_render)
add_test(NAME gpu_visibility COMMAND faset_render_gpu_visibility_tests)
set_tests_properties(gpu_visibility PROPERTIES LABELS "gpu;p2")
endif()