This is a base code to be used for new C++ projets.
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.
It's recommended to use this project inside VIM:
- vim -p ./build.log ./src/Main.cpp
- Use vim command mode to build: :!./build