project('ecg_tree', 'cpp') tree_lib = static_library('tree', 'node.cpp') executable('ecg_tree', 'main.cpp', link_with : tree_lib)