Files
uC_libs/test/oled/CMakeLists.txt
bartool 55f54a2d4a Complete init sh1106
update cmkae file for test
2022-06-18 11:22:32 +02:00

24 lines
434 B
CMake

cmake_minimum_required(VERSION 3.10)
set(TEST_NAME oled)
set(INCLUDE_DIRS
../../oled
../../oled/ssd1306
../../oled/sh1106
helpers/inc
)
set(SRCS
../../oled/oled.c
../../oled/connection.c
../../oled/ssd1306/ssd1306.c
../../oled/sh1106/sh1106.c
helpers/src/mock_i2c.c
)
add_definitions(-DTEST)
add_executable(${TEST_NAME} ${SRCS})
target_include_directories(${TEST_NAME} PUBLIC ${INCLUDE_DIRS})