1# Get opennpower-libhei dependencies. If not available via package manager
2# "fallback" to using the local libhei subproject.
3libhei_dep = dependency('libhei', fallback : ['libhei', 'libhei_dep'])
4
5# gather analyzer sources to be used here and elsewhere if needed
6analyzer_src = files('analyzer_main.cpp', 'user_interface.cpp')
7
8# Create hardware error analyzer library
9analyzer = static_library('analyzer',
10                          analyzer_src,
11                          dependencies : libhei_dep,
12                          install : true)
13