build(lib/ipc): Explicit Sources

This commit is contained in:
sithlord48 2024-10-23 19:58:04 -04:00 committed by Chris Rizzitello
parent 7db781b9bf
commit bf96a641bf

View file

@ -1,4 +1,5 @@
# Deskflow -- mouse and keyboard sharing utility # Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Chris Rizzitello <sithlord48@gmail.com>
# Copyright (C) 2012-2024 Symless Ltd. # Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton # Copyright (C) 2009-2012 Nick Bolton
# #
@ -14,14 +15,22 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
file(GLOB headers "*.h") add_library(ipc STATIC
file(GLOB sources "*.cpp") IpcClient.cpp
IpcClient.h
if(ADD_HEADERS_TO_SOURCES) IpcClientProxy.cpp
list(APPEND sources ${headers}) IpcClientProxy.h
endif() IpcLogOutputter.cpp
IpcLogOutputter.h
add_library(ipc STATIC ${sources}) IpcMessage.cpp
IpcMessage.h
IpcServer.cpp
IpcServer.h
IpcServerProxy.cpp
IpcServerProxy.h
IpcSettingMessage.cpp
IpcSettingMessage.h
)
if(UNIX) if(UNIX)
target_link_libraries( target_link_libraries(