diff options
author | David Wagner <david.wagner@intel.com> | 2014-02-17 15:14:15 +0100 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-17 16:44:14 +0100 |
commit | 3fac6d8f4e0d65a02a478dd32947c74b82b1b7b5 (patch) | |
tree | b0fb0f3fbdc1b1e262c3eb9e415bb8bb30d9432b /remote-processor | |
parent | 4ff62d67aaf128546af2b4a4ec728a1c731998d0 (diff) | |
download | external_parameter-framework-3fac6d8f4e0d65a02a478dd32947c74b82b1b7b5.zip external_parameter-framework-3fac6d8f4e0d65a02a478dd32947c74b82b1b7b5.tar.gz external_parameter-framework-3fac6d8f4e0d65a02a478dd32947c74b82b1b7b5.tar.bz2 |
Add CMake Makefiles
1) Generate the Makefiles with "cmake";
2) compile all targets with "make".
Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'remote-processor')
-rw-r--r-- | remote-processor/CMakeLists.txt | 14 |
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}) |