From 315063ba244e7764d86a1e7250c03e1fce032474 Mon Sep 17 00:00:00 2001 From: Felix Kauselmann <2039670+selmf@users.noreply.github.com> Date: Tue, 10 May 2016 09:17:14 +0200 Subject: [PATCH] Introduce server build types 'standalone' and 'bundled' --- YACReaderLibraryServer/YACReaderLibraryServer.pro | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/YACReaderLibraryServer/YACReaderLibraryServer.pro b/YACReaderLibraryServer/YACReaderLibraryServer.pro index c1420715..667817d4 100644 --- a/YACReaderLibraryServer/YACReaderLibraryServer.pro +++ b/YACReaderLibraryServer/YACReaderLibraryServer.pro @@ -131,7 +131,16 @@ DATADIR = $$PREFIX/share DEFINES += "LIBDIR=\\\"$$LIBDIR\\\"" "DATADIR=\\\"$$DATADIR\\\"" "BINDIR=\\\"$$BINDIR\\\"" #MAKE INSTALL -INSTALLS += bin #server #translation #manpage +CONFIG(server_standalone) { + INSTALLS += bin server translation manpage +} +else:CONFIG(server_bundled) { + INSTALLS += bin +} +else { + message(No build type specified. Defaulting to standalone server build.) +} + bin.path = $$BINDIR isEmpty(DESTDIR) {