2013-02-06 04:58:07 +00:00
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
|
2016-08-02 21:12:15 +00:00
|
|
|
set(CMAKE_C_FLAGS "-std=c99 -Wall -Wno-unused-function -g")
|
2013-02-07 04:44:42 +00:00
|
|
|
|
2013-02-06 23:47:41 +00:00
|
|
|
set(CPU_SRC
|
|
|
|
CpuModule.c
|
|
|
|
CpuModule_Disassembler.c
|
|
|
|
CpuModule_EffectiveAddress.c
|
|
|
|
CpuModule_Exceptions.c
|
|
|
|
CpuModule_Flags.c
|
2013-02-07 01:36:31 +00:00
|
|
|
CpuModule_Logging.c
|
2013-02-06 23:47:41 +00:00
|
|
|
CpuModule_Instructions.c
|
2013-02-07 01:05:58 +00:00
|
|
|
CpuModule_InternalState.c
|
2013-02-06 23:47:41 +00:00
|
|
|
CpuModule_Interrupts.c
|
|
|
|
CpuModule_StackFrameGen.c
|
2013-02-07 01:05:58 +00:00
|
|
|
memory.c
|
2013-02-06 23:47:41 +00:00
|
|
|
)
|
|
|
|
|
2013-02-06 04:58:07 +00:00
|
|
|
add_library(CPU_LIB ${CPU_SRC})
|