conditional relative paths

This commit is contained in:
Gambhiro 2016-01-02 14:46:34 +00:00
parent c8e2355ec2
commit 12a9e1fb18
4 changed files with 15 additions and 4 deletions

View File

@ -60,7 +60,7 @@ HEADERS += \
$$PRJ_DIR/Variations05.h \
$$PRJ_DIR/Variations06.h \
$$PRJ_DIR/VariationsDC.h \
$$PRJ_DIR/VarFuncs.h \
$$PRJ_DIR/VarFuncs.h \
$$PRJ_DIR/Xform.h \
$$PRJ_DIR/XmlToEmber.h

View File

@ -1,7 +1,6 @@
VERSION = 0.9.9.2
# When this file is included:
# - $$(PWD) is the project folder, e.g. ./Builds/QtCreator/Ember/
message(PWD: $$(PWD))
# TODO: win32 install dirs?
@ -11,7 +10,16 @@ unix|macx {
SHARE_INSTALL_DIR = /usr/share/fractorium
}
EMBER_ROOT = ./../../../
# When loaded by QtCreator
EMBER_ROOT = $$(PWD)/../../..
# When compiling from project root
autobuild {
EMBER_ROOT = $$(PWD)/../..
}
message(EMBER_ROOT: $$EMBER_ROOT)
SRC_DIR = $$EMBER_ROOT/Source
SRC_COMMON_DIR = $$EMBER_ROOT/Source/EmberCommon
ASSETS_DIR = $$EMBER_ROOT/Data

0
Builds/create-symlinks.sh Normal file → Executable file
View File

View File

@ -1,5 +1,8 @@
TEMPLATE = subdirs
CONFIG += ordered
CONFIG += autobuild
# message(PWD: $$(PWD))
LOCAL_LIB_DIR = $$(PWD)/Builds/lib
LOCAL_INCLUDE_DIR = $$(PWD)/Builds/include