diff options
author | Samuel Nicholas <nicholas.samuel@gmail.com> | 2024-09-21 22:38:07 +0930 |
---|---|---|
committer | Samuel Nicholas <nicholas.samuel@gmail.com> | 2024-09-21 22:38:07 +0930 |
commit | 07704f8f48308b83fc99c67b33a10027aa5a7846 (patch) | |
tree | f1023e07c965113def1f48fd924873c223c4605d /include | |
parent | 57bd88ad992da929f224f03c3dee3103bc41ee5d (diff) | |
download | redot-cpp-07704f8f48308b83fc99c67b33a10027aa5a7846.tar.gz |
VSProj Configure type on build command - to resolve #1582
Visual Studio projects are multi-config projects like Ninja-MultiConfig which means you can't set the configuration at configure time as there are multiple, it always chooses the first one by default when not specified in the build command.
Instead of this:
cmake -DCMAKE_BUILD_TYPE=Release -G"Visual Studio 17 2022" .
cmake --build . --verbose
It should be this
cmake -G"Visual Studio 17 2022" .
cmake --build . --verbose --config Release
Update ci.yml
Because the current build system doesnt use generator expressions for multi config builds, both the CMAKE_BUILD_TYPE and the build --config options need to be set
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions