From 0eab49295d8fcdea485ceabef5e6fae0381d017b Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 11 Jan 2017 16:15:28 -0500 Subject: 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. --- src-qt5/core/libLumina/LUtils.pri | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src-qt5/core/libLumina/LUtils.pri') 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 -- cgit