summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/imgui/meson.build
blob: d714d032f678d0825a9edf9059a5adc383a2773b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
libintel_imgui_core = static_library(
  'intel_imgui_core',
  files('imgui.cpp', 'imgui_demo.cpp', 'imgui_draw.cpp'),
  cpp_args : ['-w'],
  install: false
)

libintel_imgui_gtk_deps = [
  dependency('epoxy'),
  dependency('gtk+-3.0'),
]

libintel_imgui_gtk = static_library(
  'intel_imgui_gtk',
  files('imgui_impl_gtk3.cpp', 'imgui_impl_opengl3.cpp'),
  dependencies : libintel_imgui_gtk_deps,
  cpp_args : ['-w'],
  install: false
)

libintel_imgui_gtk_dep = declare_dependency(
  link_with: [libintel_imgui_core, libintel_imgui_gtk],
  dependencies: libintel_imgui_gtk_deps,
  include_directories: include_directories('.')
)