guru/media-libs/implot/files/implot-meson.build
Gonçalo Negrier Duarte 85033ed4ac
media-libs/implot: use custom meson.build instead of patch
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
2024-05-10 15:00:47 +01:00

38 lines
622 B
Plaintext

project(
'ImGui Plotting Library',
'cpp',
license : 'MIT',
version : 'PV',
)
imgui_dep=dependency('imgui', required : true)
implot_inc = include_directories('.')
implot_src = files(
'implot.cpp',
'implot_items.cpp'
)
implot_lib = library(
'implot',
implot_src,
dependencies: imgui_dep,
version: meson.project_version(),
install: true
)
pkg_mod = import('pkgconfig')
pkg_mod.generate(implot_lib,
description : 'Immediate Mode Plotting'
)
install_headers(
'implot.h',
'implot_internal.h'
)
implot_dep = declare_dependency(
link_with : implot_lib,
include_directories : implot_inc
)