Mercurial > louis > kiibohd-controller
view Scan/HeathZenith/setup.cmake @ 71:8a344117d851
Adding module compatibility check to CMake build scripts.
- All modules have a default avr compatibilty right now (since that is what they were developed on)
- As modules get tested and added, arm support has to be turned on in the respective setup.cmake file
author | Jacob Alexander <triplehaata@gmail.com> |
---|---|
date | Wed, 30 Jan 2013 18:13:49 -0500 |
parents | a004d4015fbb |
children | 8dab4014c398 |
line wrap: on
line source
###| CMake Kiibohd Controller Scan Module |### # # Written by Jacob Alexander in 2011 for the Kiibohd Controller # # Released into the Public Domain # ### ### # Module C files # #| XXX Requires the ../ due to how the paths are constructed set( SCAN_SRCS ../matrix/matrix_scan.c ../matrix/scan_loop.c ) ### # Module Specific Options # add_definitions( -I${HEAD_DIR}/Keymap ) add_definitions( -I${HEAD_DIR}/Scan/matrix ) #| Keymap Settings add_definitions( -DMODIFIER_MASK=heathzenith_ModifierMask -DKEYINDEX_MASK=heathzenith_DefaultMap #-DKEYINDEX_MASK=heathzenith_ColemakMap ) ### # Compiler Family Compatibility # set( ScanModuleCompatibility avr )