build(cmd/deskflow-core):Explicit Sources
This commit is contained in:
parent
08d3347740
commit
968037b85b
1 changed files with 6 additions and 4 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
|
||||||
#
|
#
|
||||||
|
|
@ -15,14 +16,15 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
set(target ${CORE_BINARY_NAME})
|
set(target ${CORE_BINARY_NAME})
|
||||||
set(sources ${target}.cpp)
|
|
||||||
|
|
||||||
|
add_executable(${target} "${target}.cpp")
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
list(APPEND sources ${target}.exe.manifest
|
target_sources(${target} PRIVATE
|
||||||
${PROJECT_BINARY_DIR}/src/version.rc)
|
"${target}.exe.manifest"
|
||||||
|
"${PROJECT_BINARY_DIR}/src/version.rc"
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_executable(${target} ${sources})
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
${target}
|
${target}
|
||||||
arch
|
arch
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue