cmake example program and library