Skip to content

lithiumox-codam/CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My CPP monorepo! Ubuntu Make Compile

This is my CPP monorepo. It does some cool stuff like implement clang tooling and a global makefile to build all the things. It will contain all the CPP projects I need to do in the 42 curriculum.

How to build

First off there are some dependencies you need to install. You can do so by running the following command:

sudo apt-get install -y build-essential bear clangd llvm

Or if you are on a Mac, you can use homebrew:

brew install bear clangd llvm

After you have installed these dependencies, you can build the project by running the following command in the root of the project:

make

Yes, that's it. It will build all the things. If you do want to build a specific part of the project, you can do so by going to that directory and running make there.

How to run

First go to the directory of the project you want to run, then run the executable.

Example:

cd 00/ex00
./megaphone

Contributing to this project

Unfortunately, this project is not open to contributions. It is a school project and I am not allowed to accept contributions from other people. However, if you do find a bug, feel free to open an issue and I will try to fix it as soon as possible. This helps me learn to be a better programmer. So thanks in advance!