mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 23:39:00 -04:00
38 lines
622 B
Plaintext
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
|
|
)
|