PROJECT (MATHLIB CXX) LIST ( APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/ ) SET ( SRCS mathlib.cc main.cc ) ADD_LIBRARY ( mathlib STATIC mathlib.cc mathlib.h)