Ghibranalj / todo-cli-cpp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C/C++ project template

My barebones project structure for c and c++ with flat project structure. With barebones package manager

How it works

To build use this command:

make
# or
make all

To run executable use this command

make run

To initialize LSP for vim, emacs , or vscode

make lsp

To download packages

make package

Config

Edit config.mk

Package management

package management format

package1=("git url"
         "commit hash"
         "build command"
         "libpackage.a"
         "include dirs")

package2=("git url"
         "commit hash"
         "build command"
         "libpackage.a"
         "include dirs")
# then you need to add your package name in
PACKAGES="package1 package2"

NOTE: your package's build directory should prefereable be called build

About


Languages

Language:Makefile 55.9%Language:Shell 35.4%Language:C++ 4.4%Language:C 4.2%