diff options
Diffstat (limited to 'demos/shared/shared.pri')
-rw-r--r-- | demos/shared/shared.pri | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/demos/shared/shared.pri b/demos/shared/shared.pri new file mode 100644 index 0000000..b551595 --- /dev/null +++ b/demos/shared/shared.pri @@ -0,0 +1,20 @@ +INCLUDEPATH += $$SHARED_FOLDER + +build_all:!build_pass { + CONFIG -= build_all + CONFIG += release +} +contains(CONFIG, debug_and_release_target) { + CONFIG(debug, debug|release) { + LIBS+=-L$$SHARED_FOLDER/debug + } else { + LIBS+=-L$$SHARED_FOLDER/release + } +} else { + LIBS += -L$$SHARED_FOLDER +} + +hpux-acc*:LIBS += $$SHARED_FOLDER/libdemo_shared.a +hpuxi-acc*:LIBS += $$SHARED_FOLDER/libdemo_shared.a +!hpuxi-acc*:!hpux-acc*:LIBS += -ldemo_shared + |