diff --git a/CMakeLists.txt b/CMakeLists.txt index 97b9bbde52..8c5dbcd989 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -426,6 +426,15 @@ if(WIN32) endif() +set(CommonJIT + Core/MIPS/JitCommon/JitCommon.cpp + Core/MIPS/JitCommon/JitCommon.h + Core/MIPS/JitCommon/JitBlockCache.cpp + Core/MIPS/JitCommon/JitBlockCache.h + Core/MIPS/JitCommon/JitState.cpp + Core/MIPS/JitCommon/JitState.h +) + set(CommonX86 Common/ABI.cpp Common/ABI.h @@ -464,6 +473,7 @@ set(CommonMIPS source_group(MIPS FILES ${CommonMIPS}) set(CommonRISCV64 + ${CommonJIT} Common/RiscVCPUDetect.cpp Core/MIPS/fake/FakeJit.cpp Core/MIPS/fake/FakeJit.h @@ -1626,6 +1636,7 @@ set(GPU_SOURCES # SHARED on ANDROID, STATIC everywhere else add_library(${CoreLibName} ${CoreLinkType} ${CoreExtra} + ${CommonJIT} Core/Config.cpp Core/Config.h Core/ConfigValues.h @@ -1933,12 +1944,6 @@ add_library(${CoreLibName} ${CoreLinkType} Core/FileLoaders/RamCachingFileLoader.h Core/FileLoaders/RetryingFileLoader.cpp Core/FileLoaders/RetryingFileLoader.h - Core/MIPS/JitCommon/JitCommon.cpp - Core/MIPS/JitCommon/JitCommon.h - Core/MIPS/JitCommon/JitBlockCache.cpp - Core/MIPS/JitCommon/JitBlockCache.h - Core/MIPS/JitCommon/JitState.cpp - Core/MIPS/JitCommon/JitState.h Core/MIPS/MIPS.cpp Core/MIPS/MIPS.h Core/MIPS/MIPSAnalyst.cpp