1 2 3 4 5 6 7 8
project('myexe', 'c') lib1 = static_library('lib1', 'lib1.c') lib2 = static_library('lib2', 'lib2.c') executable('myexe', 'myexe.c', link_with: [lib1, lib2])