set(SRCS    core.cpp
            core_timing.cpp
            loader.cpp
            mem_map.cpp
            mem_map_funcs.cpp
            system.cpp
            arm/disassembler/arm_disasm.cpp
            arm/disassembler/load_symbol_map.cpp
            arm/interpreter/arm_interpreter.cpp
            arm/interpreter/armcopro.cpp
            arm/interpreter/armemu.cpp
            arm/interpreter/arminit.cpp
            arm/interpreter/armmmu.cpp
            arm/interpreter/armos.cpp
            arm/interpreter/armsupp.cpp
            arm/interpreter/armvirt.cpp
            arm/interpreter/thumbemu.cpp
            arm/interpreter/vfp/vfp.cpp
            arm/interpreter/vfp/vfpdouble.cpp
            arm/interpreter/vfp/vfpinstr.cpp
            arm/interpreter/vfp/vfpsingle.cpp
            arm/interpreter/mmu/arm1176jzf_s_mmu.cpp
            arm/interpreter/mmu/cache.cpp
            arm/interpreter/mmu/maverick.cpp
            arm/interpreter/mmu/rb.cpp
            arm/interpreter/mmu/sa_mmu.cpp
            arm/interpreter/mmu/tlb.cpp
            arm/interpreter/mmu/wb.cpp
            arm/interpreter/mmu/xscale_copro.cpp
            elf/elf_reader.cpp
            file_sys/directory_file_system.cpp
            file_sys/meta_file_system.cpp
            hle/hle.cpp
            hle/config_mem.cpp
            hle/coprocessor.cpp
            hle/syscall.cpp
            hle/service/apt.cpp
            hle/service/gsp.cpp
            hle/service/hid.cpp
            hle/service/service.cpp
            hle/service/srv.cpp
            hw/hw.cpp
            hw/lcd.cpp
            hw/ndma.cpp)

set(HEADS   core.h
            core_timing.h
            loader.h
            mem_map.h
            system.h
            arm/disassembler/arm_disasm.h
            arm/disassembler/load_symbol_map.h
            arm/interpreter/arm_interpreter.h
            arm/interpreter/arm_regformat.h
            arm/interpreter/armcpu.h
            arm/interpreter/armdefs.h
            arm/interpreter/armemu.h
            arm/interpreter/armmmu.h
            arm/interpreter/armos.h
            arm/interpreter/skyeye_defs.h
            arm/interpreter/mmu/arm1176jzf_s_mmu.h
            arm/interpreter/mmu/cache.h
            arm/interpreter/mmu/rb.h
            arm/interpreter/mmu/sa_mmu.h
            arm/interpreter/mmu/tlb.h
            arm/interpreter/mmu/wb.h
            arm/interpreter/vfp/asm_vfp.h
            arm/interpreter/vfp/vfp.h
            arm/interpreter/vfp/vfp_helper.h
            elf/elf_reader.h
            elf/elf_types.h
            file_sys/directory_file_system.h
            file_sys/file_sys.h
            file_sys/meta_file_system.h
            hle/config_mem.h
            hle/coprocessor.h
            hle/hle.h
            hle/syscall.h
            hle/function_wrappers.h
            hle/service/apt.h
            hle/service/gsp.h
            hle/service/hid.h
            hle/service/service.h
            hle/service/srv.h
            hw/hw.h
            hw/lcd.h
            hw/ndma.h)

add_library(core STATIC ${SRCS} ${HEADS})
