Skip to content

An exploration of a cmake-integrated manifest for C++ projects.

License

Notifications You must be signed in to change notification settings

sbowman-mitre/cppmanifest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cppmanifest

An exploration of a cmake-integrated manifest for C++ projects. The goal is to allow CMake to inject build meta-date into a C++ project. The build information should then queryable from within the compiled application (e.g. via CLI) and should provide build traceability. This metadata is particularly useful in environments that employ automated build pipelines (continuous integration & delivery).

Meta-data:

  • build version: DONE
  • created-by: DONE
  • build machine name DONE
  • build date, time: DONE
  • build architecture: DONE
  • gcc/c++ compiler version: DONE

Goal: Ideally, this is a header-only library with associated CMake scripts. It should be simple to incorporate these files directly into your build system with as little modification as possible.

Acknowledgements: My ideas here are based on stuff I've seen in the build system for log4cplus. So, thanks to them for the idea!

Resources: Build meta-data can be defined lots of ways. Here's a good list of the kinds of things we look for in the software world.

About

An exploration of a cmake-integrated manifest for C++ projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 67.2%
  • CMake 32.8%