project('file name matches module name', 'swift') lib = static_library('Library', 'Library.swift', 'Library2.swift') executable('program', 'main.swift', link_with: [lib])