[ion/keyboard] Do not define constexpr arrays in headers

They are duplicated in each compilation unit where they are called
This commit is contained in:
Léa Saviot
2020-10-13 09:54:41 +02:00
committed by Émilie Feral
parent 697f727429
commit ad80c2c4d7
4 changed files with 32 additions and 26 deletions

View File

@@ -10,6 +10,8 @@ ifndef ION_KEYBOARD_LAYOUT
$(error platform.mak should define ION_KEYBOARD_LAYOUT)
endif
SFLAGS += -Iion/include/ion/keyboard/$(ION_KEYBOARD_LAYOUT)
SFLAGS += -Iion/include/ion/keyboard/
ion_src += ion/src/shared/keyboard/$(ION_KEYBOARD_LAYOUT)/layout_events.cpp
include ion/src/$(PLATFORM)/Makefile
-include ion/test/$(PLATFORM)/Makefile