No description
  • Makefile 55.9%
  • Shell 35.5%
  • C++ 4.4%
  • C 4.2%
Find a file
2023-10-05 21:19:58 +02:00
src Initial commit 2023-10-05 21:02:18 +02:00
test Initial commit 2023-10-05 21:02:18 +02:00
.clang-format Initial commit 2023-10-05 21:02:18 +02:00
.gitignore Initial commit 2023-10-05 21:02:18 +02:00
config.mk Initial commit 2023-10-05 21:02:18 +02:00
makefile chore: bump vendor version to updated ones 2023-10-05 21:19:58 +02:00
package.sh chore: bump vendor version to updated ones 2023-10-05 21:19:58 +02:00
pm.sh Initial commit 2023-10-05 21:02:18 +02:00
readme.md Initial commit 2023-10-05 21:02:18 +02:00

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