build(cmd/deskflowd): Explicit Sources

This commit is contained in:
sithlord48 2024-10-23 21:20:23 -04:00 committed by Chris Rizzitello
parent 04d6895990
commit 337d236f54

View file

@ -1,4 +1,5 @@
# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Chris Rizzitello <sithlord48@gmail.com>
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@ -15,14 +16,12 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
set(target ${DAEMON_BINARY_NAME})
file(GLOB headers "*.h")
file(GLOB sources "*.cpp")
# Daemon is only needed on Windows for elevating processes to deal with UAC.
if(WIN32)
add_executable(${target} WIN32 ${sources}
${PROJECT_BINARY_DIR}/src/version.rc)
add_executable(${target} WIN32
deskflowd.cpp
"${PROJECT_BINARY_DIR}/src/version.rc"
)
target_link_libraries(
${target}