add_executable(clock main.cpp) target_link_libraries(clock PRIVATE ds3231) add_custom_command(TARGET clock POST_BUILD COMMAND ${CMAKE_SIZE} $)