summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt171
1 files changed, 9 insertions, 162 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e71d4184..a48bed28 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -3,151 +3,21 @@
ADD_SUBDIRECTORY( data )
add_subdirectory(plugins)
+### ------- sources --------
-### ------- SETTING REKONQ FILES..
-add_definitions(-DQT_STATICPLUGIN)
-#QT4_WRAP_CPP(wk_HEADERS_MOC qwebkitplatformplugin.h)
-
-# src files
-set(rekonq_KDEINIT_SRCS
- #----------------------------------------
- autosaver.cpp
- searchengine.cpp
- sessionmanager.cpp
- sessionwidget.cpp
- urlresolver.cpp
- websnap.cpp
- #----------------------------------------
- adblock/adblockelementhiding.cpp
- adblock/adblockhostmatcher.cpp
- adblock/adblockmanager.cpp
- adblock/adblockrule.cpp
- adblock/adblockrulefallbackimpl.cpp
- adblock/adblockrulenullimpl.cpp
- adblock/adblockruletextmatchimpl.cpp
- adblock/adblocksettingwidget.cpp
- #----------------------------------------
- bookmarks/bookmarkmanager.cpp
- bookmarks/bookmarkscontextmenu.cpp
- bookmarks/bookmarksmenu.cpp
- bookmarks/bookmarkstoolbar.cpp
- bookmarks/bookmarkstreemodel.cpp
- bookmarks/bookmarkowner.cpp
- #----------------------------------------
- download/downloaditem.cpp
- download/downloadmanager.cpp
- #----------------------------------------
- history/historymanager.cpp
- history/historymodels.cpp
- #----------------------------------------
- icons/icondownloader.cpp
- icons/iconmanager.cpp
- icons/webicon.cpp
- #----------------------------------------
- panels/bookmarkspanel.cpp
- panels/historypanel.cpp
- panels/paneltreeview.cpp
- panels/urlfilterproxymodel.cpp
- panels/urlpanel.cpp
+# rekonq
+set(rekonq_SRCS
#----------------------------------------
- rekonqpage/newtabpage.cpp
- rekonqpage/thumbupdater.cpp
- #----------------------------------------
- settings/settingsdialog.cpp
- settings/appearancewidget.cpp
- settings/advancedwidget.cpp
- settings/generalwidget.cpp
- settings/privacywidget.cpp
- settings/tabswidget.cpp
- settings/webkitwidget.cpp
- settings/passexceptionswidget.cpp
- #----------------------------------------
- sync/ftpsynchandler.cpp
- sync/googlesynchandler.cpp
- sync/syncassistant.cpp
- sync/synchandler.cpp
- sync/syncmanager.cpp
- #
- sync/synccheckwidget.cpp
- sync/syncdatawidget.cpp
- sync/synchosttypewidget.cpp
- sync/syncftpsettingswidget.cpp
- sync/sshsynchandler.cpp
- sync/syncgooglesettingswidget.cpp
- sync/syncoperasettingswidget.cpp
- sync/syncsshsettingswidget.cpp
- #----------------------------------------
- tabwindow/rwindow.cpp
- tabwindow/rekonqwindow.cpp
- tabwindow/tabbar.cpp
- tabwindow/tabhighlighteffect.cpp
- tabwindow/tabpreviewpopup.cpp
- tabwindow/tabwidget.cpp
- #----------------------------------------
- urlbar/urlbar.cpp
- urlbar/completionwidget.cpp
- urlbar/listitem.cpp
- urlbar/adblockwidget.cpp
- urlbar/bookmarkwidget.cpp
- urlbar/rsswidget.cpp
- urlbar/sslwidget.cpp
- urlbar/urlsuggester.cpp
- #----------------------------------------
- useragent/useragentinfo.cpp
- useragent/useragentmanager.cpp
- useragent/useragentwidget.cpp
- #----------------------------------------
- webtab/clicktoflash.cpp
- webtab/crashmessagebar.cpp
- webtab/networkaccessmanager.cpp
- webtab/previewselectorbar.cpp
- webtab/protocolhandler.cpp
- webtab/knetworkaccessmanager.cpp
- webtab/searchenginebar.cpp
- webtab/sslinfodialog.cpp
- webtab/walletbar.cpp
- webtab/webpage.cpp
- webtab/webpluginfactory.cpp
- webtab/websslinfo.cpp
- webtab/webview.cpp
- webtab/webtab.cpp
+ main.cpp application.cpp application_instance.cpp application.hpp
#----------------------------------------
- webwindow/findbar.cpp
- webwindow/maintoolbar.cpp
- webwindow/rekonqfactory.cpp
- webwindow/rekonqmenu.cpp
- webwindow/webwindow.cpp
+ mainwindow/rekonqwindow.cpp mainwindow/rekonqwindow.h mainwindow/rekonqwindow.ui
+ mainwindow/taskmanager.cpp mainwindow/taskmanager.h mainwindow/taskmanager.ui
#----------------------------------------
- kspellplugin.cpp
- ${wk_HEADERS_MOC}
- # ----------------------------------------
- adblock/blocked_elements.ui
- adblock/settings_adblock.ui
+ plugins/rplugininterface.hpp plugins/rview.hpp
#----------------------------------------
- settings/settings_general.ui
- settings/settings_tabs.ui
- settings/settings_appearance.ui
- settings/settings_webkit.ui
- settings/settings_advanced.ui
- settings/settings_privacy.ui
- settings/password_exceptions.ui
- # ----------------------------------------
- sync/sync_check.ui
- sync/sync_data.ui
- sync/sync_ftp_settings.ui
- sync/sync_google_settings.ui
- sync/sync_opera_settings.ui
- sync/sync_ssh_settings.ui
- sync/sync_host_type.ui
- # ----------------------------------------
- useragent/useragentsettings.ui
- # ----------------------------------------
- webtab/sslinfo.ui
- # ----------------------------------------
- cleardata.ui
- session.ui
- webappcreation.ui
)
+list(TRANSFORM rekonq_SRCS PREPEND src/)
+set(rekonq_SRCS ${rekonq_SRCS} PARENT_SCOPE)
# Nepomuk OPTIONAL src files
@@ -196,11 +66,6 @@ IF(KActivities_FOUND)
ENDIF(KActivities_FOUND)
-### -------------- ADDING DEFINITIONS...
-
-ADD_DEFINITIONS ( ${KDE4_DEFINITIONS} )
-
-
### -------------- ADDING APPLICATION ICON...
#KDE4_ADD_APP_ICON( rekonq_KDEINIT_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../icons/hi*-app-rekonq.png )
@@ -211,26 +76,8 @@ ADD_DEFINITIONS ( ${KDE4_DEFINITIONS} )
#KDE4_ADD_KCFG_FILES( rekonq_KDEINIT_SRCS rekonq.kcfgc )
-### --------------- ADDING EXECUTABLE...
-
-#KDE4_ADD_KDEINIT_EXECUTABLE( rekonq ${rekonq_KDEINIT_SRCS} main.cpp )
-add_executable(rekonq
- main.cpp application.cpp application_instance.cpp application.hpp
- # ----------------------------------------
- mainwindow/rekonqwindow.cpp mainwindow/rekonqwindow.h mainwindow/rekonqwindow.ui
- mainwindow/taskmanager.cpp mainwindow/taskmanager.h mainwindow/taskmanager.ui
- # ----------------------------------------
- plugins/rplugininterface.hpp plugins/rview.hpp
-)
-
-
### --------------- TARGETTING LINK LIBRARIES...
-target_link_libraries(rekonq
- Qt6::Widgets
- SingleApplication::SingleApplication
- pluginloader
-)
# Nepomuk optional target link libraries
IF(SOPRANO_FOUND AND NepomukCore_FOUND)