diff --git a/messagingclient/CMakeLists.txt b/messagingclient/CMakeLists.txt index aef6cea..e4fdbb0 100644 --- a/messagingclient/CMakeLists.txt +++ b/messagingclient/CMakeLists.txt @@ -1,5 +1,3 @@ -project(messagingclient) - set(HEADERS ) diff --git a/messaginglib/CMakeLists.txt b/messaginglib/CMakeLists.txt index dccef22..428c762 100644 --- a/messaginglib/CMakeLists.txt +++ b/messaginglib/CMakeLists.txt @@ -1,5 +1,3 @@ -project(messaginglib) - set(HEADERS dbmsgbase.h dbmsgfieldbase.h @@ -15,7 +13,7 @@ set(SOURCES messages/mymessage.cpp ) -add_library(messaginglib ${HEADERS} ${SOURCES}) +add_library(messaginglib SHARED ${HEADERS} ${SOURCES}) target_compile_definitions(messaginglib PRIVATE MESSAGINGLIB_LIBRARY) diff --git a/messagingserver/CMakeLists.txt b/messagingserver/CMakeLists.txt index 919f3bf..09ce4c9 100644 --- a/messagingserver/CMakeLists.txt +++ b/messagingserver/CMakeLists.txt @@ -1,5 +1,3 @@ -project(messagingserver) - set(HEADERS client.h server.h diff --git a/messagingtest/CMakeLists.txt b/messagingtest/CMakeLists.txt index 231094b..0853bb9 100644 --- a/messagingtest/CMakeLists.txt +++ b/messagingtest/CMakeLists.txt @@ -1,4 +1,3 @@ -project(messagingtest) enable_testing() set(HEADERS