mpw/cpu/CMakeLists.txt
2016-11-11 11:58:28 -05:00

21 lines
376 B
CMake

if (MSVC)
else()
add_compile_options(-g -Wall -Wno-unused-function)
endif()
set(CPU_SRC
CpuModule.c
CpuModule_Disassembler.c
CpuModule_EffectiveAddress.c
CpuModule_Exceptions.c
CpuModule_Flags.c
CpuModule_Logging.c
CpuModule_Instructions.c
CpuModule_InternalState.c
CpuModule_Interrupts.c
CpuModule_StackFrameGen.c
memory.c
)
add_library(CPU_LIB ${CPU_SRC})