From 1f85a65078815b56bbb5581675b4f6e3253d8d9f Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Thu, 25 Oct 2018 12:47:39 +0200 Subject: Remove CMakeLists --- plugins/ConfigurationEditor/CMakeLists.txt | 30 ------------------- plugins/ProfileEditor/CMakeLists.txt | 47 ------------------------------ 2 files changed, 77 deletions(-) delete mode 100644 plugins/ConfigurationEditor/CMakeLists.txt delete mode 100644 plugins/ProfileEditor/CMakeLists.txt (limited to 'plugins') diff --git a/plugins/ConfigurationEditor/CMakeLists.txt b/plugins/ConfigurationEditor/CMakeLists.txt deleted file mode 100644 index 7eb6de4..0000000 --- a/plugins/ConfigurationEditor/CMakeLists.txt +++ /dev/null @@ -1,30 +0,0 @@ -find_package(Qt5Core REQUIRED) -find_package(Qt5Widgets REQUIRED) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTOUIC ON) - -add_library(ConfigurationEditorPlugin SHARED - ${CMAKE_SOURCE_DIR}/include/plugininterface.h - ${CMAKE_SOURCE_DIR}/include/browserinterface.h - - configurationeditorplugin.cpp - configurationeditorplugin.h - forms/configurationdialog.cpp - forms/configurationdialog.h - forms/configurationdialog.ui -) - -target_include_directories(ConfigurationEditorPlugin - PRIVATE ${CMAKE_SOURCE_DIR}/include -) - -target_link_libraries(ConfigurationEditorPlugin - PRIVATE Qt5::Widgets -) - -if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") - install(TARGETS ConfigurationEditorPlugin RUNTIME DESTINATION ${CONFIG_INSTALL_PLUGINDIR} CONFIGURATIONS Release) -else() - install(TARGETS ConfigurationEditorPlugin LIBRARY DESTINATION ${CONFIG_INSTALL_PLUGINDIR} CONFIGURATIONS Release) -endif() diff --git a/plugins/ProfileEditor/CMakeLists.txt b/plugins/ProfileEditor/CMakeLists.txt deleted file mode 100644 index 25a9638..0000000 --- a/plugins/ProfileEditor/CMakeLists.txt +++ /dev/null @@ -1,47 +0,0 @@ -find_package(Qt5Core REQUIRED) -find_package(Qt5Widgets REQUIRED) -find_package(Qt5WebEngineWidgets REQUIRED) - -# Find includes in corresponding build directories -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTOUIC ON) - -add_library(ProfileEditorPlugin SHARED - ${CMAKE_SOURCE_DIR}/include/profileinterface.h - ${CMAKE_SOURCE_DIR}/include/browserinterface.h - ${CMAKE_SOURCE_DIR}/include/plugininterface.h - - profileeditorplugin.cpp - profileeditorplugin.h - - forms/profilemanagerdialog.cpp - forms/profilemanagerdialog.h - forms/profilemanagerdialog.ui - forms/profileview.cpp - forms/profileview.h - forms/profileview.ui - - forms/newprofiledialog.cpp - forms/newprofiledialog.h - forms/newprofiledialog.ui - forms/newhttpheaderdialog.cpp - forms/newhttpheaderdialog.h - forms/newhttpheaderdialog.ui -) - -target_include_directories(ProfileEditorPlugin - PRIVATE ${CMAKE_SOURCE_DIR}/include -) - -target_link_libraries(ProfileEditorPlugin - PRIVATE Qt5::Widgets - PRIVATE Qt5::WebEngineWidgets -) - -if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") - install(TARGETS ProfileEditorPlugin RUNTIME DESTINATION ${CONFIG_INSTALL_PLUGINDIR} CONFIGURATIONS Release) -else() - install(TARGETS ProfileEditorPlugin LIBRARY DESTINATION ${CONFIG_INSTALL_PLUGINDIR} CONFIGURATIONS Release) -endif() -- cgit v1.2.1