summaryrefslogtreecommitdiffstats
path: root/remote-processor
diff options
context:
space:
mode:
Diffstat (limited to 'remote-processor')
-rw-r--r--remote-processor/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/remote-processor/CMakeLists.txt b/remote-processor/CMakeLists.txt
new file mode 100644
index 0000000..5cecf98
--- /dev/null
+++ b/remote-processor/CMakeLists.txt
@@ -0,0 +1,14 @@
+add_library(remote-processor SHARED
+ Socket.cpp
+ ListeningSocket.cpp
+ ConnectionSocket.cpp
+ Message.cpp
+ RequestMessage.cpp
+ AnswerMessage.cpp
+ RemoteProcessorServer.cpp
+ RemoteProcessorServerBuilder.cpp)
+
+include(FindThreads)
+# TODO: use the "prefer pthread" option; check if we are using pthread (what to
+# do else ?)
+target_link_libraries(remote-processor ${CMAKE_THREAD_LIBS_INIT})