[server,sample] provide sample-icons formats
provide the cursor icon in different formats.
This commit is contained in:
parent
31763e2f80
commit
eb8b2828dc
@ -48,8 +48,21 @@ if (WIN32)
|
|||||||
set ( SRCS ${SRCS} ${CMAKE_CURRENT_BINARY_DIR}/version.rc)
|
set ( SRCS ${SRCS} ${CMAKE_CURRENT_BINARY_DIR}/version.rc)
|
||||||
endif()
|
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
|
# 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})
|
add_executable(${MODULE_NAME} ${SRCS})
|
||||||
if (WITH_BINARY_VERSIONING)
|
if (WITH_BINARY_VERSIONING)
|
||||||
|
BIN
server/Sample/test_icon.bmp
Normal file
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
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
BIN
server/Sample/test_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.0 KiB |
BIN
server/Sample/test_icon.webp
Normal file
BIN
server/Sample/test_icon.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
Loading…
Reference in New Issue
Block a user