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