From 664396b0e550910cea50b7852066a04cc7fec3bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Sun, 14 Dec 2014 12:59:22 +0100 Subject: Async: make the processing truly asynchronous Now calling exec() starts the first job and returns a pending Future immediately. Caller can then use Async::FutureWatcher to wait for the future to become finished, i.e. for all jobs to finish execution. --- async/src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'async/src/CMakeLists.txt') diff --git a/async/src/CMakeLists.txt b/async/src/CMakeLists.txt index a98d8ce..a371da0 100644 --- a/async/src/CMakeLists.txt +++ b/async/src/CMakeLists.txt @@ -1,5 +1,8 @@ +include_directories(${CMAKE_CURRENT_BINARY_DIR}) + set(async_SRCS async.cpp + future.cpp ) add_library(akonadi2async SHARED ${async_SRCS}) -- cgit v1.2.3