mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-24 06:27:17 +00:00
e658c2e0a2
This change alters the small square dot cursor to a more visible 16x16 cursor for X11. A new option `spice:largeDotCursor` can be set to use an alternative 32x32 cursor for the vision impaired.
27 lines
600 B
CMake
27 lines
600 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
project(lg_resources LANGUAGES C)
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/")
|
|
|
|
include(MakeObject)
|
|
|
|
function(build_resources)
|
|
make_object(
|
|
LG_RESOURCES
|
|
${ARGN}
|
|
)
|
|
set(LG_RESOURCES_OBJS "${LG_RESOURCES_OBJS}" PARENT_SCOPE)
|
|
set(LG_RESOURCES_INCS "${LG_RESOURCES_INCS}" PARENT_SCOPE)
|
|
endfunction()
|
|
|
|
build_resources(
|
|
lg-logo.svg
|
|
status/spice.svg
|
|
status/recording.svg
|
|
no-input-cursor/16.xcur
|
|
no-input-cursor/32.xcur
|
|
)
|
|
|
|
add_library(lg_resources STATIC ${LG_RESOURCES_OBJS})
|
|
set_target_properties(lg_resources PROPERTIES LINKER_LANGUAGE C)
|