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