Fixes: get tests compiling again that depend on the cpp library

Details:  This gets the tests running again, by statically linking
them. qmake doesn't have support for depending upon other projects
being built, so when the projects are built out of order, libCPlusPlusTest.so
wasn't being built before trying to be linked against.
This commit is contained in:
Bill King
2010-08-18 12:09:42 +10:00
parent f4392afc9a
commit 5b2fb4bb67
3 changed files with 1 additions and 7 deletions

View File

@@ -2,7 +2,6 @@ TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = \
shared \
ast \
semantic \
lookup \

View File

@@ -2,4 +2,4 @@ DEFINES+=CPLUSPLUS_BUILD_STATIC_LIB
include(../../../../qtcreator.pri)
INCLUDEPATH += $$IDE_SOURCE_TREE/src/libs/cplusplus
INCLUDEPATH += $$IDE_SOURCE_TREE/src/shared/cplusplus
LIBS += -L$$OUT_PWD/../shared -lCPlusPlusTestSupport
include($$PWD/../../../../src/libs/cplusplus/cplusplus-lib.pri)

View File

@@ -1,5 +0,0 @@
TEMPLATE = lib
TARGET = CPlusPlusTestSupport
CONFIG += static depend_includepath
QT = core gui
include($$PWD/../../../../src/libs/cplusplus/cplusplus-lib.pri)