build(cmd/deskflow-legacy): Explicit Sources
This commit is contained in:
parent
ad6551262c
commit
08d3347740
1 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||||
#
|
#
|
||||||
|
|
@ -16,14 +17,11 @@
|
||||||
|
|
||||||
set(target ${LEGACY_BINARY_NAME})
|
set(target ${LEGACY_BINARY_NAME})
|
||||||
|
|
||||||
file(GLOB headers "*.h")
|
add_executable(${target} "${target}.cpp")
|
||||||
file(GLOB sources "*.cpp")
|
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
list(APPEND sources ${PROJECT_BINARY_DIR}/src/version.rc)
|
target_sources(${target} PRIVATE "${PROJECT_BINARY_DIR}/src/version.rc")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_executable(${target} ${sources})
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
${target}
|
${target}
|
||||||
app
|
app
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue