The "Chewbacca! What a wookie!" project implements a simple app and library. It's trivial code that uses the different compile and link boundaries. The CMakeLists.txt files show the important parts - setting up unit tests for the different kinds of circumstances, and verifying the builds work as expected.