Sample project that shows proper modern CMake usage on a dummy library and an executable that uses it. Accompanying code to my blog post It's Time To Do CMake Right
masszhou/modern-cmake-sample
Example library that shows best practices and proper usage of CMake by using targets
CMakeMIT