mpw/cpu/CMakeLists.txt

21 lines
430 B
CMake
Raw Normal View History

2017-10-02 19:11:28 +00:00
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
# Clang or AppleClang
set(CMAKE_CXX_FLAGS "-Wall -Wno-unused-function")
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})