[server,sample] provide sample-icons formats

provide the cursor icon in different formats.
This commit is contained in:
akallabeth 2024-02-07 09:39:43 +01:00 committed by akallabeth
parent 31763e2f80
commit eb8b2828dc
5 changed files with 14 additions and 1 deletions

View File

@ -48,8 +48,21 @@ if (WIN32)
set ( SRCS ${SRCS} ${CMAKE_CURRENT_BINARY_DIR}/version.rc)
endif()
set(SAMPLE_RESOURCE_ROOT ${CMAKE_INSTALL_FULL_DATAROOTDIR}/FreeRDP/images)
if (WITH_BINARY_VERSIONING)
string(APPEND SAMPLE_RESOURCE_ROOT "${PROJECT_VERSION_MAJOR}")
endif()
set(SAMPLE_ICONS
test_icon.bmp
test_icon.png
test_icon.jpg
test_icon.webp
)
install(FILES ${SAMPLE_ICONS} DESTINATION ${SAMPLE_RESOURCE_ROOT})
# We need this in runtime path for TestConnect
file(COPY test_icon.ppm DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
file(COPY test_icon.bmp DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
add_executable(${MODULE_NAME} ${SRCS})
if (WITH_BINARY_VERSIONING)

BIN
server/Sample/test_icon.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
server/Sample/test_icon.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
server/Sample/test_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB