mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00

This adds a checkbox to enable autoplay on all websites (disabled by default) and a website list to enable autoplay on individual websites (set to file:// URLs only by default).
25 lines
776 B
CMake
25 lines
776 B
CMake
serenity_component(
|
|
BrowserSettings
|
|
RECOMMENDED
|
|
TARGETS BrowserSettings
|
|
)
|
|
|
|
compile_gml(AutoplaySettingsWidget.gml AutoplaySettingsWidgetGML.h autoplay_settings_widget_gml)
|
|
compile_gml(BrowserSettingsWidget.gml BrowserSettingsWidgetGML.h browser_settings_widget_gml)
|
|
compile_gml(ContentFilterSettingsWidget.gml ContentFilterSettingsWidgetGML.h content_filter_settings_widget_gml)
|
|
|
|
set(SOURCES
|
|
AutoplaySettingsWidget.cpp
|
|
BrowserSettingsWidget.cpp
|
|
ContentFilterSettingsWidget.cpp
|
|
main.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
AutoplaySettingsWidgetGML.h
|
|
BrowserSettingsWidgetGML.h
|
|
ContentFilterSettingsWidgetGML.h
|
|
)
|
|
|
|
serenity_app(BrowserSettings ICON app-browser)
|
|
target_link_libraries(BrowserSettings PRIVATE LibCore LibGfx LibGUI LibConfig LibMain)
|