Skip to content

eranik/clean-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

clean-cpp

The no clutter base code for C++ projects with cmake.

This is a base code to be used for new C++ projets.

Features

Provides following features:

  • Shows duration fo each operation.
  • Showing messages in termianl and logging it to build.log.
  • Simply build the project: ./build
  • Clean the project with a simple argument: ./build c, ./build -c, ./build --clean
  • Full build (clean, then build) the project with a simple argument: ./build f, ./build -f, ./build --full

After building the app, named my-app, will be copied to root directory of the project.

A useful CMakeLists.txt has been written for the project.

VIM friendly development

It's recommended to use this project inside VIM:

  1. vim -p ./build.log ./src/Main.cpp
  2. Use vim command mode to build: :!./build

About

Base code to be used for new C++ projects.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published