Add static lib base

This commit is contained in:
Ximi1970
2020-12-23 14:53:21 +01:00
parent 8bbae0c19c
commit 07aaeb073f
4 changed files with 32 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
#
# Remove core Qt libs
#
QT -= core gui
TARGET = SysTray-X-x11
TEMPLATE = lib
CONFIG += staticlib
include(../SysTray-X.pri)
DEFINES += SysTray_X_X11_LIBRARY
#
# Clear Qt dependencies
#
QMAKE_INCDIR =
QMAKE_INCDIR_QT =
QMAKE_LIBDIR_QT =
SOURCES += systray-x-lib.cpp
HEADERS += systray-x-lib.h

View File

@@ -0,0 +1 @@
#include "systray-x-lib.h"

View File

@@ -0,0 +1,5 @@
#ifndef SYSTRAY_X_LIB_H
#define SYSTRAY_X_LIB_H
#endif // SYSTRAY_X_LIB_H

View File

@@ -9,6 +9,6 @@ include( SysTray-X.pri )
#
# The projects
#
#SUBDIRS += SysTray-X-lib-x11
SUBDIRS += SysTray-X-lib-x11
#SUBDIRS += SysTray-X-lib-win
SUBDIRS += SysTray-X-app