cmake_minimum_required(VERSION 3.10) project(sttracker) set(CMAKE_CXX_STANDARD 14) # Specify the path to the Hyprland API headers include_directories(Hyprland/src/) # Add the source file add_library(sttracker SHARED main.cpp) # If the Hyprland API is a library, link against it target_link_libraries(sttracker /path/to/hyprland/api/library)