FWGS / hlsdk-portable

Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
https://xash.su
Other
260 stars 120 forks source link

Building Windows-XP compatible dlls with modern Visual Studio versions #281

Open FreeSlave opened 2 years ago

FreeSlave commented 2 years ago

@a1batross said it's possible to keep XP compatibility in modern Visual Studio versions, referencing these lines from xash3d's build scripts: https://github.com/FWGS/xash3d-fwgs/blob/3ad60a0fa1af834b13a73051bf5cd535ee83b74a/wscript#L142 and https://github.com/FWGS/xash3d-fwgs/blob/3ad60a0fa1af834b13a73051bf5cd535ee83b74a/scripts/waifulib/compiler_optimizations.py#L54

a1batross commented 2 years ago

Yes, just don't include any STL headers. These are probably totally broken.