Files
uC_libs/test/oled/CMakeLists.txt
bartool d0b533daf9 added gfx (empty test)
working on gfx module
added a few draw function
gfx still wip
added tamplate for test
2022-06-19 19:46:17 +02:00

25 lines
460 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
oled_test.c
)
add_definitions(-DTEST)
add_executable(${TEST_NAME} ${SRCS})
target_include_directories(${TEST_NAME} PUBLIC ${INCLUDE_DIRS})