diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-25 12:47:39 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-25 12:47:39 +0200 |
commit | 1f85a65078815b56bbb5581675b4f6e3253d8d9f (patch) | |
tree | ec48e9f100e8550442f27cdd819512e829789b7e /plugins | |
parent | Use vcs_tag to get version information (diff) | |
download | smolbote-1f85a65078815b56bbb5581675b4f6e3253d8d9f.tar.xz |
Remove CMakeLists
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ConfigurationEditor/CMakeLists.txt | 30 | ||||
-rw-r--r-- | plugins/ProfileEditor/CMakeLists.txt | 47 |
2 files changed, 0 insertions, 77 deletions
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() |