-
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
Not able to use CMake: Build anymore since version 1.2.0 #968
Comments
Are you able to zip up the project and attach it to this issue? I don't have this problem when I run the Quick Start command on an empty folder. I selected my mingw-w64 kits (I don't have 4.9.1), but I don't think that's the part that would be causing you trouble.
I do see a different problem configuring with MinGW that I thought we fixed in 1.2.3, but it looks like that commit didn't make it in. |
I have zipped and uploaded the folder to the following url. Due to my company's proxy policies, i had to remove the binary files and rename the directory names. I hope it helps. https://drive.google.com/file/d/0B_GUKUXQhaFBbnBHZnYwV3A2M2J1MmxNU3lOSkwtQ1l3Qy1B/view?usp=drivesdk |
I recently had time to inspect this issue and realized that when Cmake Tools' new version (1.2.0 or higher) was installed the first time, the new setting |
Interesting. We don't set this anywhere in our code, so I don't see anywhere that we can add a patch for this. If it happens again, please let us know. |
Brief Issue Summary
Running "CMake: Build" command no longer builds my project. It works as expected when I rollback my extension version to 1.1.3.
Expected:
Apparent Behavior:
I have set the compiler toolchain to be GCC. ( I am using mingw-64 on Windows 7 and i have checked the paths are configured correctly. CMakeCache.txt is also configured correctly )
When i run CMake: Build, VSCode asks me to choose a build task among several tasks listed as "make: xx". When i choose make: all (or anything else in particular), VSCode tries to run the task but it fails because ""nmake" is not recognized as an internal or external command". I did not configure my environment to use nmake as i didn't intend to. The older version (1.1.3) does not ask for a build task and builds the project succesfully.
CMake Tools Log
Platform and Versions
Other Notes/Information
I have searched but haven't found an issue similar to this one.
The text was updated successfully, but these errors were encountered: