简体   繁体   中英

VS Code on Windows10 + CMake extension on WSL application

I'm trying to set up my development environment to build and debug WSL application on Windows 10.

The debug part I already managed to set it to work: Windows 10's Windows Subsystem for Linux

Now the only thing I need is to integrate the CMake functionality avoiding to build manually on the bash console.

Is this possible, can we call the cmake from VS Code on a WSL application from CMake extension or using any other option (example tasks... I never use it but reading about it, it seems that it can do the work i need no?)

Thanks

In order to help others a possible solution is described here: VS Code on Windows10 + WSL application (compile and debug)

Tasks were used to solve the build issue... a better solution will be to use the CMake extension... but for now this is enough.

Thanks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM