Toolset and Platform are swapped when reading from CMakeCache.txt #1065
Labels
bug
a bug in the product
Feature: configure
fixed (release pending)
fixed in pre-release and is pending official release
Milestone
Brief Issue Summary
When a
cmake.toolset
andcmake.platform
are set insettings.json
, they are used correctly on the first CMake configuration.After restarting VS Code, on subsequent configurations, these values are mixed up when read from
CMakeCache.txt
.In
src/drivers/cmfileap-driveri.ts
(line 68 in thedevelop
branch),toolset
should beplatform
andplatform
should betoolset
.May relate to #222.
Expected:
First CMake Configuration works, all subsequent CMake configurations work. CMake command line should be:
Apparent Behavior:
For subsequent builds, platform and toolset are reversed, resulting in the error:
Example:
settings.json
:CMake Tools Log
Platform and Versions
The text was updated successfully, but these errors were encountered: