matrix.cmake 382 B

123456789
  1. message(STATUS "Custom Matrix: ${CUSTOM_MATRIX}")
  2. set(CUSTOM_MATRIX "no" CACHE STRING "Custom matrix-scanning")
  3. set_property(CACHE CUSTOM_MATRIX PROPERTY STRINGS yes lite no)
  4. if(NOT ${CUSTOM_MATRIX} STREQUAL yes)
  5. target_sources(qmk PUBLIC quantum/matrix_common.c)
  6. if(NOT ${CUSTOM_MATRIX} STREQUAL lite)
  7. target_sources(qmk PUBLIC quantum/matrix.c)
  8. endif()
  9. endif()