FILE(GLOB SOURCES src/*.cpp) add_library(reading_machine STATIC ${SOURCES}) target_link_libraries(reading_machine common)