Reduced lib build complecsity

This commit is contained in:
ktlo
2019-10-11 11:06:21 +00:00
parent e1249f68e5
commit a45204ff0a
4 changed files with 3 additions and 11 deletions

View File

@@ -21,13 +21,7 @@ subdir('include')
subdir('src')
subdir('test')
if get_option('link_type') == 'static'
chosen_lib = static_lib
else
chosen_lib = shared_lib
endif
dep = declare_dependency(link_with : chosen_lib, include_directories : includes)
dep = declare_dependency(link_with : lib, include_directories : includes)
cppcheck = custom_target(meson.project_name() + '_cppcheck_internal',
output : meson.project_name() + '_cppcheck.log',