From 8ff24415d2c136ff44178fd65038fff731fdffd1 Mon Sep 17 00:00:00 2001 From: ThePixelGamer Date: Fri, 25 Mar 2022 05:41:17 -0500 Subject: [PATCH] Cleanup Solution and Project files This commit adds arm "support" and tries to reduce duplications in the project files. It also reverse the change 194cb6bda9125a424085dc6ffba9380adfeb5f91 made which made the launcher a 64-bit app (this is only necessary for the injector on 64-bit windows) --- ZenovaLauncher.sln | 14 ++- ZenovaLauncher/ZenovaLauncher.csproj | 4 +- ZenovaLoader/ZenovaLoader.vcxproj | 129 ++++++++++++--------------- 3 files changed, 68 insertions(+), 79 deletions(-) diff --git a/ZenovaLauncher.sln b/ZenovaLauncher.sln index 32760cb..96e13bf 100644 --- a/ZenovaLauncher.sln +++ b/ZenovaLauncher.sln @@ -45,15 +45,21 @@ Global {32C4B338-788C-48D1-A8F0-FE480D3AE5E5}.Release|x86.ActiveCfg = Release|Any CPU {32C4B338-788C-48D1-A8F0-FE480D3AE5E5}.Release|x86.Build.0 = Release|Any CPU {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Debug|ARM.ActiveCfg = Debug|Win32 - {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Debug|ARM64.ActiveCfg = Debug|Win32 + {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Debug|Any CPU.Build.0 = Debug|Win32 + {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Debug|ARM.ActiveCfg = Debug|ARM + {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Debug|ARM.Build.0 = Debug|ARM + {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Debug|ARM64.Build.0 = Debug|ARM64 {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Debug|x64.ActiveCfg = Debug|x64 {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Debug|x64.Build.0 = Debug|x64 {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Debug|x86.ActiveCfg = Debug|Win32 {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Debug|x86.Build.0 = Debug|Win32 {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Release|Any CPU.ActiveCfg = Release|Win32 - {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Release|ARM.ActiveCfg = Release|Win32 - {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Release|ARM64.ActiveCfg = Release|Win32 + {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Release|Any CPU.Build.0 = Release|Win32 + {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Release|ARM.ActiveCfg = Release|ARM + {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Release|ARM.Build.0 = Release|ARM + {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Release|ARM64.ActiveCfg = Release|ARM64 + {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Release|ARM64.Build.0 = Release|ARM64 {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Release|x64.ActiveCfg = Release|x64 {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Release|x64.Build.0 = Release|x64 {167B4E2C-FEC6-4789-9558-E0B7C79D55C1}.Release|x86.ActiveCfg = Release|Win32 diff --git a/ZenovaLauncher/ZenovaLauncher.csproj b/ZenovaLauncher/ZenovaLauncher.csproj index cfd2cb0..3371ac0 100644 --- a/ZenovaLauncher/ZenovaLauncher.csproj +++ b/ZenovaLauncher/ZenovaLauncher.csproj @@ -18,7 +18,7 @@ - x64 + AnyCPU true full false @@ -28,7 +28,7 @@ 4 - x64 + AnyCPU pdbonly true bin\Release\ diff --git a/ZenovaLoader/ZenovaLoader.vcxproj b/ZenovaLoader/ZenovaLoader.vcxproj index d24ac90..0253f30 100644 --- a/ZenovaLoader/ZenovaLoader.vcxproj +++ b/ZenovaLoader/ZenovaLoader.vcxproj @@ -1,10 +1,26 @@ + + Debug + ARM + + + Debug + ARM64 + Debug Win32 + + Release + ARM + + + Release + ARM64 + Release Win32 @@ -59,57 +75,20 @@ - - - - - - - - - - + - - $(SolutionDir)ZenovaLauncher\bin\$(Configuration)\ - - $(Platform)\$(Configuration)\ - - + $(SolutionDir)ZenovaLauncher\bin\$(Configuration)\ - $(Platform)\$(Configuration)\ - - $(SolutionDir)ZenovaLauncher\bin\$(Configuration)\ - - - - $(SolutionDir)ZenovaLauncher\bin\$(Configuration)\ - - - - true - - - true - - - true - - - true - - + Level3 true - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true stdcpp17 - MultiThreadedDebug Windows @@ -117,58 +96,62 @@ $(OutDir)$(TargetName) - + - Level3 true true - true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - stdcpp17 MultiThreaded - Windows true true - true - $(OutDir)$(TargetName) + + + MultiThreadedDebug + + + + + + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + + + + + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + + + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + + + + + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + + - Level3 - true _DEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - stdcpp17 - MultiThreadedDebug - - Windows - true - $(OutDir)$(TargetName) - + + + + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + - Level3 - true - true - true NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - stdcpp17 - MultiThreaded - - Windows - true - true - true - $(OutDir)$(TargetName) - + + + + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) +