X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2FCMakeLists.txt;h=fb702314c31b9b49bd0efa8c8bb54197c18679d0;hp=d9f46da7d48fa1a142852007f3a83cdaf9741423;hb=2facce32fb6d97b52a7dc148044cae4b36a65d4c;hpb=8f52378069b5b638dd832d1435e58e1596cc9798 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d9f46da..fb70231 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -21,8 +21,6 @@ add_executable(privacy-browser resources.qrc) # List the sources to include in the executable. target_sources(privacy-browser PRIVATE main.cpp - MouseEventFilter.cpp - UrlRequestInterceptor.cpp ) # Add the Qt logging category. This will create the `debug.h` header file. @@ -33,14 +31,16 @@ ecm_qt_declare_logging_category(privacy-browser ) # Include the KConfig controller file. -kconfig_add_kcfg_files(privacy-browser Settings.kcfgc) +kconfig_add_kcfg_files(privacy-browser settings/Settings.kcfgc) # Use KDE Frameworks to handle internationalization of the following UI files. ki18n_wrap_ui(privacy-browser - BrowserView.ui - DomainSettingsView.ui - SettingsPrivacy.ui - SettingsGeneral.ui + uis/AddOrEditCookieDialog.ui + uis/BrowserView.ui + uis/CookiesDialog.ui + uis/DomainSettingsDialog.ui + uis/SettingsGeneral.ui + uis/SettingsPrivacy.ui ) # Link the following libraries. @@ -62,10 +62,14 @@ target_link_libraries(privacy-browser ) # Add the subdirectories. +add_subdirectory(dialogs) +add_subdirectory(filters) add_subdirectory(helpers) +add_subdirectory(interceptors) +add_subdirectory(structs) +add_subdirectory(ui.rcs) add_subdirectory(views) add_subdirectory(windows) -add_subdirectory(ui.rc) # Install Privacy Browser using the default KDE arguments. install(TARGETS privacy-browser ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})