Reorganization for use with the CMake "Modules"

- Include option is currently "hacked" and needs to be fixed
- Builds on Linux, but Mac and Windows needs to be tested
- Loader script generation isn't complete
This commit is contained in:
Jacob Alexander 2011-09-28 23:25:51 -07:00
parent 0415ba2481
commit b4e1868d19
19 changed files with 2910 additions and 7 deletions

View file

@ -33,13 +33,13 @@ cmake_minimum_required( VERSION 2.8 )
# Source Defines
#
#| Sources
set( SRCS
./main.c
./print.c
./usb_keyboard_debug.c
./scan_loop.c
)
#| Sources (see setup.h for configuring in/away code blocks or other complete modules)
#| XXX Not set here in this project, see setup.cmake
#set( SRCS ./main.c )
#| Instead, include the module source selector
include( setup.cmake )
set( SRCS main.c ${SCAN_SRCS} ${MACRO_SRCS} ${USB_SRCS} ${DEBUG_SRCS} )