1# Copyright (c) 2024 TOKITA Hiroshi
2# SPDX-License-Identifier: Apache-2.0
3
4cmake_minimum_required(VERSION 3.20.0)
5
6find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
7
8project(cfb_basic)
9
10if(CONFIG_TEST_MSB_FIRST_FONT)
11	target_sources(app PRIVATE src/testdata.c
12				   src/utils.c
13				   src/clear.c
14				   src/draw_point.c
15				   src/draw_line.c
16				   src/draw_rect.c
17				   src/draw_text_rectspace1016.c
18				   src/invert.c
19				   src/invert_area.c
20				   src/print_rectspace1016.c
21				   src/cfb_font_rectspace1016_msb.c)
22else()
23	target_sources(app PRIVATE src/testdata.c
24				   src/utils.c
25				   src/clear.c
26				   src/draw_point.c
27				   src/draw_line.c
28				   src/draw_rect.c
29				   src/draw_text_rectspace1016.c
30				   src/invert.c
31				   src/invert_area.c
32				   src/print_rectspace1016.c
33				   src/cfb_font_rectspace1016.c)
34endif()
35