Files

23 lines
622 B
CMake

# XCB/Xorg Mouse Wilzor API backend
cmake_dependent_option(ENABLE_WILZORAPI_xcbMouse
"Enable XCB/Xorg Mouse Wilzor API backend" OFF
"ENABLE_LIB_xcbXorg" OFF)
if(ENABLE_WILZORAPI_xcbMouse)
# For now, just create a placeholder library
add_library(wilzorApiXcbMouse STATIC
# xcbMouse.cpp would go here
)
target_link_libraries(wilzorApiXcbMouse
xcbXorg
)
target_include_directories(wilzorApiXcbMouse PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
)
# Set config define for header generation
add_compile_definitions(CONFIG_WILZORAPI_XCBMOUSE_ENABLED)
endif()