Move to Common folder to make CMakeList files cleaner

This commit is contained in:
Amber Brault 2024-12-09 19:14:24 -05:00
parent e1bbbc72c9
commit 4514afd799
8 changed files with 8 additions and 8 deletions

View File

@ -45,6 +45,8 @@ add_library(common
Crypto/HMAC.h
Crypto/SHA1.cpp
Crypto/SHA1.h
CWDemangler.cpp
CWDemangler.h
Debug/MemoryPatches.cpp
Debug/MemoryPatches.h
Debug/Threads.h

View File

@ -1,4 +1,4 @@
#include "Core/PowerPC/CWDemangler.h"
#include "Common/CWDemangler.h"
#include <cctype>
#include <map>

View File

@ -10,7 +10,7 @@
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Core/PowerPC/CWDemangler.h"
#include "Common/CWDemangler.h"
namespace Common
{

View File

@ -488,8 +488,6 @@ add_library(core
PowerPC/CachedInterpreter/CachedInterpreterEmitter.h
PowerPC/ConditionRegister.cpp
PowerPC/ConditionRegister.h
PowerPC/CWDemangler.cpp
PowerPC/CWDemangler.h
PowerPC/Expression.cpp
PowerPC/Expression.h
PowerPC/Interpreter/ExceptionUtils.h

View File

@ -44,6 +44,7 @@
<ClInclude Include="Common\Crypto\ec.h" />
<ClInclude Include="Common\Crypto\HMAC.h" />
<ClInclude Include="Common\Crypto\SHA1.h" />
<ClInclude Include="Common\CWDemangler.h" />
<ClInclude Include="Common\Debug\MemoryPatches.h" />
<ClInclude Include="Common\Debug\Threads.h" />
<ClInclude Include="Common\Debug\Watches.h" />
@ -433,7 +434,6 @@
<ClInclude Include="Core\PowerPC\CachedInterpreter\CachedInterpreterEmitter.h" />
<ClInclude Include="Core\PowerPC\ConditionRegister.h" />
<ClInclude Include="Core\PowerPC\CPUCoreBase.h" />
<ClInclude Include="Core\PowerPC\CWDemangler.h" />
<ClInclude Include="Core\PowerPC\Expression.h" />
<ClInclude Include="Core\PowerPC\GDBStub.h" />
<ClInclude Include="Core\PowerPC\Gekko.h" />
@ -796,6 +796,7 @@
<ClCompile Include="Common\Crypto\ec.cpp" />
<ClCompile Include="Common\Crypto\HMAC.cpp" />
<ClCompile Include="Common\Crypto\SHA1.cpp" />
<ClCompile Include="Common\CWDemangler.cpp" />
<ClCompile Include="Common\Debug\MemoryPatches.cpp" />
<ClCompile Include="Common\Debug\Watches.cpp" />
<ClCompile Include="Common\DynamicLibrary.cpp" />
@ -1096,7 +1097,6 @@
<ClCompile Include="Core\PowerPC\CachedInterpreter\CachedInterpreterBlockCache.cpp" />
<ClCompile Include="Core\PowerPC\CachedInterpreter\CachedInterpreterEmitter.cpp" />
<ClCompile Include="Core\PowerPC\ConditionRegister.cpp" />
<ClCompile Include="Core\PowerPC\CWDemangler.cpp" />
<ClCompile Include="Core\PowerPC\Expression.cpp" />
<ClCompile Include="Core\PowerPC\GDBStub.cpp" />
<ClCompile Include="Core\PowerPC\Interpreter\Interpreter_Branch.cpp" />

View File

@ -3,7 +3,7 @@
#include <string>
#include <tuple>
#include "Core/PowerPC/CWDemangler.h"
#include "Common/CWDemangler.h"
void DoDemangleTemplateArgsTest(std::string mangled, std::string name, std::string templateArgs)
{

View File

@ -46,6 +46,7 @@
<ClCompile Include="Common\CommonFuncsTest.cpp" />
<ClCompile Include="Common\Crypto\EcTest.cpp" />
<ClCompile Include="Common\Crypto\SHA1Test.cpp" />
<ClCompile Include="Common\CWDemanglerTest.cpp" />
<ClCompile Include="Common\EnumFormatterTest.cpp" />
<ClCompile Include="Common\EventTest.cpp" />
<ClCompile Include="Common\FileUtilTest.cpp" />
@ -71,7 +72,6 @@
<ClCompile Include="Core\MMIOTest.cpp" />
<ClCompile Include="Core\PageFaultTest.cpp" />
<ClCompile Include="Core\PatchAllowlistTest.cpp" />
<ClCompile Include="Core\PowerPC\CWDemanglerTest.cpp" />
<ClCompile Include="Core\PowerPC\DivUtilsTest.cpp" />
<ClCompile Include="VideoCommon\VertexLoaderTest.cpp" />
<ClCompile Include="StubHost.cpp" />