mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
remove QtCreator project file
This commit is contained in:
parent
1dd5fa0103
commit
e012b53663
@ -1,83 +0,0 @@
|
|||||||
TARGET = gpclient
|
|
||||||
|
|
||||||
QT += core gui network websockets dbus webenginewidgets
|
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
||||||
|
|
||||||
CONFIG += c++11
|
|
||||||
|
|
||||||
include(../singleapplication/singleapplication.pri)
|
|
||||||
DEFINES += QAPPLICATION_CLASS=QApplication
|
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
|
||||||
# any Qt feature that has been marked deprecated (the exact warnings
|
|
||||||
# depend on your compiler). Please consult the documentation of the
|
|
||||||
# deprecated API in order to know how to port your code away from it.
|
|
||||||
DEFINES += QT_DEPRECATED_WARNINGS
|
|
||||||
|
|
||||||
INCLUDEPATH += ../plog/include
|
|
||||||
|
|
||||||
# You can also make your code fail to compile if it uses deprecated APIs.
|
|
||||||
# In order to do so, uncomment the following line.
|
|
||||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
||||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
||||||
SOURCES += \
|
|
||||||
cdpcommand.cpp \
|
|
||||||
cdpcommandmanager.cpp \
|
|
||||||
enhancedwebview.cpp \
|
|
||||||
gatewayauthenticator.cpp \
|
|
||||||
gatewayauthenticatorparams.cpp \
|
|
||||||
gpgateway.cpp \
|
|
||||||
gphelper.cpp \
|
|
||||||
loginparams.cpp \
|
|
||||||
main.cpp \
|
|
||||||
normalloginwindow.cpp \
|
|
||||||
portalauthenticator.cpp \
|
|
||||||
portalconfigresponse.cpp \
|
|
||||||
preloginresponse.cpp \
|
|
||||||
samlloginwindow.cpp \
|
|
||||||
gpclient.cpp \
|
|
||||||
settingsdialog.cpp
|
|
||||||
|
|
||||||
HEADERS += \
|
|
||||||
cdpcommand.h \
|
|
||||||
cdpcommandmanager.h \
|
|
||||||
enhancedwebview.h \
|
|
||||||
gatewayauthenticator.h \
|
|
||||||
gatewayauthenticatorparams.h \
|
|
||||||
gpgateway.h \
|
|
||||||
gphelper.h \
|
|
||||||
loginparams.h \
|
|
||||||
normalloginwindow.h \
|
|
||||||
portalauthenticator.h \
|
|
||||||
portalconfigresponse.h \
|
|
||||||
preloginresponse.h \
|
|
||||||
samlloginwindow.h \
|
|
||||||
gpclient.h \
|
|
||||||
settingsdialog.h
|
|
||||||
|
|
||||||
FORMS += \
|
|
||||||
gpclient.ui \
|
|
||||||
normalloginwindow.ui \
|
|
||||||
settingsdialog.ui
|
|
||||||
|
|
||||||
DBUS_INTERFACES += ../GPService/gpservice.xml
|
|
||||||
|
|
||||||
# Default rules for deployment.
|
|
||||||
target.path = /usr/bin
|
|
||||||
INSTALLS += target
|
|
||||||
|
|
||||||
DISTFILES += \
|
|
||||||
com.yuezk.qt.GPClient.svg \
|
|
||||||
com.yuezk.qt.gpclient.desktop
|
|
||||||
|
|
||||||
desktop_entry.path = /usr/share/applications/
|
|
||||||
desktop_entry.files = com.yuezk.qt.gpclient.desktop
|
|
||||||
|
|
||||||
desktop_icon.path = /usr/share/pixmaps/
|
|
||||||
desktop_icon.files = com.yuezk.qt.GPClient.svg
|
|
||||||
|
|
||||||
INSTALLS += desktop_entry desktop_icon
|
|
||||||
|
|
||||||
RESOURCES += \
|
|
||||||
resources.qrc
|
|
@ -1,52 +0,0 @@
|
|||||||
TARGET = gpservice
|
|
||||||
|
|
||||||
QT += dbus
|
|
||||||
QT -= gui
|
|
||||||
|
|
||||||
CONFIG += c++11 console
|
|
||||||
CONFIG -= app_bundle
|
|
||||||
|
|
||||||
include(../singleapplication/singleapplication.pri)
|
|
||||||
DEFINES += QAPPLICATION_CLASS=QCoreApplication
|
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
|
||||||
# any Qt feature that has been marked deprecated (the exact warnings
|
|
||||||
# depend on your compiler). Please consult the documentation of the
|
|
||||||
# deprecated API in order to know how to port your code away from it.
|
|
||||||
DEFINES += QT_DEPRECATED_WARNINGS
|
|
||||||
|
|
||||||
# You can also make your code fail to compile if it uses deprecated APIs.
|
|
||||||
# In order to do so, uncomment the following line.
|
|
||||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
||||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
||||||
|
|
||||||
HEADERS += \
|
|
||||||
gpservice.h \
|
|
||||||
sigwatch.h
|
|
||||||
|
|
||||||
SOURCES += \
|
|
||||||
gpservice.cpp \
|
|
||||||
main.cpp \
|
|
||||||
sigwatch.cpp
|
|
||||||
|
|
||||||
DBUS_ADAPTORS += gpservice.xml
|
|
||||||
|
|
||||||
# Default rules for deployment.
|
|
||||||
target.path = /usr/bin
|
|
||||||
INSTALLS += target
|
|
||||||
|
|
||||||
DISTFILES += \
|
|
||||||
dbus/com.yuezk.qt.GPService.conf \
|
|
||||||
dbus/com.yuezk.qt.GPService.service \
|
|
||||||
systemd/gpservice.service
|
|
||||||
|
|
||||||
dbus_config.path = /usr/share/dbus-1/system.d/
|
|
||||||
dbus_config.files = dbus/com.yuezk.qt.GPService.conf
|
|
||||||
|
|
||||||
dbus_service.path = /usr/share/dbus-1/system-services/
|
|
||||||
dbus_service.files = dbus/com.yuezk.qt.GPService.service
|
|
||||||
|
|
||||||
systemd_service.path = /etc/systemd/system/
|
|
||||||
systemd_service.files = systemd/gpservice.service
|
|
||||||
|
|
||||||
INSTALLS += dbus_config dbus_service systemd_service
|
|
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
|
||||||
<node>
|
|
||||||
<interface name="com.yuezk.qt.GPService">
|
|
||||||
<signal name="connected">
|
|
||||||
</signal>
|
|
||||||
<signal name="disconnected">
|
|
||||||
</signal>
|
|
||||||
<signal name="logAvailable">
|
|
||||||
<arg name="log" type="s" />
|
|
||||||
</signal>
|
|
||||||
<signal name="error">
|
|
||||||
<arg name="errorMessage" type="s" />
|
|
||||||
</signal>
|
|
||||||
<method name="connect">
|
|
||||||
<arg name="server" type="s" direction="in"/>
|
|
||||||
<arg name="username" type="s" direction="in"/>
|
|
||||||
<arg name="passwd" type="s" direction="in"/>
|
|
||||||
<arg name="extraArgs" type="s" direction="in"/>
|
|
||||||
</method>
|
|
||||||
<method name="disconnect">
|
|
||||||
</method>
|
|
||||||
<method name="status">
|
|
||||||
<arg type="i" direction="out"/>
|
|
||||||
</method>
|
|
||||||
</interface>
|
|
||||||
</node>
|
|
@ -1,5 +0,0 @@
|
|||||||
TEMPLATE = subdirs
|
|
||||||
|
|
||||||
SUBDIRS += \
|
|
||||||
GPClient \
|
|
||||||
GPService
|
|
@ -2,23 +2,16 @@ include(ExternalProject)
|
|||||||
|
|
||||||
function(add_3rdparty NAME)
|
function(add_3rdparty NAME)
|
||||||
set(oneValueArgs GIT_REPOSITORY GIT_TAG)
|
set(oneValueArgs GIT_REPOSITORY GIT_TAG)
|
||||||
cmake_parse_arguments(add_3rdparty_args "EXCLUDE_FROM_ALL" "${oneValueArgs}" "" ${ARGN})
|
cmake_parse_arguments(add_3rdparty_args "${oneValueArgs}" "" ${ARGN})
|
||||||
|
|
||||||
if(EXISTS "${CMAKE_SOURCE_DIR}/3rdparty/${NAME}/CMakeLists.txt")
|
if(EXISTS "${CMAKE_SOURCE_DIR}/3rdparty/${NAME}/CMakeLists.txt")
|
||||||
message(STATUS "Found third party locally for ${NAME}")
|
message(STATUS "Found third party locally for ${NAME}")
|
||||||
|
|
||||||
if(${add_3rdparty_args_EXCLUDE_FROM_ALL})
|
|
||||||
set(addSubdirectoryExtraArgs EXCLUDE_FROM_ALL)
|
|
||||||
else()
|
|
||||||
set(addSubdirectoryExtraArgs "")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
ExternalProject_Add(
|
ExternalProject_Add(
|
||||||
${NAME}-${PROJECT_NAME}
|
${NAME}-${PROJECT_NAME}
|
||||||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/${NAME}
|
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/${NAME}
|
||||||
SOURCE_DIR "${CMAKE_SOURCE_DIR}/3rdparty/${NAME}"
|
SOURCE_DIR "${CMAKE_SOURCE_DIR}/3rdparty/${NAME}"
|
||||||
INSTALL_COMMAND ""
|
INSTALL_COMMAND ""
|
||||||
${addSubdirectoryExtraArgs}
|
|
||||||
"${add_3rdparty_args_UNPARSED_ARGUMENTS}"
|
"${add_3rdparty_args_UNPARSED_ARGUMENTS}"
|
||||||
)
|
)
|
||||||
return()
|
return()
|
||||||
|
Loading…
Reference in New Issue
Block a user