From 914cccd5d2d6b5439ddc024b2fa5b45b46ef186f Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sat, 9 May 2015 22:35:17 -0700 Subject: [PATCH] * Re-add install configuration --- Athena.pro | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Athena.pro b/Athena.pro index ebf3c48..b8da3e8 100644 --- a/Athena.pro +++ b/Athena.pro @@ -39,3 +39,25 @@ include(Athena.pri) OTHER_FILES += \ .travis.yml +unix { + isEmpty(PREFIX) { + PREFIX = /usr/local + } + libFiles.path = $$PREFIX/lib + libFiles.files = $$PWD/lib/* + headerFiles.files = $$PWD/include/* + headerFiles.path = $$PREFIX/include/Athena + INSTALLS += libFiles headerFiles +} + +win32 { + isEmpty(PREFIX) { + PREFIX = $$PWD/pkg + } + + libFiles.path = $$PREFIX/lib + libFiles.files = $$PWD/lib/* + headerFiles.path = $$PREFIX/include/Athena + headerFiles.files = $$PWD/include/* + INSTALLS += libFiles headerFiles +}