Skip to content

C++ project template for out-of-source builds with multiple modules and separate header files

Notifications You must be signed in to change notification settings

vsee/makeTemplateOutOfSource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Project Template

This c++ project template supports:

  • Automatic detection of C++ sources in specified folders
  • Multiple source folders
  • Multiple corresponding target folders for object and dependency files
  • Automatic rule generation for each target folder
  • Creation of target folders when they don't exist
  • Dependency management with gcc : Build only what is necessary
  • Works on Unix and DOS systems
  • Written for GNU Make

All the credit goes to TimF. See detailed explanation in this post.

I adapted the original answer a bit and added the following features:

  • Separate header files in include folder
  • Source directory root can hold source files
  • Application binary is build in binary folder
  • Binary and Build folder are removed upon clean

About

C++ project template for out-of-source builds with multiple modules and separate header files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published