From 45976da975a21359cfcc9a05c575ed8b07575612 Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Sat, 23 Aug 2014 22:22:05 -0300 Subject: CMake cleanup Several cleanups to the buildsystem: - Do better factoring of common libs between platforms. - Add support to building on Windows. - Remove Qt4 support. - Re-sort file lists and add missing headers. --- src/core/CMakeLists.txt | 103 ++++++++++++++++++++++++++---------------------- 1 file changed, 56 insertions(+), 47 deletions(-) (limited to 'src/core') diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 207f39707..1f358ec8d 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -1,14 +1,18 @@ -set(SRCS core.cpp - core_timing.cpp - loader/elf.cpp - loader/loader.cpp - loader/ncch.cpp - mem_map.cpp - mem_map_funcs.cpp - system.cpp +set(SRCS arm/disassembler/arm_disasm.cpp arm/disassembler/load_symbol_map.cpp - file_sys/archive_romfs.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 + arm/interpreter/vfp/vfp.cpp + arm/interpreter/vfp/vfpdouble.cpp + arm/interpreter/vfp/vfpinstr.cpp + arm/interpreter/vfp/vfpsingle.cpp arm/interpreter/arm_interpreter.cpp arm/interpreter/armcopro.cpp arm/interpreter/armemu.cpp @@ -18,22 +22,7 @@ set(SRCS core.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 - hle/hle.cpp - hle/config_mem.cpp - hle/coprocessor.cpp - hle/svc.cpp + file_sys/archive_romfs.cpp hle/kernel/address_arbiter.cpp hle/kernel/archive.cpp hle/kernel/event.cpp @@ -48,27 +37,26 @@ set(SRCS core.cpp hle/service/ndm.cpp hle/service/service.cpp hle/service/srv.cpp + hle/config_mem.cpp + hle/coprocessor.cpp + hle/hle.cpp + hle/svc.cpp hw/gpu.cpp hw/hw.cpp - hw/ndma.cpp) + hw/ndma.cpp + loader/elf.cpp + loader/loader.cpp + loader/ncch.cpp + core.cpp + core_timing.cpp + mem_map.cpp + mem_map_funcs.cpp + system.cpp + ) -set(HEADERS core.h - core_timing.h - loader/elf.h - loader/loader.h - loader/ncch.h - mem_map.h - system.h +set(HEADERS 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 @@ -78,27 +66,48 @@ set(HEADERS core.h arm/interpreter/vfp/asm_vfp.h arm/interpreter/vfp/vfp.h arm/interpreter/vfp/vfp_helper.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/arm_interface.h file_sys/archive.h file_sys/archive_romfs.h - hle/config_mem.h - hle/coprocessor.h - hle/hle.h - hle/svc.h hle/kernel/address_arbiter.h hle/kernel/archive.h + hle/kernel/event.h hle/kernel/kernel.h hle/kernel/mutex.h hle/kernel/shared_memory.h hle/kernel/thread.h - hle/function_wrappers.h hle/service/apt.h hle/service/fs.h hle/service/gsp.h hle/service/hid.h + hle/service/ndm.h hle/service/service.h hle/service/srv.h + hle/config_mem.h + hle/coprocessor.h + hle/function_wrappers.h + hle/hle.h + hle/svc.h hw/gpu.h hw/hw.h - hw/ndma.h) + hw/ndma.h + loader/elf.h + loader/loader.h + loader/ncch.h + core.h + core_timing.h + mem_map.h + system.h + ) + +create_directory_groups(${SRCS} ${HEADERS}) add_library(core STATIC ${SRCS} ${HEADERS}) -- cgit v1.2.3 From c57de3e4046c662c5179d3b55340361a046a57ff Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Mon, 1 Sep 2014 18:04:07 -0300 Subject: Remove hand-crafted Visual Studio solution. --- src/core/core.vcxproj | 253 ------------------------------- src/core/core.vcxproj.filters | 339 ------------------------------------------ 2 files changed, 592 deletions(-) delete mode 100644 src/core/core.vcxproj delete mode 100644 src/core/core.vcxproj.filters (limited to 'src/core') diff --git a/src/core/core.vcxproj b/src/core/core.vcxproj deleted file mode 100644 index ddc174c2c..000000000 --- a/src/core/core.vcxproj +++ /dev/null @@ -1,253 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {8AEA7F29-3466-4786-A10D-6A4BD0610977} - core - - - - StaticLibrary - true - v120 - - - StaticLibrary - true - v120 - - - StaticLibrary - false - v120 - - - StaticLibrary - false - v120 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - - - true - - - - - - - true - true - true - - - - - Fast - false - StreamingSIMDExtensions2 - - - - - - true - true - true - - - - - - {dfe335fc-755d-4baa-8452-94434f8a1edb} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/core/core.vcxproj.filters b/src/core/core.vcxproj.filters deleted file mode 100644 index 68ba9e50b..000000000 --- a/src/core/core.vcxproj.filters +++ /dev/null @@ -1,339 +0,0 @@ - - - - - {b84ab55c-588b-45f0-a5ba-f9ebb0442f13} - - - {61100188-a726-4024-ab16-95ee242b446e} - - - {7f618562-73d1-4f55-9628-887497c27654} - - - {cca8b763-8a80-4478-9bcc-3c979293c357} - - - {d1158fc4-3e0f-431f-9d3b-f30bbfeb4ad5} - - - {8b62769e-3e2a-4a57-a7bc-b3b2933c2bc7} - - - {812c5189-ca49-4704-b842-3ffad09092d3} - - - {de62238f-a28e-4a33-8495-23fed6784588} - - - {13ef9860-2ba0-47e9-a93d-b4052adab269} - - - {8089d94b-5faa-43dc-854b-ffd2fa2e7fe3} - - - {491d5558-5f3a-4283-8ba4-0a58b1984e37} - - - - - arm\disassembler - - - arm\interpreter - - - arm\interpreter - - - arm\interpreter - - - arm\interpreter - - - arm\interpreter - - - arm\interpreter - - - arm\interpreter - - - arm\interpreter - - - hw - - - - - - - - hle - - - hle\service - - - hle\service - - - hle\service - - - hle\service - - - hle\service - - - hw - - - hw - - - arm\disassembler - - - hle - - - hle - - - arm\interpreter\vfp - - - arm\interpreter\vfp - - - arm\interpreter\vfp - - - arm\interpreter\vfp - - - arm\interpreter\mmu - - - arm\interpreter\mmu - - - arm\interpreter\mmu - - - arm\interpreter\mmu - - - arm\interpreter\mmu - - - arm\interpreter\mmu - - - arm\interpreter\mmu - - - arm\interpreter\mmu - - - hle\kernel - - - hle\kernel - - - hle - - - hle\kernel - - - arm\interpreter - - - hle\kernel - - - hle\service - - - loader - - - loader - - - loader - - - hle\kernel - - - hle\service - - - file_sys - - - hle\kernel - - - hle\kernel - - - - - arm\disassembler - - - arm\interpreter - - - arm\interpreter - - - arm\interpreter - - - arm\interpreter - - - arm\interpreter - - - arm\interpreter - - - arm\interpreter - - - arm\interpreter - - - hw - - - arm - - - - - - - hle - - - hle - - - hle\service - - - hle\service - - - hle\service - - - hle\service - - - hle\service - - - hw - - - hw - - - arm\disassembler - - - hle - - - hle - - - arm\interpreter\vfp - - - arm\interpreter\vfp - - - arm\interpreter\vfp - - - arm\interpreter\mmu - - - arm\interpreter\mmu - - - arm\interpreter\mmu - - - arm\interpreter\mmu - - - arm\interpreter\mmu - - - arm\interpreter\mmu - - - hle\kernel - - - hle\kernel - - - hle - - - hle\kernel - - - hle\kernel - - - hle\service - - - loader - - - loader - - - loader - - - hle\kernel - - - hle\service - - - file_sys - - - file_sys - - - hle\kernel - - - hle\kernel - - - - - - \ No newline at end of file -- cgit v1.2.3