mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: allow disabling the GTK interface with --disable-gtk
For some systems, such as embedded Linux including ARM, we might want to just compile libsysprof/sysprof-cli without the GTK user interface. This allows for that. You can copy the capture files to your visualization host to render the results.
This commit is contained in:
@ -116,6 +116,8 @@ libsysprof_@API_VERSION@_la_LDFLAGS = \
|
||||
$(NULL)
|
||||
|
||||
|
||||
if ENABLE_GTK
|
||||
|
||||
# This is our GTK library containing the widgets suitable for viewing
|
||||
# and manipulating the various profiler API in libsysprof. This is
|
||||
# meant to be used by IDEs and the sysprof gui.
|
||||
@ -181,5 +183,7 @@ glib_resources_h = sp-resources.h
|
||||
glib_resources_namespace = sp
|
||||
include $(top_srcdir)/gresources.mk
|
||||
|
||||
endif
|
||||
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
||||
|
||||
Reference in New Issue
Block a user