aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LUtils.pri
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-11-07 13:52:20 -0500
committerKen Moore <ken@ixsystems.com>2016-11-07 13:52:20 -0500
commit7ab900e41f5f15adccd573d459a80fe60cf6a044 (patch)
tree6effe3593f7b9f942fe7aaf5626ebe039262af3b /src-qt5/core/libLumina/LUtils.pri
parentConvert the ResizeMenu class into it's own files: (diff)
downloadlumina-7ab900e41f5f15adccd573d459a80fe60cf6a044.tar.gz
lumina-7ab900e41f5f15adccd573d459a80fe60cf6a044.tar.bz2
lumina-7ab900e41f5f15adccd573d459a80fe60cf6a044.zip
LARGE UPDATE:
1) Dismantle the Lumina library completely. 2) Setup lots of small subproject files (.pri) for the individual classes within the old library. 3) Move all the Lumina binaries to use the new subproject files 4) Split up the LuminaUtils class/files into LUtils and LDesktopUtils (generic utilities, and desktop-specific utilities)
Diffstat (limited to 'src-qt5/core/libLumina/LUtils.pri')
-rw-r--r--src-qt5/core/libLumina/LUtils.pri34
1 files changed, 34 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LUtils.pri b/src-qt5/core/libLumina/LUtils.pri
new file mode 100644
index 00000000..d5941a41
--- /dev/null
+++ b/src-qt5/core/libLumina/LUtils.pri
@@ -0,0 +1,34 @@
+#since this is the most common of the include files - make sure it only gets added once
+!contains( HEADERS, $${PWD}/LUtils.h ){
+
+include("$${PWD}/../../OS-detect.pri")
+
+QT *= concurrent
+
+#Setup any special defines (qmake -> C++)
+GIT_VERSION=$$system(git describe --always)
+!isEmpty(GIT_VERSION){
+ DEFINES += GIT_VERSION='"\\\"$${GIT_VERSION}\\\""'
+}
+#Note: Saving the build date will break reproducible builds (time stamp always different)
+# Disable this by default, but leave it possible to re-enable this as needed by user
+#DEFINES += BUILD_DATE='"\\\"$$system(date)\\\""'
+
+#LuminaOS files
+HEADERS *= $${PWD}/LuminaOS.h
+# LuminaOS support functions (or fall back to generic one)
+exists($${PWD}/LuminaOS-$${LINUX_DISTRO}.cpp){
+ SOURCES *= $${PWD}/LuminaOS-$${LINUX_DISTRO}.cpp
+}else:exists($${PWD}/LuminaOS-$${OS}.cpp){
+ SOURCES *= $${PWD}/LuminaOS-$${OS}.cpp
+}else{
+ SOURCES *= $${PWD}/LuminaOS-template.cpp
+}
+
+#LUtils Files
+SOURCES *= $${PWD}/LUtils.cpp
+HEADERS *= $${PWD}/LUtils.h
+
+INCLUDEPATH *= ${PWD}
+
+}
bgstack15