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
+4 -1
View File
@@ -1,5 +1,5 @@
workspace "wren-cli"
configurations { "Release", "Debug" }
configurations { "Release", "Debug", "64bit-no-nan-tagging" }
platforms { "64bit", "32bit" }
defaultplatform "64bit"
location ("../" .. _ACTION)
@@ -13,6 +13,9 @@ workspace "wren-cli"
defines { "NDEBUG" }
optimize "Full"
filter "platforms:64bit-no-nan-tagging"
defines { "WREN_NAN_TAGGING=0" }
filter "platforms:32bit"
architecture "x86"