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
+8
View File
@@ -20,6 +20,12 @@ else ifeq ($(config),debug_64bit)
else ifeq ($(config),debug_32bit)
wren_cli_config = debug_32bit
else ifeq ($(config),64bit-no-nan-tagging_64bit)
wren_cli_config = 64bit-no-nan-tagging_64bit
else ifeq ($(config),64bit-no-nan-tagging_32bit)
wren_cli_config = 64bit-no-nan-tagging_32bit
else
$(error "invalid configuration $(config)")
endif
@@ -47,6 +53,8 @@ help:
@echo " release_32bit"
@echo " debug_64bit"
@echo " debug_32bit"
@echo " 64bit-no-nan-tagging_64bit"
@echo " 64bit-no-nan-tagging_32bit"
@echo ""
@echo "TARGETS:"
@echo " all (default)"