Mercurial > louis > kiibohd-controller
annotate Debug/led/setup.cmake @ 125:8dab4014c398
Major code cleanup and preparation for PartialMap Macro Module
- Code should be working, but much is untested
- All of the old modules will need to update and use the new DefaultMap keymap
- There might still be some naming conflicts with some Scan Modules
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sun, 06 Apr 2014 11:49:27 -0700 |
parents | 8a344117d851 |
children | 5b66d1da5377 |
rev | line source |
---|---|
24
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
1 ###| CMake Kiibohd Controller Debug Module |### |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
2 # |
125
8dab4014c398
Major code cleanup and preparation for PartialMap Macro Module
Jacob Alexander <haata@kiibohd.com>
parents:
71
diff
changeset
|
3 # Written by Jacob Alexander in 2011,2014 for the Kiibohd Controller |
24
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
4 # |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
5 # Released into the Public Domain |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
6 # |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
7 ### |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
8 |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
9 |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
10 ### |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
11 # Module C files |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
12 # |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
13 |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
14 set( DEBUG_SRCS |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
15 led.c |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
16 ) |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
17 |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
18 |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
19 ### |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
20 # Module Specific Options |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
21 # |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
22 |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
23 |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
24 ### |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
25 # Just in case, you only want this module and are using others as well |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
26 # |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
27 add_definitions( -I${HEAD_DIR}/Debug/off ) |
2d65da455ef3
Formalizing code module structure and inheritance (Large Commit)
Jacob Alexander <triplehaata@gmail.com>
parents:
diff
changeset
|
28 |
71
8a344117d851
Adding module compatibility check to CMake build scripts.
Jacob Alexander <triplehaata@gmail.com>
parents:
36
diff
changeset
|
29 |
8a344117d851
Adding module compatibility check to CMake build scripts.
Jacob Alexander <triplehaata@gmail.com>
parents:
36
diff
changeset
|
30 ### |
8a344117d851
Adding module compatibility check to CMake build scripts.
Jacob Alexander <triplehaata@gmail.com>
parents:
36
diff
changeset
|
31 # Compiler Family Compatibility |
8a344117d851
Adding module compatibility check to CMake build scripts.
Jacob Alexander <triplehaata@gmail.com>
parents:
36
diff
changeset
|
32 # |
8a344117d851
Adding module compatibility check to CMake build scripts.
Jacob Alexander <triplehaata@gmail.com>
parents:
36
diff
changeset
|
33 set( DebugModuleCompatibility |
8a344117d851
Adding module compatibility check to CMake build scripts.
Jacob Alexander <triplehaata@gmail.com>
parents:
36
diff
changeset
|
34 arm |
8a344117d851
Adding module compatibility check to CMake build scripts.
Jacob Alexander <triplehaata@gmail.com>
parents:
36
diff
changeset
|
35 avr |
8a344117d851
Adding module compatibility check to CMake build scripts.
Jacob Alexander <triplehaata@gmail.com>
parents:
36
diff
changeset
|
36 ) |
8a344117d851
Adding module compatibility check to CMake build scripts.
Jacob Alexander <triplehaata@gmail.com>
parents:
36
diff
changeset
|
37 |