Updating setup.cmake files to use Module hierarchy implicitly
- Added AddModule CMake function which simplifies specifying module requirements
This commit is contained in:
parent
c9b1769608
commit
1e9f55a0bf
16 changed files with 125 additions and 349 deletions
|
@ -1,36 +1,30 @@
|
|||
###| CMake Kiibohd Controller Scan Module |###
|
||||
#
|
||||
# Written by Jacob Alexander in 2014 for the Kiibohd Controller
|
||||
# Written by Jacob Alexander in 2014-2015 for the Kiibohd Controller
|
||||
#
|
||||
# Released into the Public Domain
|
||||
#
|
||||
###
|
||||
|
||||
|
||||
###
|
||||
# Warning, that this module is not meant to be built stand-alone
|
||||
# Sub-module flag, cannot be included stand-alone
|
||||
#
|
||||
message( FATAL_ERROR
|
||||
"The 'MatrixARM' module is not a stand-alone module, and requires further setup."
|
||||
)
|
||||
set ( SubModule 1 )
|
||||
|
||||
|
||||
###
|
||||
# Module C files
|
||||
#
|
||||
|
||||
set( SCAN_SRCS
|
||||
set ( Module_SRCS
|
||||
matrix_scan.c
|
||||
)
|
||||
|
||||
|
||||
###
|
||||
# Module Specific Options
|
||||
#
|
||||
|
||||
|
||||
###
|
||||
# Compiler Family Compatibility
|
||||
#
|
||||
set( ScanModuleCompatibility
|
||||
set ( ModuleCompatibility
|
||||
arm
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue