The Scons float=64
option is not passed to the Visual Studio build command line with vsproj=yes
#66008
Labels
Milestone
Godot version
v4.0.beta.custom_build [57bdddc]
System information
Windows 10, Visual Studio 2019
Issue description
It seems when generating a Visual Studio project via Scons with the float=64, the generated command line doesn't include float=64 as a scon parameter.
The REAL_T_IS_DOUBLE definition does show up on the pre-processor definitions for IntelliSense, but nothing related is included in the build command lines. When building from within visual studio, this causes the build to exclude REAL_T_IS_DOUBLE.
I would expect the build/rebuild commands to include the appropriate scons paremeter (probably float=64) so that the build defines REAL_T_IS_DOUBLE when compiling from within visual studio.
Steps to reproduce
On a windows machine with visual studio, build godot with the float=64 and vsproj=yes parameters, example:
scons -j14 p=windows vsproj=yes target=release_debug float=64
Open the godot.sln file in visual studio and inspect the nmake tab of the godot project properties. The command line strings are missing float64 parameters.
The problem is more visible when creating a project:
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: