diff options
author | Ken Moore <ken@ixsystems.com> | 2017-01-11 16:15:28 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-01-11 16:15:28 -0500 |
commit | 0eab49295d8fcdea485ceabef5e6fae0381d017b (patch) | |
tree | 6ae4eed91d58c1f5a4ca99f109c8a97f6b136162 /src-qt5/core/libLumina/LUtils.pri | |
parent | Remove the "detach" option from the ExternalProcess class. Need to find out t... (diff) | |
download | lumina-0eab49295d8fcdea485ceabef5e6fae0381d017b.tar.gz lumina-0eab49295d8fcdea485ceabef5e6fae0381d017b.tar.bz2 lumina-0eab49295d8fcdea485ceabef5e6fae0381d017b.zip |
Add a new OSInterface class to libLumina. This will eventually replace most of the LuminaOS class, but is not hooked in to be used yet.
Diffstat (limited to 'src-qt5/core/libLumina/LUtils.pri')
-rw-r--r-- | src-qt5/core/libLumina/LUtils.pri | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/LUtils.pri b/src-qt5/core/libLumina/LUtils.pri index d5941a41..6ce0839c 100644 --- a/src-qt5/core/libLumina/LUtils.pri +++ b/src-qt5/core/libLumina/LUtils.pri @@ -3,7 +3,7 @@ include("$${PWD}/../../OS-detect.pri") -QT *= concurrent +QT *= concurrent network #Setup any special defines (qmake -> C++) GIT_VERSION=$$system(git describe --always) @@ -15,7 +15,9 @@ GIT_VERSION=$$system(git describe --always) #DEFINES += BUILD_DATE='"\\\"$$system(date)\\\""' #LuminaOS files -HEADERS *= $${PWD}/LuminaOS.h +HEADERS *= $${PWD}/LuminaOS.h \ + $${PWD}/OSInterface.h + # LuminaOS support functions (or fall back to generic one) exists($${PWD}/LuminaOS-$${LINUX_DISTRO}.cpp){ SOURCES *= $${PWD}/LuminaOS-$${LINUX_DISTRO}.cpp @@ -24,6 +26,13 @@ exists($${PWD}/LuminaOS-$${LINUX_DISTRO}.cpp){ }else{ SOURCES *= $${PWD}/LuminaOS-template.cpp } +exists($${PWD}/OSInterface-$${LINUX_DISTRO}.cpp){ + SOURCES *= $${PWD}/OSInterface-$${LINUX_DISTRO}.cpp +}else:exists($${PWD}/OSInterface-$${OS}.cpp){ + SOURCES *= $${PWD}/OSInterface-$${OS}.cpp +}else{ + SOURCES *= $${PWD}/OSInterface-template.cpp +} #LUtils Files SOURCES *= $${PWD}/LUtils.cpp |