diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2010-03-22 17:34:13 +0100 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2010-03-26 13:05:02 +0100 |
commit | 9a87cb5347a888a104cab47c17f05f1f0aa7a133 (patch) | |
tree | 4c247ab28ab0d067a55f90fde1061ad88d05a90f /coroutine.pro | |
parent | 883dee678eca4f55faf3848a248253d4b4b8a40e (diff) |
Use function binding generator from QtConcurrent.
* Copy tools/codegenerator and tools/generatebuild from QtConcurrent
and adapt for Coroutines. This allows coroutines from various callables
to be created with a call to build(...).
* Add initial tests.
* Fix incorrect use of QThreadStorage.
* Fix severe typo in Coroutine::yieldHelper.
Diffstat (limited to 'coroutine.pro')
-rw-r--r-- | coroutine.pro | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/coroutine.pro b/coroutine.pro index 65d9262..f7f039f 100644 --- a/coroutine.pro +++ b/coroutine.pro @@ -1,2 +1,7 @@ TEMPLATE = subdirs SUBDIRS = src + +system(echo "INCLUDEPATH *= $$PWD/src" > use_coroutine.pri) +system(echo "LIBS *= -L$$OUT_PWD/lib" >> use_coroutine.pri) +system(echo "LIBS *= -l$$qtLibraryTarget(coroutine)" >> use_coroutine.pri) +system(echo "unix:LIBS *= -Wl,-rpath,$$OUT_PWD/lib" >> use_coroutine.pri) |