feat: add 64bit-no-nan-tagging build config across gmake, premake, vs2017, and vs2019 projects

Introduce new build configuration "64bit-no-nan-tagging" for both 64-bit and 32-bit platforms, defining WREN_NAN_TAGGING=0 to disable NaN tagging in the Wren CLI. Update Makefiles, premake5.lua, and Visual Studio solution/project files to support the new config with appropriate compiler flags, linker settings, and platform-specific defines (e.g., _GNU_SOURCE on Linux, _DARWIN_* on macOS).
This commit is contained in:
underscorediscovery
2020-05-28 04:51:00 +00:00
parent eab98f879e
commit 68902e25e9
12 changed files with 304 additions and 2 deletions
+6
View File
@@ -5,14 +5,20 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wren_cli", "wren_cli.vcxpro
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
64bit-no-nan-tagging|64bit = 64bit-no-nan-tagging|64bit
Debug|64bit = Debug|64bit
Release|64bit = Release|64bit
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
64bit-no-nan-tagging|32bit = 64bit-no-nan-tagging|32bit
Debug|32bit = Debug|32bit
Release|32bit = Release|32bit
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F8A65189-E473-AC94-0D8D-9A3CF9B8E122}.64bit-no-nan-tagging|32bit.ActiveCfg = 64bit-no-nan-tagging 32bit|Win32
{F8A65189-E473-AC94-0D8D-9A3CF9B8E122}.64bit-no-nan-tagging|32bit.Build.0 = 64bit-no-nan-tagging 32bit|Win32
{F8A65189-E473-AC94-0D8D-9A3CF9B8E122}.64bit-no-nan-tagging|64bit.ActiveCfg = 64bit-no-nan-tagging 64bit|x64
{F8A65189-E473-AC94-0D8D-9A3CF9B8E122}.64bit-no-nan-tagging|64bit.Build.0 = 64bit-no-nan-tagging 64bit|x64
{F8A65189-E473-AC94-0D8D-9A3CF9B8E122}.Debug|32bit.ActiveCfg = Debug 32bit|Win32
{F8A65189-E473-AC94-0D8D-9A3CF9B8E122}.Debug|32bit.Build.0 = Debug 32bit|Win32
{F8A65189-E473-AC94-0D8D-9A3CF9B8E122}.Debug|64bit.ActiveCfg = Debug 64bit|x64