Skip to content

chaseklvk/vscode-cpp-template

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 

Template for CS20 C++ Projects in VSCode

Place all .cpp files in the src directory Place all .hpp files in the include directory

Follow these instructions to install CMake: https://cmake.org/install/ Once installed, run the following commands from the top level directory (Mac only):

mkdir Debug
cd Debug
cmake .. -DCMAKE_BUILD_TYPE=Debug

Once you run the cmake command, cmake will generate all the necessary build files. Once completed the Debug folder should now contain a tradition "make file"

Run:

make

to build your project. Then run:

./main

to run your project.

About

CPP VSCode template with CMAKE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published