From 54e9fffc41a3ca589a5ea0979a2ab50ed6fb4bfa Mon Sep 17 00:00:00 2001 From: Hermann Seib Date: Mon, 1 Sep 2025 16:06:45 +0200 Subject: [PATCH 1/2] Cleaned up VS2022 project and added proper x64 / ARM64 / ARM64X targets --- lib/regcomp.c | 4 +- lib/tre-compile.c | 2 +- win32/retest.vcxproj | 385 +++++++++++++++++++++++++++++++++++--- win32/tre.sln | 36 +++- win32/tre.vcxproj | 427 ++++++++++++++++++++++++++++++++++++++++--- 5 files changed, 801 insertions(+), 53 deletions(-) diff --git a/lib/regcomp.c b/lib/regcomp.c index b2bea72..588d39a 100644 --- a/lib/regcomp.c +++ b/lib/regcomp.c @@ -57,7 +57,7 @@ tre_regncomp(regex_t *preg, const char *regex, size_t n, int cflags) #endif /* HAVE_MBSTATE_T */ while (n > 0) { - consumed = tre_mbrtowc(wcptr, regex, n, &state); + consumed = (int)tre_mbrtowc(wcptr, regex, n, &state); switch (consumed) { @@ -77,7 +77,7 @@ tre_regncomp(regex_t *preg, const char *regex, size_t n, int cflags) case -2: /* The last character wasn't complete. Let's not call it a fatal error. */ - consumed = n; + consumed = (int)n; break; } regex += consumed; diff --git a/lib/tre-compile.c b/lib/tre-compile.c index 81e9ec1..79dcd3e 100644 --- a/lib/tre-compile.c +++ b/lib/tre-compile.c @@ -1884,7 +1884,7 @@ tre_compile(regex_t *preg, const tre_char_t *regex, size_t n, int cflags) parse_ctx.mem = mem; parse_ctx.stack = stack; parse_ctx.re = regex; - parse_ctx.len = n; + parse_ctx.len = (int)n; parse_ctx.cflags = cflags; parse_ctx.max_backref = -1; /* Use 8-bit optimizations in 8-bit mode */ diff --git a/win32/retest.vcxproj b/win32/retest.vcxproj index 1c0db23..daa11a4 100644 --- a/win32/retest.vcxproj +++ b/win32/retest.vcxproj @@ -1,18 +1,43 @@ + + Debug + ARM64 + + + Debug + ARM64EC + Debug Win32 + + Debug + x64 + + + Release + ARM64 + + + Release + ARM64EC + Release Win32 + + Release + x64 + 17.0 {F9A3C846-B5B3-4A68-9F8D-A918942FFB29} + 10.0 @@ -21,12 +46,48 @@ false MultiByte + + Application + v143 + false + MultiByte + + + Application + v143 + false + MultiByte + + + Application + v143 + false + MultiByte + Application v143 false MultiByte + + Application + v143 + false + MultiByte + + + Application + v143 + false + MultiByte + + + Application + v143 + false + MultiByte + @@ -34,22 +95,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>17.0.35219.272 - .\Release\ - .\Release\ + .\$(Configuration)\ + .\$(Configuration)\$(Platform)\$(ProjectName)\ + false + + + .\$(Configuration)\$(Platform)\$(ProjectName)\ + false + + + .\$(Configuration)\$(Platform)\$(ProjectName)\ + false + + + .\$(Configuration)\$(Platform)\$(ProjectName)\ false - .\Debug\ - .\Debug\ + .\$(Configuration)\ + .\$(Configuration)\$(Platform)\$(ProjectName)\ + true + + + .\$(Configuration)\$(Platform)\$(ProjectName)\ + true + + + .\$(Configuration)\$(Platform)\$(ProjectName)\ + true + + + .\$(Configuration)\$(Platform)\$(ProjectName)\ true @@ -65,10 +174,10 @@ true MultiThreaded true - .\Release/retest.pch - .\Release/ - .\Release/ - .\Release/ + $(IntDir)$(TargetName).pch + $(IntDir) + $(IntDir) + $(IntDir) Level3 true @@ -77,18 +186,134 @@ 0x040b - Release/tre.lib;msvcprt.lib;%(AdditionalDependencies) - .\Release/retest.exe + $(OutDir)tre.lib;%(AdditionalDependencies) + $(OutDir)$(TargetFileName) true - .\Release/retest.pdb + $(OutDir)$(TargetName).pdb Console - false MachineX86 true - .\Release/retest.bsc + $(IntDir)$(TargetName).bsc + + + + + .\Release/retest.tlb + + + + + MaxSpeed + OnlyExplicitInline + ../lib;../win32;%(AdditionalIncludeDirectories) + NDEBUG;WIN32;_CONSOLE;HAVE_CONFIG_H;%(PreprocessorDefinitions) + true + MultiThreaded + true + $(IntDir)$(TargetName).pch + $(IntDir) + $(IntDir) + $(IntDir) + Level3 + true + + + NDEBUG;%(PreprocessorDefinitions) + 0x040b + + + $(OutDir)tre.lib;%(AdditionalDependencies) + $(OutDir)$(TargetFileName) + true + $(OutDir)$(TargetName).pdb + Console + + + + + true + $(IntDir)$(TargetName).bsc + + + + + .\Release/retest.tlb + + + + + MaxSpeed + OnlyExplicitInline + ../lib;../win32;%(AdditionalIncludeDirectories) + NDEBUG;WIN32;_CONSOLE;HAVE_CONFIG_H;%(PreprocessorDefinitions) + true + MultiThreaded + true + $(IntDir)$(TargetName).pch + $(IntDir) + $(IntDir) + $(IntDir) + Level3 + true + + + NDEBUG;%(PreprocessorDefinitions) + 0x040b + + + $(OutDir)tre.lib;%(AdditionalDependencies) + $(OutDir)$(TargetFileName) + true + $(OutDir)$(TargetName).pdb + Console + + + + + true + $(IntDir)$(TargetName).bsc + + + + + .\Release/retest.tlb + + + + + MaxSpeed + OnlyExplicitInline + ../lib;../win32;%(AdditionalIncludeDirectories) + NDEBUG;WIN32;_CONSOLE;HAVE_CONFIG_H;%(PreprocessorDefinitions) + true + MultiThreaded + true + $(IntDir)$(TargetName).pch + $(IntDir) + $(IntDir) + $(IntDir) + Level3 + true + + + NDEBUG;%(PreprocessorDefinitions) + 0x040b + + + $(OutDir)tre.lib;%(AdditionalDependencies) + $(OutDir)$(TargetFileName) + true + $(OutDir)$(TargetName).pdb + Console + + + + + true + $(IntDir)$(TargetName).bsc @@ -103,10 +328,10 @@ true EnableFastChecks MultiThreadedDebug - .\Debug/retest.pch - .\Debug/ - .\Debug/ - .\Debug/ + $(IntDir)$(TargetName).pch + $(IntDir) + $(IntDir) + $(IntDir) Level3 true EditAndContinue @@ -116,19 +341,135 @@ 0x040b - Debug/tre.lib;msvcprt.lib;%(AdditionalDependencies) - .\Debug/retest.exe + $(OutDir)tre.lib;%(AdditionalDependencies) + $(OutDir)$(TargetFileName) true true - .\Debug/retest.pdb + $(OutDir)$(TargetName).pdb Console - false MachineX86 true - .\Debug/retest.bsc + $(IntDir)$(TargetName).bsc + + + + + .\Debug/retest.tlb + + + + + Disabled + ../lib;../win32;%(AdditionalIncludeDirectories) + _DEBUG;WIN32;_CONSOLE;HAVE_CONFIG_H;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebug + $(IntDir)$(TargetName).pch + $(IntDir) + $(IntDir) + $(IntDir) + Level3 + true + ProgramDatabase + + + _DEBUG;%(PreprocessorDefinitions) + 0x040b + + + $(OutDir)tre.lib;%(AdditionalDependencies) + $(OutDir)$(TargetFileName) + true + true + $(OutDir)$(TargetName).pdb + Console + + + + + true + $(IntDir)$(TargetName).bsc + + + + + .\Debug/retest.tlb + + + + + Disabled + ../lib;../win32;%(AdditionalIncludeDirectories) + _DEBUG;WIN32;_CONSOLE;HAVE_CONFIG_H;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebug + $(IntDir)$(TargetName).pch + $(IntDir) + $(IntDir) + $(IntDir) + Level3 + true + ProgramDatabase + + + _DEBUG;%(PreprocessorDefinitions) + 0x040b + + + $(OutDir)tre.lib;%(AdditionalDependencies) + $(OutDir)$(TargetFileName) + true + true + $(OutDir)$(TargetName).pdb + Console + + + + + true + $(IntDir)$(TargetName).bsc + + + + + .\Debug/retest.tlb + + + + + Disabled + ../lib;../win32;%(AdditionalIncludeDirectories) + _DEBUG;WIN32;_CONSOLE;HAVE_CONFIG_H;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebug + $(IntDir)$(TargetName).pch + $(IntDir) + $(IntDir) + $(IntDir) + Level3 + true + ProgramDatabase + + + _DEBUG;%(PreprocessorDefinitions) + 0x040b + + + $(OutDir)tre.lib;%(AdditionalDependencies) + $(OutDir)$(TargetFileName) + true + true + $(OutDir)$(TargetName).pdb + Console + + + + + true + $(IntDir)$(TargetName).bsc diff --git a/win32/tre.sln b/win32/tre.sln index c21c2bf..c76389f 100644 --- a/win32/tre.sln +++ b/win32/tre.sln @@ -11,32 +11,56 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test-str-source", "test-str EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|ARM64 = Debug|ARM64 + Debug|ARM64EC = Debug|ARM64EC Debug|Win32 = Debug|Win32 Debug|x64 = Debug|x64 + Release|ARM64 = Release|ARM64 + Release|ARM64EC = Release|ARM64EC Release|Win32 = Release|Win32 Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|ARM64.Build.0 = Debug|ARM64 + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|ARM64EC.ActiveCfg = Debug|ARM64EC + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|ARM64EC.Build.0 = Debug|ARM64EC {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|Win32.ActiveCfg = Debug|Win32 {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|Win32.Build.0 = Debug|Win32 - {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|x64.ActiveCfg = Debug|Win32 - {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|x64.Build.0 = Debug|Win32 + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|x64.ActiveCfg = Debug|x64 + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|x64.Build.0 = Debug|x64 + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|ARM64.ActiveCfg = Release|ARM64 + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|ARM64.Build.0 = Release|ARM64 + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|ARM64EC.ActiveCfg = Release|ARM64EC + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|ARM64EC.Build.0 = Release|ARM64EC {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|Win32.ActiveCfg = Release|Win32 {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|Win32.Build.0 = Release|Win32 - {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|x64.ActiveCfg = Release|Win32 - {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|x64.Build.0 = Release|Win32 + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|x64.ActiveCfg = Release|x64 + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|x64.Build.0 = Release|x64 + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Debug|ARM64.Build.0 = Debug|ARM64 + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Debug|ARM64EC.ActiveCfg = Debug|ARM64EC + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Debug|ARM64EC.Build.0 = Debug|ARM64EC {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Debug|Win32.ActiveCfg = Debug|Win32 {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Debug|Win32.Build.0 = Debug|Win32 {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Debug|x64.ActiveCfg = Debug|Win32 {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Debug|x64.Build.0 = Debug|Win32 + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|ARM64.ActiveCfg = Release|ARM64 + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|ARM64.Build.0 = Release|ARM64 + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|ARM64EC.ActiveCfg = Release|ARM64EC + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|ARM64EC.Build.0 = Release|ARM64EC {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|Win32.ActiveCfg = Release|Win32 {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|Win32.Build.0 = Release|Win32 - {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|x64.ActiveCfg = Release|Win32 - {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|x64.Build.0 = Release|Win32 + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|x64.ActiveCfg = Release|x64 + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|x64.Build.0 = Release|x64 + {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Debug|ARM64.ActiveCfg = Debug|x64 + {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Debug|ARM64EC.ActiveCfg = Debug|x64 {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Debug|Win32.ActiveCfg = Debug|Win32 {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Debug|Win32.Build.0 = Debug|Win32 {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Debug|x64.ActiveCfg = Debug|x64 {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Debug|x64.Build.0 = Debug|x64 + {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Release|ARM64.ActiveCfg = Release|x64 + {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Release|ARM64EC.ActiveCfg = Release|x64 {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Release|Win32.ActiveCfg = Release|Win32 {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Release|Win32.Build.0 = Release|Win32 {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Release|x64.ActiveCfg = Release|x64 diff --git a/win32/tre.vcxproj b/win32/tre.vcxproj index cdebcd7..26e2b0a 100644 --- a/win32/tre.vcxproj +++ b/win32/tre.vcxproj @@ -1,18 +1,43 @@ + + Debug + ARM64 + + + Debug + ARM64EC + Debug Win32 + + Debug + x64 + + + Release + ARM64 + + + Release + ARM64EC + Release Win32 + + Release + x64 + 17.0 {69258B5D-ECAE-40E4-8F64-5F063B05C998} + 10.0 @@ -21,12 +46,48 @@ false MultiByte + + DynamicLibrary + v143 + false + MultiByte + + + DynamicLibrary + v143 + false + MultiByte + + + DynamicLibrary + v143 + false + MultiByte + DynamicLibrary v143 false MultiByte + + DynamicLibrary + v143 + false + MultiByte + + + DynamicLibrary + v143 + false + MultiByte + + + DynamicLibrary + v143 + false + MultiByte + @@ -34,22 +95,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>17.0.35219.272 - .\Debug\ - .\Debug\ + .\$(Configuration)\ + .\$(Configuration)\$(Platform)\$(ProjectName)\ + true + + + .\$(Configuration)\$(Platform)\$(ProjectName)\ + true + + + .\$(Configuration)\$(Platform)\$(ProjectName)\ + true + true + + + .\$(Configuration)\$(Platform)\$(ProjectName)\ true - .\Release\ - .\Release\ + .\$(Configuration)\ + .\$(Configuration)\$(Platform)\$(ProjectName)\ + false + + + .\$(Configuration)\$(Platform)\$(ProjectName)\ + false + + + .\$(Configuration)\$(Platform)\$(ProjectName)\ + false + true + + + .\$(Configuration)\$(Platform)\$(ProjectName)\ false @@ -69,9 +180,9 @@ EnableFastChecks MultiThreadedDebugDLL .\Debug/tre.pch - .\Debug/ - .\Debug/ - .\Debug/ + $(IntDir) + $(IntDir) + $(IntDir) true Level3 true @@ -82,20 +193,157 @@ 0x040c - msvcprt.lib;%(AdditionalDependencies) - .\Debug/tre.dll + + + $(OutDir)$(TargetFileName) true .\tre.def true - .\Debug/tre.pdb - false + $(OutDir)$(TargetName).pdb - .\Debug/tre.lib + $(OutDir)$(TargetName).lib MachineX86 true - .\Debug/tre.bsc + $(IntDir)$(TargetName).bsc + + + + + _DEBUG;%(PreprocessorDefinitions) + true + true + .\Debug/tre.tlb + + + + + Disabled + ../win32;../lib;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USRDLL;TRE_EXPORTS;TRE_DEBUG;HAVE_CONFIG_H;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + .\Debug/tre.pch + $(IntDir) + $(IntDir) + $(IntDir) + true + Level3 + true + EditAndContinue + + + _DEBUG;%(PreprocessorDefinitions) + 0x040c + + + + + $(OutDir)$(TargetFileName) + true + .\tre.def + true + $(OutDir)$(TargetName).pdb + + + $(OutDir)$(TargetName).lib + + + true + $(IntDir)$(TargetName).bsc + + + + + _DEBUG;%(PreprocessorDefinitions) + true + true + .\Debug/tre.tlb + + + + + Disabled + ../win32;../lib;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USRDLL;TRE_EXPORTS;TRE_DEBUG;HAVE_CONFIG_H;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + .\Debug/tre.pch + $(IntDir) + $(IntDir) + $(IntDir) + true + Level3 + true + EditAndContinue + + + _DEBUG;%(PreprocessorDefinitions) + 0x040c + + + + + $(OutDir)$(TargetFileName) + true + .\tre.def + true + $(OutDir)$(TargetName).pdb + + + $(OutDir)$(TargetName).lib + + + true + $(IntDir)$(TargetName).bsc + + + + + _DEBUG;%(PreprocessorDefinitions) + true + true + .\Debug/tre.tlb + + + + + Disabled + ../win32;../lib;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USRDLL;TRE_EXPORTS;TRE_DEBUG;HAVE_CONFIG_H;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + .\Debug/tre.pch + $(IntDir) + $(IntDir) + $(IntDir) + true + Level3 + true + ProgramDatabase + + + _DEBUG;%(PreprocessorDefinitions) + 0x040c + + + + + $(OutDir)$(TargetFileName) + true + .\tre.def + true + $(OutDir)$(TargetName).pdb + + + $(OutDir)$(TargetName).lib + + + true + $(IntDir)$(TargetName).bsc @@ -116,9 +364,9 @@ MultiThreadedDLL true .\Release/tre.pch - .\Release/ - .\Release/ - .\Release/ + $(IntDir) + $(IntDir) + $(IntDir) true Level3 true @@ -128,19 +376,154 @@ 0x040c - msvcrt.lib;msvcprt.lib;%(AdditionalDependencies) - .\Release/tre.dll + + + $(OutDir)$(TargetFileName) true .\tre.def - .\Release/tre.pdb - false + $(OutDir)$(TargetName).pdb - .\Release/tre.lib + $(OutDir)$(TargetName).lib MachineX86 true - .\Release/tre.bsc + $(IntDir)$(TargetName).bsc + + + + + NDEBUG;%(PreprocessorDefinitions) + true + true + .\Release/tre.tlb + + + + + MaxSpeed + OnlyExplicitInline + ../win32;../lib;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;TRE_EXPORTS;HAVE_CONFIG_H;%(PreprocessorDefinitions) + true + MultiThreadedDLL + true + .\Release/tre.pch + $(IntDir) + $(IntDir) + $(IntDir) + true + Level3 + true + + + NDEBUG;%(PreprocessorDefinitions) + 0x040c + + + + + $(OutDir)$(TargetFileName) + true + .\tre.def + $(OutDir)$(TargetName).pdb + + + $(OutDir)$(TargetName).lib + + + true + $(IntDir)$(TargetName).bsc + + + + + NDEBUG;%(PreprocessorDefinitions) + true + true + .\Release/tre.tlb + + + + + MaxSpeed + OnlyExplicitInline + ../win32;../lib;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;TRE_EXPORTS;HAVE_CONFIG_H;%(PreprocessorDefinitions) + true + MultiThreadedDLL + true + .\Release/tre.pch + $(IntDir) + $(IntDir) + $(IntDir) + true + Level3 + true + + + NDEBUG;%(PreprocessorDefinitions) + 0x040c + + + + + $(OutDir)$(TargetFileName) + true + .\tre.def + $(OutDir)$(TargetName).pdb + + + $(OutDir)$(TargetName).lib + + + true + $(IntDir)$(TargetName).bsc + + + + + NDEBUG;%(PreprocessorDefinitions) + true + true + .\Release/tre.tlb + + + + + MaxSpeed + OnlyExplicitInline + ../win32;../lib;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;TRE_EXPORTS;HAVE_CONFIG_H;%(PreprocessorDefinitions) + true + MultiThreadedDLL + true + .\Release/tre.pch + $(IntDir) + $(IntDir) + $(IntDir) + true + Level3 + true + + + NDEBUG;%(PreprocessorDefinitions) + 0x040c + + + + + $(OutDir)$(TargetFileName) + true + .\tre.def + $(OutDir)$(TargetName).pdb + + + $(OutDir)$(TargetName).lib + + + true + $(IntDir)$(TargetName).bsc From 6029a668a82bb88fb9fdc1f2fd0c5c540a843d30 Mon Sep 17 00:00:00 2001 From: Hermann Seib Date: Fri, 5 Sep 2025 20:03:29 +0200 Subject: [PATCH 2/2] Further VS2022 project cleanups --- win32/tre.vcxproj | 40 ++++++++-------------------------------- 1 file changed, 8 insertions(+), 32 deletions(-) diff --git a/win32/tre.vcxproj b/win32/tre.vcxproj index 26e2b0a..8d5d87b 100644 --- a/win32/tre.vcxproj +++ b/win32/tre.vcxproj @@ -44,49 +44,41 @@ DynamicLibrary v143 false - MultiByte DynamicLibrary v143 false - MultiByte DynamicLibrary v143 false - MultiByte DynamicLibrary v143 false - MultiByte DynamicLibrary v143 false - MultiByte DynamicLibrary v143 false - MultiByte DynamicLibrary v143 false - MultiByte DynamicLibrary v143 false - MultiByte @@ -179,9 +171,7 @@ true EnableFastChecks MultiThreadedDebugDLL - .\Debug/tre.pch - $(IntDir) - $(IntDir) + $(IntDir)$(ProjectName).pch $(IntDir) true Level3 @@ -225,9 +215,7 @@ true EnableFastChecks MultiThreadedDebugDLL - .\Debug/tre.pch - $(IntDir) - $(IntDir) + $(IntDir)$(ProjectName).pch $(IntDir) true Level3 @@ -271,9 +259,7 @@ true EnableFastChecks MultiThreadedDebugDLL - .\Debug/tre.pch - $(IntDir) - $(IntDir) + $(IntDir)$(ProjectName).pch $(IntDir) true Level3 @@ -316,9 +302,7 @@ WIN32;_DEBUG;_WINDOWS;_USRDLL;TRE_EXPORTS;TRE_DEBUG;HAVE_CONFIG_H;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL - .\Debug/tre.pch - $(IntDir) - $(IntDir) + $(IntDir)$(ProjectName).pch $(IntDir) true Level3 @@ -363,9 +347,7 @@ true MultiThreadedDLL true - .\Release/tre.pch - $(IntDir) - $(IntDir) + $(IntDir)$(ProjectName).pch $(IntDir) true Level3 @@ -408,9 +390,7 @@ true MultiThreadedDLL true - .\Release/tre.pch - $(IntDir) - $(IntDir) + $(IntDir)$(ProjectName).pch $(IntDir) true Level3 @@ -453,9 +433,7 @@ true MultiThreadedDLL true - .\Release/tre.pch - $(IntDir) - $(IntDir) + $(IntDir)$(ProjectName).pch $(IntDir) true Level3 @@ -498,9 +476,7 @@ true MultiThreadedDLL true - .\Release/tre.pch - $(IntDir) - $(IntDir) + $(IntDir)$(ProjectName).pch $(IntDir) true Level3