chore: windows, set icon for deskflow-core
This commit is contained in:
parent
610786ad2e
commit
cad1243d75
1 changed files with 3 additions and 1 deletions
|
|
@ -9,10 +9,12 @@ add_executable(${target} "${target}.cpp")
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
# Generate rc file
|
# Generate rc file
|
||||||
set(EXE_DESCRIPTION "${CMAKE_PROJECT_DESCRIPTION}\\n CLI combined server and client")
|
set(EXE_DESCRIPTION "${CMAKE_PROJECT_DESCRIPTION}\\n CLI combined server and client")
|
||||||
|
set(EXE_ICON "IDI_DESKFLOW ICON DISCARDABLE \"${CMAKE_SOURCE_DIR}/src/apps/res/deskflow.ico\"")
|
||||||
configure_file(${CMAKE_SOURCE_DIR}/src/apps/res/windows.rc.in ${target}.rc)
|
configure_file(${CMAKE_SOURCE_DIR}/src/apps/res/windows.rc.in ${target}.rc)
|
||||||
|
|
||||||
target_sources(${target} PRIVATE
|
target_sources(${target} PRIVATE
|
||||||
"${target}.exe.manifest"
|
${target}.exe.manifest
|
||||||
|
${CMAKE_SOURCE_DIR}/src/apps/res/deskflow.ico
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/${target}.rc
|
${CMAKE_CURRENT_BINARY_DIR}/${target}.rc
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue