e7b7a311f7
Introduce params parsing, pixel/format decisions, capture layout, shared YuvStimProducer per camera, and channel stimulus buffers with attach flow. Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
741 B
CMake
28 lines
741 B
CMake
add_executable(lcameraBuff_unit_tests
|
|
lcameraBuffParams_tests.cpp
|
|
pixelAndColorFormatDecisions_tests.cpp
|
|
yuvLayoutClassification_tests.cpp
|
|
)
|
|
|
|
target_include_directories(lcameraBuff_unit_tests PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${CMAKE_SOURCE_DIR}/stimBuffApis/lcameraBuff
|
|
${CMAKE_SOURCE_DIR}/commonLibs/lcameraDev
|
|
${CMAKE_SOURCE_DIR}/libspinscale/tests
|
|
${CMAKE_SOURCE_DIR}/tests/fixtures
|
|
${CMAKE_SOURCE_DIR}/include
|
|
${CMAKE_BINARY_DIR}/include
|
|
)
|
|
|
|
target_link_libraries(lcameraBuff_unit_tests
|
|
gtest_main
|
|
lcameraBuff
|
|
spinscale_test_support
|
|
${Boost_LIBRARIES}
|
|
${OPENCL_LIBRARIES}
|
|
)
|
|
|
|
add_dependencies(lcameraBuff_unit_tests gtest_main spinscale_test_support)
|
|
|
|
add_test(NAME lcameraBuff_unit_tests COMMAND lcameraBuff_unit_tests)
|