From: <sv...@op...> - 2025-08-06 14:19:17
|
Author: manx Date: Wed Aug 6 16:19:05 2025 New Revision: 23987 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=23987 Log: [Mod] build: premake: PluginBridge: Build as !UNICODE for WinXP ANSI test builds. Modified: trunk/OpenMPT/build/premake/mpt-PluginBridge.lua trunk/OpenMPT/build/vs2017winxpansi/PluginBridge.vcxproj trunk/OpenMPT/build/vs2017winxpansi/PluginBridgeLegacy.vcxproj Modified: trunk/OpenMPT/build/premake/mpt-PluginBridge.lua ============================================================================== --- trunk/OpenMPT/build/premake/mpt-PluginBridge.lua Wed Aug 6 16:12:05 2025 (r23986) +++ trunk/OpenMPT/build/premake/mpt-PluginBridge.lua Wed Aug 6 16:19:05 2025 (r23987) @@ -50,7 +50,6 @@ } defines { "MODPLUG_TRACKER" } dpiawareness "None" - characterset "Unicode" if _OPTIONS["windows-charset"] ~= "Unicode" then defines { "MPT_CHECK_WINDOWS_IGNORE_WARNING_NO_UNICODE" } end @@ -129,7 +128,6 @@ filter { "action:vs*", "architecture:ARM64" } -- dataexecutionprevention "Off" -- not supported by windows loader on arm64 filter {} - characterset "Unicode" if _OPTIONS["windows-charset"] ~= "Unicode" then defines { "MPT_CHECK_WINDOWS_IGNORE_WARNING_NO_UNICODE" } end Modified: trunk/OpenMPT/build/vs2017winxpansi/PluginBridge.vcxproj ============================================================================== --- trunk/OpenMPT/build/vs2017winxpansi/PluginBridge.vcxproj Wed Aug 6 16:12:05 2025 (r23986) +++ trunk/OpenMPT/build/vs2017winxpansi/PluginBridge.vcxproj Wed Aug 6 16:19:05 2025 (r23987) @@ -99,77 +99,77 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Checked|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Checked|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugShared|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugShared|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseShared|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseShared|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='CheckedShared|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='CheckedShared|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> Modified: trunk/OpenMPT/build/vs2017winxpansi/PluginBridgeLegacy.vcxproj ============================================================================== --- trunk/OpenMPT/build/vs2017winxpansi/PluginBridgeLegacy.vcxproj Wed Aug 6 16:12:05 2025 (r23986) +++ trunk/OpenMPT/build/vs2017winxpansi/PluginBridgeLegacy.vcxproj Wed Aug 6 16:19:05 2025 (r23987) @@ -99,77 +99,77 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Checked|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Checked|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugShared|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugShared|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseShared|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseShared|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='CheckedShared|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='CheckedShared|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> + <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v141_xp</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |