Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krjordan/cpp-starter
C++ VS Code configuration for Mac
https://github.com/krjordan/cpp-starter
configuration cpp vscode
Last synced: 21 days 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 (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-12T00:58:43.000Z (almost 8 years ago)
- Last Synced: 2024-11-21T00:27:50.673Z (3 months 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).