diff options
author | Pierre Rossi <pierre.rossi@digia.com> | 2013-05-24 17:20:33 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-31 10:55:53 +0200 |
commit | c5a19a2599298da6c1fc3d3602a1d9ef787704c6 (patch) | |
tree | c938646373944999522889e63794808ef2c4ab6c /example | |
parent | 252c0e77614b8f2bfb2a4cb12287453df6653ffc (diff) |
Ease the switching between Debug and Release builds
Change the semantics of getOutDir, introduce getConfigDir.
Rely on Gyp's configurations mechanism to get a sensible
path for the BLINQ_PROCESS_PATH in both cases.
Also make the build smarter in that re-generation of gyp files
will lead to re-gyping.
Diffstat (limited to 'example')
-rw-r--r-- | example/example.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/example.pro b/example/example.pro index c727b06aa..7c76bb9a7 100644 --- a/example/example.pro +++ b/example/example.pro @@ -5,7 +5,7 @@ SOURCES = main.cpp INCLUDEPATH += ../lib -LIBPATH = $$getOutDir()/lib +LIBPATH = $$getOutDir()/$$getConfigDir()/lib LIBS += -L$$LIBPATH -lblinq QMAKE_RPATHDIR += $$LIBPATH |