mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-20 06:23:48 -07:00
.github
assets
docs
example
hyprctl
CMakeLists.txt
Makefile
Strings.hpp
hyprctl.bash
hyprctl.fish
hyprctl.usage
hyprctl.zsh
main.cpp
meson.build
hyprpm
nix
protocols
scripts
src
subprojects
.clang-format
.clang-format-ignore
.gitattributes
.gitignore
.gitmodules
CMakeLists.txt
CODE_OF_CONDUCT.md
LICENSE
Makefile
README.md
flake.lock
flake.nix
hyprland.pc.in
meson.build
meson_options.txt
props.json
22 lines
622 B
CMake
22 lines
622 B
CMake
cmake_minimum_required(VERSION 3.19)
|
|
|
|
project(
|
|
hyprctl
|
|
DESCRIPTION "Control utility for Hyprland"
|
|
)
|
|
|
|
add_executable(hyprctl "main.cpp")
|
|
|
|
# binary
|
|
install(TARGETS hyprctl)
|
|
|
|
# shell completions
|
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/hyprctl.bash
|
|
DESTINATION ${CMAKE_INSTALL_DATADIR}/bash-completion/completions
|
|
RENAME hyprctl)
|
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/hyprctl.fish
|
|
DESTINATION ${CMAKE_INSTALL_DATADIR}/fish/vendor_completions.d)
|
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/hyprctl.zsh
|
|
DESTINATION ${CMAKE_INSTALL_DATADIR}/zsh/site-functions
|
|
RENAME _hyprctl)
|