Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc The CXX compiler identification is AppleClang 8.042 The C compiler identification is AppleClang 8.042 That’ll generate the “tasks.json” file that looks as follows: On VSC type ⇧+⌘+P and type “Tasks”, then select the one with the nameįrom the list pick the one labeled as “Others”: “includePath” array is the place to add more paths so VSC can The c_cpp_properties.json file generated is enough for this articleīut if you require to use other third party libraries, the Labeled “name”: “Mac”, but what we’ll do here shold be aplicable to
Given that this article is focused on Mac OS X, we will use the section To Install the Microsoft C/C++ extension: Pure C++ you can install any of the previously mentioned orĪnd paste the following commands, then press enter.] IOS projects so is convenient, but if you are only interested on In my case I have already installed Xcode that I use for my
I started using Xcode on Mac OS X (now macOS). Quite a bunch of interesting tools to work with C++ on this field I’ve been working for almost a year implementing micro-services on C++11 Article Source: C++ Development using Visual Studio Code, CMake and LLDBĬ++ Development using Visual Studio Code, CMake and LLDB.