cmake_minimum_required (VERSION 3.15)
include("BuildPlugin")

set(PLUGIN_NAME "HeapAnalyzer")

find_package(Qt${QT_VERSION_MAJOR} REQUIRED Widgets Concurrent)

add_library(${PLUGIN_NAME} SHARED
	DialogHeap.cpp
	DialogHeap.h
	DialogHeap.ui
	HeapAnalyzer.cpp
	HeapAnalyzer.h
	ResultViewModel.cpp
	ResultViewModel.h
)

target_link_libraries(${PLUGIN_NAME} Qt::Widgets Qt::Concurrent edb)

build_plugin(${PLUGIN_NAME})
