-#| Set the Compilers
-include( CMakeForceCompiler )
-set( CMAKE_SYSTEM_NAME Generic )
-cmake_force_c_compiler ( avr-gcc AVRCCompiler )
-cmake_force_cxx_compiler( avr-g++ AVRCxxCompiler )
-
-
-#| Project
-project( kiibohd_controller )
-
-
-#| General Settings
-cmake_minimum_required( VERSION 2.8 )
-
-
-
-
-
-
-#| Sources
-set( SRCS
- ./main.c
- ./print.c
- ./usb_keyboard_debug.c
- ./scan_loop.c
-)
-
-#| Target Name
-set( TARGET kiibohd )
-
-
-
-
-
-
-
-#| Compiler flag to set the C Standard level.
-#| c89 = "ANSI" C
-#| gnu89 = c89 plus GCC extensions
-#| c99 = ISO C99 standard (not yet fully implemented)
-#| gnu99 = c99 plus GCC extensions
-set( CSTANDARD "-std=gnu99" )
-
-
-#| Warning Options
-#| -Wall...: warning level
-set( WARN "-Wall -Wstrict-prototypes" )
-
-
-#| Tuning Options
-#| -f...: tuning, see GCC manual and avr-libc documentation
-set( TUNING "-funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums" )
-
-
-#| Optimization level, can be [0, 1, 2, 3, s].
-#| 0 = turn off optimization. s = optimize for size.
-#| (Note: 3 is not always the best optimization level. See avr-libc FAQ.)
-set( OPT "s" )
-
-
-#| Output Format
-#| srec, ihex, binary
-set( FORMAT "ihex" )