view Scan/FACOM6684/setup.cmake @ 57:a70deaf77afa

Adding initial FACOM template, and buildall.bash regression script.
author Jacob Alexander <triplehaata@gmail.com>
date Mon, 14 Jan 2013 21:31:50 -0500
parents
children 8a344117d851
line wrap: on
line source

###| CMake Kiibohd Controller Scan Module |###
#
# Written by Jacob Alexander in 2013 for the Kiibohd Controller
#
# Released into the Public Domain
#
# For the Fujitsu FACOM 6684KC3 Supercomputer Terminal Keyboard (M-780, M-1800, etc.)
#
###


###
# Module C files
#

set( SCAN_SRCS
	scan_loop.c
)


###
# Module H files
#
set( SCAN_HDRS
	scan_loop.h
)


###
# File Dependency Setup
#
ADD_FILE_DEPENDENCIES( scan_loop.c ${SCAN_HDRS} )
#add_file_dependencies( scan_loop.c ${SCAN_HDRS} )
#add_file_dependencies( macro.c keymap.h facom6684.h )


###
# Module Specific Options
#
add_definitions( -I${HEAD_DIR}/Keymap )

#| Keymap Settings
add_definitions(
	-DMODIFIER_MASK=facom6684_ModifierMask
	-DKEYINDEX_MASK=facom6684_ColemakMap
	#-DKEYINDEX_MASK=facom6684_DefaultMap
)