Create separate static library

This commit is contained in:
hodasemi 2019-05-01 10:52:26 +02:00
parent f2a8d58b24
commit 2be8580dce

View file

@ -1,8 +1,4 @@
project('ecg_tree', 'cpp')
files = [
'main.cpp',
'node.cpp'
]
executable('ecg_tree', files)
tree_lib = static_library('tree', 'node.cpp')
executable('ecg_tree', 'main.cpp', link_with : tree_lib)