How to specify target os in kit with toolchainFile? #4251
Replies: 2 comments 2 replies
-
@RichardLuo0 It looks to me like we get the target os from the output of the compiler test that we run here: vscode-cmake-tools/src/kits/kit.ts Line 191 in 7798425 How do you define your compiler in this kit? Having not defined your compiler may be the issue here. Outside of this, I'd encourage you to make use of CMakePresets rather than Kits, since this is what we primarily support and it is officially supported by Kitware (developer of CMake). Thanks! |
Beta Was this translation helpful? Give feedback.
-
@RichardLuo0 Then there is a possibility that this is a bug, could you create an issue for this and we can investigate it further when we can ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a kit like this;
It seems the ${buildKitTargetOs} becomes unknown. so how do I specify the target os?
Beta Was this translation helpful? Give feedback.
All reactions