https://github.com/eld/cppskeleton
My personal skeleton for C++ applications
https://github.com/eld/cppskeleton
Last synced: 5 months ago
JSON representation
My personal skeleton for C++ applications
- Host: GitHub
- URL: https://github.com/eld/cppskeleton
- Owner: ELD
- License: mit
- Created: 2015-02-12T05:20:15.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-30T17:28:48.000Z (almost 11 years ago)
- Last Synced: 2025-08-31T14:40:52.350Z (10 months ago)
- Language: Makefile
- Size: 152 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# C++ Project Skeleton
This project skeleton was created for my own person needs for C++ projects. More specifically, I needed it for some school projects. The skeleton comes with a whole host of folders as well as a ready-to-use Makefile. You just need to set a few values in the Makefile corresponding to your target's name (executable) and you're ready to go. There are targets for the actual executable, one for testing, and one for experimental. The rationale behind the targets is as follows:
- The actual executable target exists to build your actual project, pretty self-explanatory
- The test target exists so you can write unit tests using a C++ framework (such as Boost Unit Test Framework) and build and run the test suites.
- The experimentals target exists so you can have a sandbox to play around in and try out without muddying up your production or testing code.
If there are any targets you won't use, just delete that segment in the Makefile, or don't call that target with the `make` command. Each of the targets are commented thoroughly for your understanding of what each oen does.
I've also set up flags for libraries and headers that you can set for your project's particular needs.