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