Create separate static library
This commit is contained in:
parent
f2a8d58b24
commit
2be8580dce
1 changed files with 2 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue