2013-02-05 23:58:07 -05:00
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
|
2013-02-06 23:44:42 -05:00
|
|
|
set(CMAKE_C_FLAGS " -Wall -Wno-unused-function -g")
|
|
|
|
|
2013-02-06 18:47:41 -05:00
|
|
|
set(CPU_SRC
|
|
|
|
CpuModule.c
|
|
|
|
CpuModule_Disassembler.c
|
|
|
|
CpuModule_EffectiveAddress.c
|
|
|
|
CpuModule_Exceptions.c
|
|
|
|
CpuModule_Flags.c
|
2013-02-06 20:36:31 -05:00
|
|
|
CpuModule_Logging.c
|
2013-02-06 18:47:41 -05:00
|
|
|
CpuModule_Instructions.c
|
2013-02-06 20:05:58 -05:00
|
|
|
CpuModule_InternalState.c
|
2013-02-06 18:47:41 -05:00
|
|
|
CpuModule_Interrupts.c
|
|
|
|
CpuModule_StackFrameGen.c
|
2013-02-06 20:05:58 -05:00
|
|
|
memory.c
|
2013-02-06 18:47:41 -05:00
|
|
|
)
|
|
|
|
|
2013-02-05 23:58:07 -05:00
|
|
|
add_library(CPU_LIB ${CPU_SRC})
|