CMAKE Built task as root #3285
Closed
trolledbypro
started this conversation in
Ideas
Replies: 2 comments
-
I think this is related to some other feature requests in cpptools and cmake-tools: You should probably create a feature request ticket and comment and upvote the related once. I guess this could be generalized to execute the build/install as any user. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing in favor of tracking the various issues linked above. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings, I have several CMAKE projects (such as https://github.com/mavlink/MAVSDK) that require root access to build the project with the install target, as they install system wide into "C:\Program Files" and /usr/local/lib on Windows and Linux respectively.
Is there a possibility of having a feature where the CMAKE build task defined in tasks.json can have a "asRoot" option where the t ask can be run as root (and password entered as if you run a normal vscode task as sudo)?
Beta Was this translation helpful? Give feedback.
All reactions