vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Question: how to build dynamic library on MacOS

Open ShuminY opened this issue 8 years ago • 2 comments

How could I use VS Code to build dynamic library file (on MacOS)? I have the cpp files and would like to build them into a dynamic library file (e.g. libxxx.so, or libxxx.dylib on MacOS). Thanks!

ShuminY avatar Jul 16 '18 10:07 ShuminY

Are you able to build a dynamic library from the command line? You need to first figure out how to build from the command line and then you can use that command line in VS Code via a build task: https://code.visualstudio.com/Docs/editor/tasks .

sean-mcmanus avatar Jul 16 '18 19:07 sean-mcmanus

thank you.

ShuminY avatar Jul 17 '18 03:07 ShuminY