2013-02-05 23:58:07 -05:00
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
|
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
|
|
|
)
|
|
|
|
|
|
|
|
#FILE(GLOB CPU_SRC ${CMAKE_CURRENT_SOURCE_DIR}/*.c)
|
|
|
|
|
2013-02-05 23:58:07 -05:00
|
|
|
|
|
|
|
add_library(CPU_LIB ${CPU_SRC})
|