GNU style projects typically have a main directory that contains include and src subdirectories. The src directory in turn contains directories for libraries and applications. This is a brief example of such a project using CMake. The heirarchy is as follows:
- yo.h (the header file for the library)
- hello.c (the application)
- yo.c (the trivial library)
The tarball for the project is available here
This page was initially populated by conversion from its original location in another wiki.