https://github.com/krjordan/cpp-starter
C++ VS Code configuration for Mac
https://github.com/krjordan/cpp-starter
configuration cpp vscode
Last synced: over 1 year ago
JSON representation
C++ VS Code configuration for Mac
- Host: GitHub
- URL: https://github.com/krjordan/cpp-starter
- Owner: krjordan
- Created: 2017-03-12T00:49:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-12T00:58:43.000Z (over 9 years ago)
- Last Synced: 2025-01-21T19:13:03.237Z (over 1 year ago)
- Topics: configuration, cpp, vscode
- Language: CMake
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## C++ Starter for VS Code on Mac
Once cloned, run the following commands inside the project to get up and running:
```
mkdir Debug
cd Debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
```
This will generate a `Makefile` which can build an executable file from `main.cpp` using XCode's C++ compiler (AppleClang).
Use the `make` command to build the executable named `MAIN`.
To run the executable, use `./MAIN`.
This configuration was set up using a [blog post](http://www.suodenjoki.dk/us/archive/2016/vscode-cpp-mac.htm) by [Michael Suodenjoki](http://www.suodenjoki.dk/us/information/about_michael_suodenjoki.htm).