-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.19.49 Deletes Cache on Folder Open #4018
Comments
This is likely due to the |
It seems I have a similar issue. In version v1.18.44 everything was fine and in C1.19.49 somehow the Visual studio C compiler is selected (instead of my cross-compile chain). I have The startup log at v1.18.44
And the startup log with v1.19.49
Yes, I have installed Visual studio 17. As a test I also renamed |
@the-programmer @DanKing-dev This is expected, the I'll close this issue since it's expected and controllable by a setting. Thanks for posting it! |
I'm sorry but setting Now I have to press "Clean Reconfigure All Projects" in order to trigger the issue. (Shall I make a new issue for this?) |
@the-programmer I'm not sure I'm understanding your issue. Running Is there something I'm misunderstanding about your expectations here? |
Hi @gcampbell-msft, yes there seems to be different issues in play. As seen in my first comment, cmake tools 1.19 seems to select a different compiler than with 1.18. On both versions the cmakefile is the same. Note that I and @DanKing-dev are both cross compiling. So a better title would be "cmake tools selects on 1.19 a different compiler than on 1.18 when reconfiguring" |
Okay, to fully be able to understand and investigate your issue, could you please create a new issue with a detailed repro project, repro steps, and the output of the cmake "Log Diagnostics" output? |
@DanKing-dev I wonder if your issue is actually #4005. It's using a different generator and so it's grabbing a different compiler? Are you using kits? Either way, follow the steps from my last comment in order to get the best help. Thanks. |
Brief Issue Summary
In Visual Studio Code, on opening a folder, the CMakeCache.txt file is summarily deleted.
I am using a cross-compiler and this behavior immediately breaks my ability to build my projects.
This did not happen in the previous version.
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: