2016-11-11 16:58:06 +00:00
|
|
|
if (MSVC)
|
|
|
|
else()
|
2016-09-01 00:38:31 +00:00
|
|
|
add_compile_options(-g -Wall -Wno-unused-function)
|
2016-11-11 16:58:06 +00:00
|
|
|
endif()
|
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})
|