Skip to content

clemaitre58/ProjSkeletonCpp

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
 
 
 
 
 
 
 
 
 
 

Compilation

Create a build folder:

mkdir build

  • Move to the created folder:

cd build

  • Create the MakeFile via cmake:

cmake ../src

To configure to be in debug mode :

cmake -DCMAKE_BUILD_TYPE=Debug ../src

  • Compile the code to generate the executable:

make or make -j n where n is the number of cores to use for the compilation

  • A folder bin will be created at the same level as the build directory.

Remarks

  • If you add new file or remove some other, you have to create the makefile again:

cmake ../src

About

A skeleton base for your C++ projet using CMake

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published