2020-03-31 19:59:02 +00:00
|
|
|
# Copyright 2019-2020, Collabora, Ltd.
|
2019-10-09 20:53:21 +00:00
|
|
|
# SPDX-License-Identifier: BSL-1.0
|
|
|
|
|
|
|
|
gui_sources = [
|
|
|
|
'gui_common.h',
|
|
|
|
'gui_imgui.h',
|
|
|
|
'gui_ogl.c',
|
|
|
|
'gui_prober.c',
|
|
|
|
'gui_scene.cpp',
|
|
|
|
'gui_scene_calibrate.c',
|
|
|
|
'gui_scene_debug.c',
|
|
|
|
'gui_scene_main_menu.c',
|
2020-10-14 19:12:33 +00:00
|
|
|
'gui_scene_remote.c',
|
2019-10-09 20:53:21 +00:00
|
|
|
'gui_scene_video.c',
|
2020-03-31 19:59:02 +00:00
|
|
|
'../../../external/imgui/imgui/cimgui.cpp',
|
|
|
|
'../../../external/imgui/imgui/cimgui.h',
|
2020-09-10 14:28:41 +00:00
|
|
|
'../../../external/imgui/imgui/cimplot.cpp',
|
|
|
|
'../../../external/imgui/imgui/cimplot.h',
|
2020-03-31 19:59:02 +00:00
|
|
|
'../../../external/imgui/imgui/imconfig.h',
|
|
|
|
'../../../external/imgui/imgui/imgui.cpp',
|
|
|
|
'../../../external/imgui/imgui/imgui.h',
|
|
|
|
'../../../external/imgui/imgui/imgui_demo.cpp',
|
|
|
|
'../../../external/imgui/imgui/imgui_draw.cpp',
|
|
|
|
'../../../external/imgui/imgui/imgui_impl_opengl3.cpp',
|
|
|
|
'../../../external/imgui/imgui/imgui_impl_opengl3.h',
|
|
|
|
'../../../external/imgui/imgui/imgui_internal.h',
|
|
|
|
'../../../external/imgui/imgui/imgui_widgets.cpp',
|
2020-09-10 14:28:41 +00:00
|
|
|
'../../../external/imgui/imgui/implot.cpp',
|
|
|
|
'../../../external/imgui/imgui/implot.h',
|
|
|
|
'../../../external/imgui/imgui/implot_internal.h',
|
|
|
|
'../../../external/imgui/imgui/implot_items.cpp',
|
2020-03-31 19:59:02 +00:00
|
|
|
'../../../external/imgui/imgui/imstb_rectpack.h',
|
|
|
|
'../../../external/imgui/imgui/imstb_textedit.h',
|
|
|
|
'../../../external/imgui/imgui/imstb_truetype.h',
|
|
|
|
'../../../external/imgui/imgui_monado/cimgui_monado.h',
|
|
|
|
'../../../external/imgui/imgui_monado/imgui_monado.cpp'
|
2019-10-09 20:53:21 +00:00
|
|
|
]
|
|
|
|
|
2020-03-02 15:44:00 +00:00
|
|
|
gui_deps = [aux, xrt_config_have]
|
2019-10-09 20:53:21 +00:00
|
|
|
|
|
|
|
lib_st_gui = static_library(
|
|
|
|
'st_gui',
|
|
|
|
files(gui_sources),
|
|
|
|
include_directories: [
|
|
|
|
xrt_include,
|
2020-10-14 19:12:33 +00:00
|
|
|
drv_include,
|
2020-03-31 19:59:02 +00:00
|
|
|
glad_include,
|
|
|
|
cjson_include,
|
|
|
|
imgui_include,
|
2019-10-09 20:53:21 +00:00
|
|
|
],
|
|
|
|
dependencies: gui_deps,
|
|
|
|
)
|