mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-08-04 00:10:42 -04:00
9 lines
382 B
CMake
9 lines
382 B
CMake
message(STATUS "Custom Matrix: ${CUSTOM_MATRIX}")
|
|
set(CUSTOM_MATRIX "no" CACHE STRING "Custom matrix-scanning")
|
|
set_property(CACHE CUSTOM_MATRIX PROPERTY STRINGS yes lite no)
|
|
if(NOT ${CUSTOM_MATRIX} STREQUAL yes)
|
|
target_sources(qmk PUBLIC quantum/matrix_common.c)
|
|
if(NOT ${CUSTOM_MATRIX} STREQUAL lite)
|
|
target_sources(qmk PUBLIC quantum/matrix.c)
|
|
endif()
|
|
endif() |