Just playing with CMake ... doesn't do anything useful. I am just trying to understand CMake better.
rm -fr * && cmake -DCMAKE_INSTALL_PREFIX=/tmp .. && make
Library
+-- CMakeLists.txt
+-- standalone
| +-- CMakeLists.txt
| +-- main.cpp
+-- cmake
| +-- *-build.cmake
| +-- *Config.cmake.in
+-- examples
| +-- CMakeLists.txt
| +-- test.cpp
+-- include
| +-- library
| +-- header.h
| +-- version.h.in
+-- src
+-- source.cpp
*-build.cmake
: Common dependency finding code*Config.cmake.in
: Template CMake for once library is installedversion.h.in
: Template to create a header file with the project version in itstandalone
: A test of the installed cmake package